Home
last modified time | relevance | path

Searched refs:surfaceProps (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/skia/include/core/
DSkSurface.h75 const SkSurfaceProps* surfaceProps = nullptr);
109 void* context, const SkSurfaceProps* surfaceProps = nullptr);
132 const SkSurfaceProps* surfaceProps);
174 const SkSurfaceProps* surfaceProps = nullptr);
217 const SkSurfaceProps* surfaceProps,
251 const SkSurfaceProps* surfaceProps,
284 const SkSurfaceProps* surfaceProps,
310 const SkSurfaceProps* surfaceProps) { in MakeRenderTarget() argument
313 kBottomLeft_GrSurfaceOrigin, surfaceProps); in MakeRenderTarget()
383 const SkSurfaceProps* surfaceProps);
[all …]
DSkSurfaceCharacterization.h115 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
141 const SkSurfaceProps& surfaceProps) in SkSurfaceCharacterization() argument
154 , fSurfaceProps(surfaceProps) { in SkSurfaceCharacterization()
174 const SkSurfaceProps& surfaceProps) { in set() argument
175 if (surfaceProps.flags() & SkSurfaceProps::kDynamicMSAA_Flag) { in set()
192 fSurfaceProps = surfaceProps; in set()
255 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
/third_party/flutter/skia/include/core/
DSkSurface.h66 const SkSurfaceProps* surfaceProps = nullptr);
95 void* context, const SkSurfaceProps* surfaceProps = nullptr);
119 const SkSurfaceProps* surfaceProps);
161 const SkSurfaceProps* surfaceProps = nullptr);
207 const SkSurfaceProps* surfaceProps,
246 const SkSurfaceProps* surfaceProps,
286 const SkSurfaceProps* surfaceProps);
313 const SkSurfaceProps* surfaceProps);
347 const SkSurfaceProps* surfaceProps,
374 const SkSurfaceProps* surfaceProps) { in MakeRenderTarget() argument
[all …]
DSkSurfaceCharacterization.h86 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
111 const SkSurfaceProps& surfaceProps) in SkSurfaceCharacterization() argument
123 , fSurfaceProps(surfaceProps) { in SkSurfaceCharacterization()
138 const SkSurfaceProps& surfaceProps) { in set() argument
159 fSurfaceProps = surfaceProps; in set()
207 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
/third_party/flutter/skia/docs/examples/
DCanvas_getProps.cpp10 SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); in draw() local
11 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
12 if (!canvas.getProps(&surfaceProps)) { in draw()
15 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
/third_party/skia/docs/examples/
DCanvas_getProps.cpp10 SkSurfaceProps surfaceProps(0, kUnknown_SkPixelGeometry); in draw() local
11 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
12 if (!canvas.getProps(&surfaceProps)) { in draw()
15 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
/third_party/flutter/skia/src/core/
DSkStrikeSpec.cpp17 const SkSurfaceProps& surfaceProps, in MakeMask() argument
22 storage.commonSetup(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask()
28 const SkSurfaceProps& surfaceProps, in MakePath() argument
43 storage.commonSetup(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()); in MakePath()
51 const SkSurfaceProps& surfaceProps, in MakeSourceFallback() argument
74 storage.commonSetup(fallbackFont, paint, surfaceProps, scalerContextFlags, SkMatrix::I()); in MakeSourceFallback()
181 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
197 storage.commonSetup(dfFont, dfPaint, surfaceProps, flags, SkMatrix::I()); in MakeSDFT()
208 const SkSurfaceProps& surfaceProps, in commonSetup() argument
214 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in commonSetup()
DSkStrikeSpec.h31 const SkSurfaceProps& surfaceProps,
39 const SkSurfaceProps& surfaceProps,
44 const SkSurfaceProps& surfaceProps,
67 const SkSurfaceProps& surfaceProps,
87 const SkSurfaceProps& surfaceProps,
DSkBitmapDevice.h56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
175 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps() argument
177 ? fLazy.init(surfaceProps.flags(), kUnknown_SkPixelGeometry) in SkBitmapDeviceFilteredSurfaceProps()
178 : &surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
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() argument
294 return new SkBitmapDevice(bitmap, surfaceProps, hndl, trackCoverage ? &coverage : nullptr); in Create()
305 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice() local
306 return SkBitmapDevice::Create(cinfo.fInfo, surfaceProps, cinfo.fTrackCoverage, in onCreateDevice()
724 return SkSpecialImage::CopyFromRaster(bounds, fBitmap, &this->surfaceProps()); in snapBackImage()
/third_party/skia/src/core/
DSkStrikeSpec.cpp31 const SkSurfaceProps& surfaceProps, in MakeMask() argument
35 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix); in MakeMask()
40 const SkSurfaceProps& surfaceProps, in MakePath() argument
54 return {SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakePath()
61 const SkSurfaceProps& surfaceProps, in MakeSourceFallback() argument
85 return {SkStrikeSpec(fallbackFont, paint, surfaceProps, scalerContextFlags, SkMatrix::I()), in MakeSourceFallback()
176 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
190 SkStrikeSpec strikeSpec(dfFont, dfPaint, surfaceProps, flags, SkMatrix::I()); in MakeSDFT()
201 const SkSurfaceProps& surfaceProps, in SkStrikeSpec() argument
207 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in SkStrikeSpec()
DSkStrikeSpec.h44 const SkSurfaceProps& surfaceProps,
52 const SkSurfaceProps& surfaceProps,
58 const SkSurfaceProps& surfaceProps,
77 const SkSurfaceProps& surfaceProps,
104 const SkSurfaceProps& surfaceProps,
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() argument
294 return new SkBitmapDevice(bitmap, surfaceProps, hndl, trackCoverage ? &coverage : nullptr); in Create()
305 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice() local
316 return SkBitmapDevice::Create(info, surfaceProps, cinfo.fTrackCoverage, cinfo.fAllocator); in onCreateDevice()
609 return SkSpecialImage::MakeFromRaster(bitmap.bounds(), bitmap, this->surfaceProps()); in makeSpecial()
614 image->makeNonTextureImage(), this->surfaceProps()); in makeSpecial()
[all …]
DSkBitmapDevice.h56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
170 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps() argument
172 ? fLazy.init(surfaceProps.flags(), kUnknown_SkPixelGeometry) in SkBitmapDeviceFilteredSurfaceProps()
173 : &surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
/third_party/flutter/skia/src/gpu/
DGrRecordingContext.cpp220 const SkSurfaceProps* surfaceProps, in makeDeferredRenderTargetContext() argument
257 std::move(rtp), colorType, std::move(colorSpace), surfaceProps); in makeDeferredRenderTargetContext()
297 const SkSurfaceProps* surfaceProps, in makeDeferredRenderTargetContextWithFallback() argument
304 sampleCnt, mipMapped, origin, surfaceProps, in makeDeferredRenderTargetContextWithFallback()
363 const SkSurfaceProps* surfaceProps, in makeDeferredRenderTargetContext() argument
368 origin, surfaceProps, budgeted, isProtected); in makeDeferredRenderTargetContext()
380 const SkSurfaceProps* surfaceProps, in makeDeferredRenderTargetContextWithFallback() argument
391 surfaceProps, in makeDeferredRenderTargetContextWithFallback()
DGrContextPriv.cpp84 const SkSurfaceProps* surfaceProps, in makeDeferredRenderTargetContext() argument
89 origin, surfaceProps, budgeted, isProtected); in makeDeferredRenderTargetContext()
95 GrSurfaceOrigin origin, const SkSurfaceProps* surfaceProps, SkBudgeted budgeted) { in makeDeferredRenderTargetContextWithFallback() argument
98 surfaceProps, budgeted); in makeDeferredRenderTargetContextWithFallback()
146 const SkSurfaceProps* surfaceProps, in makeBackendRenderTargetRenderTargetContext() argument
158 std::move(colorSpace), surfaceProps); in makeBackendRenderTargetRenderTargetContext()
DGrContextThreadSafeProxy.cpp39 const SkSurfaceProps& surfaceProps, in createCharacterization() argument
106 surfaceProps); in createCharacterization()
/third_party/skia/src/effects/imagefilters/
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()
/third_party/flutter/skia/gm/
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/gm/
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/
DSkSurface_GpuMtl.mm35 const SkSurfaceProps* surfaceProps,
90 SkSurfacePropsCopyOrDefault(surfaceProps),
105 const SkSurfaceProps* surfaceProps) {
159 SkSurfacePropsCopyOrDefault(surfaceProps),
/third_party/skia/tools/skottie_ios_app/
DSkMetalViewBridge.mm25 const SkSurfaceProps surfaceProps;
29 colorType, colorSpace, &surfaceProps);
/third_party/flutter/skia/tests/
DCTest.cpp64 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
67 &surfaceProps); in test_c()
/third_party/skia/tests/
DCTest.cpp64 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
67 &surfaceProps); in test_c()
/third_party/flutter/skia/include/private/
DGrRecordingContext.h97 const SkSurfaceProps* surfaceProps = nullptr,
116 const SkSurfaceProps* surfaceProps = nullptr,

1234