Home
last modified time | relevance | path

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

123

/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/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/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()
DSkImageFilter.cpp591 const SkSurfaceProps& surfaceProps, in DrawWithFP() argument
618 surfaceProps); in DrawWithFP()
624 const SkSurfaceProps& surfaceProps) { in ImageToColorSpace() argument
640 kPremul_SkAlphaType, surfaceProps)); in ImageToColorSpace()
/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()
DSkMagnifierImageFilter.cpp207 ctx.surfaceProps(), isProtected); in onFilterImage()
276 dst, ctx.surfaceProps()); in onFilterImage()
/third_party/skia/src/image/
DSkSurface_GpuMtl.mm35 const SkSurfaceProps* surfaceProps,
90 SkSurfacePropsCopyOrDefault(surfaceProps),
105 const SkSurfaceProps* surfaceProps) {
159 SkSurfacePropsCopyOrDefault(surfaceProps),
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() argument
690 origin, 0, colorType, std::move(colorSpace), surfaceProps, deleteImageProc, in MakeFromAHardwareBuffer()
DSkSurface_Raster.cpp196 const SkSurfaceProps* surfaceProps) { in MakeRasterN32Premul() argument
197 return MakeRaster(SkImageInfo::MakeN32Premul(width, height), surfaceProps); in MakeRasterN32Premul()
/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/tools/skottie_ios_app/
DSkMetalViewBridge.mm25 const SkSurfaceProps surfaceProps;
29 colorType, colorSpace, &surfaceProps);
DSkiaGLContext.mm28 static const SkSurfaceProps surfaceProps;
44 &surfaceProps);
/third_party/skia/tests/
DCTest.cpp64 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
67 &surfaceProps); in test_c()
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/samplecode/
DSampleTextureUpload.cpp35 SkSurfaceProps surfaceProps(0, kRGB_H_SkPixelGeometry); in RenderTargetTexture() local
39 &surfaceProps); in RenderTargetTexture()
/third_party/skia/src/gpu/
DGrContextThreadSafeProxy.cpp53 const SkSurfaceProps& surfaceProps, in createCharacterization() argument
137 surfaceProps); in createCharacterization()
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp185 characterization.surfaceProps() == fDevice->surfaceProps(); in isCompatible()
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp177 SkSurfaceProps surfaceProps = gen_fuzzed_surface_props(fuzz); in make_surface() local
179 &surfaceProps); in make_surface()
/third_party/skia/src/gpu/v1/
DDevice.cpp117 const SkSurfaceProps& surfaceProps, in Make() argument
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()
DSurfaceDrawContext.cpp131 const SkSurfaceProps& surfaceProps, in Make() argument
149 surfaceProps, in Make()
166 const SkSurfaceProps& surfaceProps) { in Make() argument
196 surfaceProps); in Make()
207 const SkSurfaceProps& surfaceProps, in Make() argument
238 surfaceProps); in Make()
247 const SkSurfaceProps& surfaceProps, in MakeWithFallback() argument
258 return SurfaceDrawContext::Make(rContext, ct, colorSpace, fit, dimensions, surfaceProps, in MakeWithFallback()
269 const SkSurfaceProps& surfaceProps, in MakeFromBackendTexture() argument
280 origin, surfaceProps); in MakeFromBackendTexture()
[all …]
/third_party/skia/experimental/graphite/src/
DSurface_Graphite.cpp18 : SkSurface_Base(device->width(), device->height(), &device->surfaceProps()) in Surface_Graphite()

123