Home
last modified time | relevance | path

Searched refs:surfaceProps (Results 1 - 25 of 52) sorted by relevance

123

/third_party/skia/include/core/
H A DSkSurface.h69 @param surfaceProps LCD striping orientation and setting for device independent fonts;
75 const SkSurfaceProps* surfaceProps = nullptr);
102 @param surfaceProps LCD striping orientation and setting for device independent fonts;
109 void* context, const SkSurfaceProps* surfaceProps = nullptr);
127 @param surfaceProps LCD striping orientation and setting for device independent fonts;
132 const SkSurfaceProps* surfaceProps);
169 @param surfaceProps LCD striping orientation and setting for device independent
174 const SkSurfaceProps* surfaceProps = nullptr);
206 @param surfaceProps LCD striping orientation and setting for device independent
217 const SkSurfaceProps* surfaceProps,
308 MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, const SkImageInfo& imageInfo, int sampleCount, const SkSurfaceProps* surfaceProps) MakeRenderTarget() argument
[all...]
H A DSkSurfaceCharacterization.h115 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function in SkSurfaceCharacterization::Textureable::MipMapped::UsesGLFBO0::VkRTSupportsInputAttachment::VulkanSecondaryCBCompatible
141 const SkSurfaceProps& surfaceProps) in SkSurfaceCharacterization()
154 , fSurfaceProps(surfaceProps) { in SkSurfaceCharacterization()
174 const SkSurfaceProps& surfaceProps) { in set()
175 if (surfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag) { in set()
192 fSurfaceProps = surfaceProps; in set()
255 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function in SkSurfaceCharacterization::Textureable::MipMapped::UsesGLFBO0::VkRTSupportsInputAttachment::SkSurfaceCharacterization
129 SkSurfaceCharacterization(sk_sp<GrContextThreadSafeProxy> contextInfo, size_t cacheMaxResourceBytes, const SkImageInfo& ii, const GrBackendFormat& backendFormat, GrSurfaceOrigin origin, int sampleCnt, Textureable isTextureable, MipMapped isMipMapped, UsesGLFBO0 usesGLFBO0, VkRTSupportsInputAttachment vkRTSupportsInputAttachment, VulkanSecondaryCBCompatible vulkanSecondaryCBCompatible, GrProtected isProtected, const SkSurfaceProps& surfaceProps) SkSurfaceCharacterization() argument
162 set(sk_sp<GrContextThreadSafeProxy> contextInfo, size_t cacheMaxResourceBytes, const SkImageInfo& ii, const GrBackendFormat& backendFormat, GrSurfaceOrigin origin, int sampleCnt, Textureable isTextureable, MipMapped isMipMapped, UsesGLFBO0 usesGLFBO0, VkRTSupportsInputAttachment vkRTSupportsInputAttachment, VulkanSecondaryCBCompatible vulkanSecondaryCBCompatible, GrProtected isProtected, const SkSurfaceProps& surfaceProps) set() argument
/third_party/skia/docs/examples/
H A DCanvas_getProps.cpp10 SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); in REG_FIDDLE()
11 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in REG_FIDDLE()
12 if (!canvas.getProps(&surfaceProps)) { in REG_FIDDLE()
15 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in REG_FIDDLE()
/third_party/skia/src/core/
H A DSkStrikeSpec.cpp31 const SkSurfaceProps& surfaceProps, in MakeMask()
35 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask()
40 const SkSurfaceProps& surfaceProps, in MakePath()
54 return {SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakePath()
61 const SkSurfaceProps& surfaceProps, in MakeSourceFallback()
85 return {SkStrikeSpec(fallbackFont, paint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakeSourceFallback()
176 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT()
190 SkStrikeSpec strikeSpec(dfFont, dfPaint, surfaceProps, flags, SkMatrix::I()); in MakeSDFT()
201 const SkSurfaceProps& surfaceProps, in SkStrikeSpec()
207 font, paint, surfaceProps, scalerContextFlag in SkStrikeSpec()
30 MakeMask(const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps, SkScalerContextFlags scalerContextFlags, const SkMatrix& deviceMatrix) MakeMask() argument
38 MakePath( const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps, SkScalerContextFlags scalerContextFlags) MakePath() argument
58 MakeSourceFallback( const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps, SkScalerContextFlags scalerContextFlags, SkScalar maxSourceGlyphDimension) MakeSourceFallback() argument
175 MakeSDFT(const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, const GrSDFTControl& control) MakeSDFT() argument
200 SkStrikeSpec(const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps, SkScalerContextFlags scalerContextFlags, const SkMatrix& deviceMatrix) SkStrikeSpec() argument
[all...]
H A DSkStrikeSpec.h44 const SkSurfaceProps& surfaceProps,
52 const SkSurfaceProps& surfaceProps,
58 const SkSurfaceProps& surfaceProps,
77 const SkSurfaceProps& surfaceProps,
104 const SkSurfaceProps& surfaceProps,
H A DSkBitmapDevice.h57 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
173 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
175 ? fLazy.init(surfaceProps.flags(), kUnknown_SkPixelGeometry) in SkBitmapDeviceFilteredSurfaceProps()
176 : &surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
172 SkBitmapDeviceFilteredSurfaceProps(const SkBitmap& bitmap, const SkPaint& paint, const SkSurfaceProps& surfaceProps) SkBitmapDeviceFilteredSurfaceProps() argument
H A DSkBitmapDevice.cpp219 , fGlyphPainter(this->surfaceProps(), in SkBitmapDevice()
230 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps, in SkBitmapDevice() argument
232 : INHERITED(bitmap.info(), surfaceProps) in SkBitmapDevice()
236 , fGlyphPainter(this->surfaceProps(), in SkBitmapDevice()
250 const SkSurfaceProps& surfaceProps, in Create()
294 return new SkBitmapDevice(bitmap, surfaceProps, hndl, trackCoverage ? &coverage : nullptr); in Create()
305 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice()
316 return SkBitmapDevice::Create(info, surfaceProps, cinfo.fTrackCoverage, cinfo.fAllocator); in onCreateDevice()
609 return SkSpecialImage::MakeFromRaster(bitmap.bounds(), bitmap, this->surfaceProps()); in makeSpecial()
249 Create(const SkImageInfo& origInfo, const SkSurfaceProps& surfaceProps, bool trackCoverage, SkRasterHandleAllocator* allocator) Create() argument
[all...]
H A DSkImageFilter.cpp591 const SkSurfaceProps& surfaceProps, in DrawWithFP()
618 surfaceProps); in DrawWithFP()
624 const SkSurfaceProps& surfaceProps) { in ImageToColorSpace()
640 kPremul_SkAlphaType, surfaceProps)); in ImageToColorSpace()
586 DrawWithFP(GrRecordingContext* rContext, std::unique_ptr<GrFragmentProcessor> fp, const SkIRect& bounds, SkColorType colorType, const SkColorSpace* colorSpace, const SkSurfaceProps& surfaceProps, GrProtected isProtected) DrawWithFP() argument
621 ImageToColorSpace(SkSpecialImage* src, SkColorType colorType, SkColorSpace* colorSpace, const SkSurfaceProps& surfaceProps) ImageToColorSpace() argument
/third_party/skia/src/effects/imagefilters/
H A DSkAlphaThresholdImageFilter.cpp108 const SkSurfaceProps& surfaceProps) const { in createMaskTexture()
112 surfaceProps); in createMaskTexture()
206 ctx.surfaceProps()); in onFilterImage()
230 ctx.colorSpace(), ctx.surfaceProps(), isProtected); in onFilterImage()
303 dst, ctx.surfaceProps()); in onFilterImage()
H A DSkMagnifierImageFilter.cpp207 ctx.surfaceProps(), isProtected); in onFilterImage()
276 dst, ctx.surfaceProps()); in onFilterImage()
H A DSkBlurImageFilter.cpp752 dst, ctx.surfaceProps()); in copy_image_with_bounds()
879 dst, ctx.surfaceProps()); in cpu_blur()
937 ctx.surfaceProps()); in onFilterImage()
1003 ctx.surfaceProps()); in gpuFilter()
/third_party/skia/gm/
H A Dcgm.c60 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in sk_test_c_api() local
61 sk_surface_t* surf = sk_surface_new_raster(info, &surfaceProps); in sk_test_c_api()
/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp38 : INHERITED(device->width(), device->height(), &device->surfaceProps()) in SkSurface_Gpu()
380 characterization.surfaceProps() == fDevice->surfaceProps(); in onIsCompatible()
419 c.isProtected(), c.origin(), c.surfaceProps(), in MakeRenderTarget()
650 const SkSurfaceProps* surfaceProps) { in MakeFromAHardwareBuffer()
690 origin, 0, colorType, std::move(colorSpace), surfaceProps, deleteImageProc, in MakeFromAHardwareBuffer()
646 MakeFromAHardwareBuffer(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, GrSurfaceOrigin origin, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps* surfaceProps) MakeFromAHardwareBuffer() argument
H A DSkSurface_Raster.cpp196 const SkSurfaceProps* surfaceProps) { in MakeRasterN32Premul()
197 return MakeRaster(SkImageInfo::MakeN32Premul(width, height), surfaceProps); in MakeRasterN32Premul()
195 MakeRasterN32Premul(int width, int height, const SkSurfaceProps* surfaceProps) MakeRasterN32Premul() argument
/third_party/skia/samplecode/
H A DSampleTextureUpload.cpp35 SkSurfaceProps surfaceProps(0, kRGB_H_SkPixelGeometry); in RenderTargetTexture()
39 &surfaceProps); in RenderTargetTexture()
/third_party/skia/tests/
H A DCTest.cpp64 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
67 &surfaceProps); in test_c()
H A DVkProtectedContextTest.cpp31 SkSurfaceProps surfaceProps = SkSurfaceProps(0, kRGB_H_SkPixelGeometry); in create_protected_sksurface() local
42 &surfaceProps); in create_protected_sksurface()
51 &surfaceProps); in create_protected_sksurface()
/third_party/skia/src/gpu/
H A DGrContextThreadSafeProxy.cpp53 const SkSurfaceProps& surfaceProps, in createCharacterization()
137 surfaceProps); in createCharacterization()
49 createCharacterization( size_t cacheMaxResourceBytes, const SkImageInfo& ii, const GrBackendFormat& backendFormat, int sampleCnt, GrSurfaceOrigin origin, const SkSurfaceProps& surfaceProps, bool isMipMapped, bool willUseGLFBO0, bool isTextureable, GrProtected isProtected, bool vkRTSupportsInputAttachment, bool forVulkanSecondaryCommandBuffer) createCharacterization() argument
H A DBaseDevice.cpp95 this->surfaceProps()); in replaceBackingProxy()
/third_party/skia/src/gpu/vk/
H A DGrVkSecondaryCBDrawContext.cpp185 characterization.surfaceProps() == fDevice->surfaceProps(); in isCompatible()
/third_party/skia/src/gpu/v1/
H A DSurfaceDrawContext.cpp133 const SkSurfaceProps& surfaceProps, in Make()
151 surfaceProps, in Make()
168 const SkSurfaceProps& surfaceProps) { in Make()
198 surfaceProps); in Make()
209 const SkSurfaceProps& surfaceProps, in Make()
240 surfaceProps); in Make()
249 const SkSurfaceProps& surfaceProps, in MakeWithFallback()
260 return SurfaceDrawContext::Make(rContext, ct, colorSpace, fit, dimensions, surfaceProps, in MakeWithFallback()
271 const SkSurfaceProps& surfaceProps, in MakeFromBackendTexture()
282 origin, surfaceProps); in MakeFromBackendTexture()
128 Make(GrRecordingContext* rContext, GrColorType colorType, sk_sp<GrSurfaceProxy> proxy, sk_sp<SkColorSpace> colorSpace, GrSurfaceOrigin origin, const SkSurfaceProps& surfaceProps, bool flushTimeOpsTask) Make() argument
155 Make( GrRecordingContext* rContext, sk_sp<SkColorSpace> colorSpace, SkBackingFit fit, SkISize dimensions, const GrBackendFormat& format, int sampleCnt, GrMipmapped mipMapped, GrProtected isProtected, GrSwizzle readSwizzle, GrSwizzle writeSwizzle, GrSurfaceOrigin origin, SkBudgeted budgeted, const SkSurfaceProps& surfaceProps) Make() argument
203 Make( GrRecordingContext* rContext, GrColorType colorType, sk_sp<SkColorSpace> colorSpace, SkBackingFit fit, SkISize dimensions, const SkSurfaceProps& surfaceProps, int sampleCnt, GrMipmapped mipMapped, GrProtected isProtected, GrSurfaceOrigin origin, SkBudgeted budgeted) Make() argument
243 MakeWithFallback( GrRecordingContext* rContext, GrColorType colorType, sk_sp<SkColorSpace> colorSpace, SkBackingFit fit, SkISize dimensions, const SkSurfaceProps& surfaceProps, int sampleCnt, GrMipmapped mipMapped, GrProtected isProtected, GrSurfaceOrigin origin, SkBudgeted budgeted) MakeWithFallback() argument
264 MakeFromBackendTexture( GrRecordingContext* rContext, GrColorType colorType, sk_sp<SkColorSpace> colorSpace, const GrBackendTexture& tex, int sampleCnt, GrSurfaceOrigin origin, const SkSurfaceProps& surfaceProps, sk_sp<GrRefCntedCallback> releaseHelper) MakeFromBackendTexture() argument
289 SurfaceDrawContext(GrRecordingContext* rContext, GrSurfaceProxyView readView, GrSurfaceProxyView writeView, GrColorType colorType, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps& surfaceProps, bool flushTimeOpsTask) SurfaceDrawContext() argument
[all...]
H A DDevice.cpp117 const SkSurfaceProps& surfaceProps, in Make()
124 surfaceProps); in Make()
183 sdc->surfaceProps()) in Device()
666 this->surfaceProps()); in makeSpecial()
683 this->surfaceProps()); in makeSpecial()
736 this->surfaceProps()); in snapSpecial()
997 SkSurfaceProps props(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice()
112 Make(GrRecordingContext* rContext, GrColorType colorType, sk_sp<GrSurfaceProxy> proxy, sk_sp<SkColorSpace> colorSpace, GrSurfaceOrigin origin, const SkSurfaceProps& surfaceProps, InitContents init) Make() argument
/third_party/skia/experimental/graphite/src/
H A DSurface_Graphite.cpp18 : SkSurface_Base(device->width(), device->height(), &device->surfaceProps()) in Surface_Graphite()
/third_party/skia/fuzz/
H A DFuzzCreateDDL.cpp177 SkSurfaceProps surfaceProps = gen_fuzzed_surface_props(fuzz); in make_surface() local
179 &surfaceProps); in make_surface()
/third_party/skia/include/gpu/
H A DGrContextThreadSafeProxy.h65 * @param surfaceProps The surface properties of the SkSurface that the DDL
91 const SkSurfaceProps& surfaceProps,

Completed in 17 milliseconds

123