Home
last modified time | relevance | path

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

1234

/external/skqp/include/core/
DSkSurface.h71 const SkSurfaceProps* surfaceProps = nullptr);
100 void* context, const SkSurfaceProps* surfaceProps = nullptr);
124 const SkSurfaceProps* surfaceProps);
166 const SkSurfaceProps* surfaceProps = nullptr) {
167 return MakeRaster(SkImageInfo::MakeN32Premul(width, height), surfaceProps);
203 const SkSurfaceProps* surfaceProps);
237 const SkSurfaceProps* surfaceProps);
275 const SkSurfaceProps* surfaceProps);
308 const SkSurfaceProps* surfaceProps,
738 SkSurface(int width, int height, const SkSurfaceProps* surfaceProps);
[all …]
DSkSurfaceCharacterization.h85 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
104 const SkSurfaceProps& surfaceProps) in SkSurfaceCharacterization() argument
116 , fSurfaceProps(surfaceProps) { in SkSurfaceCharacterization()
130 const SkSurfaceProps& surfaceProps) { in set() argument
151 fSurfaceProps = surfaceProps; in set()
197 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
/external/skia/include/core/
DSkSurface.h72 const SkSurfaceProps* surfaceProps = nullptr);
106 void* context, const SkSurfaceProps* surfaceProps = nullptr);
129 const SkSurfaceProps* surfaceProps);
171 const SkSurfaceProps* surfaceProps = nullptr);
214 const SkSurfaceProps* surfaceProps,
248 const SkSurfaceProps* surfaceProps,
276 const SkSurfaceProps* surfaceProps);
305 const SkSurfaceProps* surfaceProps,
332 const SkSurfaceProps* surfaceProps)
365 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()
170 const SkSurfaceProps& surfaceProps) { in set() argument
184 fSurfaceProps = surfaceProps; in set()
246 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; } in surfaceProps() function
/external/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()
/external/skia/src/core/
DSkStrikeSpec.cpp23 const SkSurfaceProps& surfaceProps, in MakeMask() argument
27 return SkStrikeSpec(font, paint, surfaceProps, scalerContextFlags, deviceMatrix, 1); in MakeMask()
31 const SkSurfaceProps& surfaceProps, in MakePath() argument
45 return SkStrikeSpec(pathFont, pathPaint, surfaceProps, scalerContextFlags, in MakePath()
52 const SkSurfaceProps& surfaceProps, in MakeSourceFallback() argument
76 return SkStrikeSpec(fallbackFont, paint, surfaceProps, scalerContextFlags, in MakeSourceFallback()
169 const SkSurfaceProps& surfaceProps, const SkMatrix& deviceMatrix, in MakeSDFT() argument
183 SkStrikeSpec strikeSpec(dfFont, dfPaint, surfaceProps, flags, in MakeSDFT()
195 const SkSurfaceProps& surfaceProps, in SkStrikeSpec() argument
204 font, paint, surfaceProps, scalerContextFlags, deviceMatrix, in SkStrikeSpec()
DSkStrikeSpec.h40 const SkSurfaceProps& surfaceProps,
48 const SkSurfaceProps& surfaceProps,
53 const SkSurfaceProps& surfaceProps,
76 const SkSurfaceProps& surfaceProps,
98 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()
612 return SkSpecialImage::MakeFromRaster(bitmap.bounds(), bitmap, this->surfaceProps()); in makeSpecial()
617 image->makeNonTextureImage(), this->surfaceProps()); in makeSpecial()
[all …]
DSkBitmapDevice.h56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
171 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps() argument
173 ? fLazy.init(surfaceProps.flags(), kUnknown_SkPixelGeometry) in SkBitmapDeviceFilteredSurfaceProps()
174 : &surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
/external/skqp/src/core/
DSkBitmapDevice.h56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps,
174 const SkSurfaceProps& surfaceProps) in SkBitmapDeviceFilteredSurfaceProps() argument
176 ? fLazy.init(surfaceProps.flags(), kUnknown_SkPixelGeometry) in SkBitmapDeviceFilteredSurfaceProps()
177 : &surfaceProps) in SkBitmapDeviceFilteredSurfaceProps()
DSkBitmapDevice.cpp229 , fGlyphPainter(this->surfaceProps(), bitmap.colorType(), scaler_context_flags(bitmap)) in SkBitmapDevice()
238 SkBitmapDevice::SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps, in SkBitmapDevice() argument
240 : INHERITED(bitmap.info(), surfaceProps) in SkBitmapDevice()
244 , fGlyphPainter(this->surfaceProps(), bitmap.colorType(), scaler_context_flags(bitmap)) in SkBitmapDevice()
256 const SkSurfaceProps& surfaceProps, in Create() argument
300 return new SkBitmapDevice(bitmap, surfaceProps, hndl, trackCoverage ? &coverage : nullptr); in Create()
311 const SkSurfaceProps surfaceProps(this->surfaceProps().flags(), cinfo.fPixelGeometry); in onCreateDevice() local
312 return SkBitmapDevice::Create(cinfo.fInfo, surfaceProps, cinfo.fTrackCoverage, in onCreateDevice()
724 return SkSpecialImage::CopyFromRaster(bounds, fBitmap, &this->surfaceProps()); in snapBackImage()
DSkStrikeCache.h120 const SkSurfaceProps& surfaceProps,
127 const SkSurfaceProps& surfaceProps,
DSkGlyphRunPainter.cpp101 : SkGlyphRunListPainter{rtc.surfaceProps(), rtc.colorSpaceInfo()} {} in SkGlyphRunListPainter()
887 static SkSurfaceProps surfaceProps(SkSurfaceProps::kLegacyFontHost_InitType); in createOp_TestingOnly() local
907 skPaint, scalerContextFlags, viewMatrix, surfaceProps, in createOp_TestingOnly()
911 return blob->test_makeOp(textLen, 0, 0, viewMatrix, x, y, skPaint, filteredColor, surfaceProps, in createOp_TestingOnly()
946 runPaint, glyphRun.font(), this->surfaceProps(), runMatrix, in processGlyphRunForMask()
1021 pathPaint, pathFont, this->surfaceProps(), SkMatrix::I(), in processGlyphRunForPaths()
1033 ARGBHelper argbFallback{runMatrix, surfaceProps(), fStrikeServer}; in processGlyphRunForPaths()
1053 runMatrix, this->surfaceProps(), in maybeProcessGlyphRunForDFT()
1072 auto* sdfCache = fStrikeServer->getOrCreateCache(dfPaint, dfFont, this->surfaceProps(), in maybeProcessGlyphRunForDFT()
1075 ARGBHelper argbFallback{runMatrix, surfaceProps(), fStrikeServer}; in maybeProcessGlyphRunForDFT()
/external/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp103 const SkSurfaceProps& surfaceProps) const { in createMaskTexture()
106 surfaceProps); in createMaskTexture()
162 ctx.surfaceProps()); in onFilterImage()
186 ctx.colorSpace(), ctx.surfaceProps(), isProtected); in onFilterImage()
259 dst, ctx.surfaceProps()); in onFilterImage()
/external/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()
/external/skqp/gm/
Dcgm.c56 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in sk_test_c_api() local
57 sk_surface_t* surf = sk_surface_new_raster(info, &surfaceProps); in sk_test_c_api()
/external/skqp/src/gpu/
DGrContextThreadSafeProxy.cpp38 const SkSurfaceProps& surfaceProps, in createCharacterization() argument
88 surfaceProps); in createCharacterization()
/external/skia/src/image/
DSkSurface_GpuMtl.mm35 const SkSurfaceProps* surfaceProps,
95 SkSurfacePropsCopyOrDefault(surfaceProps));
107 const SkSurfaceProps* surfaceProps) {
165 SkSurfacePropsCopyOrDefault(surfaceProps));
DSkSurface_Gpu.cpp33 : INHERITED(device->width(), device->height(), &device->surfaceProps()) in SkSurface_Gpu()
382 characterization.surfaceProps() == sdc->surfaceProps(); in onIsCompatible()
423 c.dimensions(), c.surfaceProps(), c.sampleCount(), GrMipmapped(c.isMipMapped()), in MakeRenderTarget()
667 const SkSurfaceProps* surfaceProps) { in MakeFromAHardwareBuffer() argument
707 origin, 0, colorType, std::move(colorSpace), surfaceProps, deleteImageProc, in MakeFromAHardwareBuffer()
/external/skia/tools/skottie_ios_app/
DSkMetalViewBridge.mm25 const SkSurfaceProps surfaceProps;
29 colorType, colorSpace, &surfaceProps);
/external/skqp/tests/
DCTest.cpp63 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
66 &surfaceProps); in test_c()
/external/skia/tests/
DCTest.cpp64 sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; in test_c() local
67 &surfaceProps); in test_c()
/external/skia/samplecode/
DSampleTextureUpload.cpp35 SkSurfaceProps surfaceProps(0, kRGB_H_SkPixelGeometry); in RenderTargetTexture() local
39 &surfaceProps); in RenderTargetTexture()
/external/skia/src/gpu/
DGrContextThreadSafeProxy.cpp53 const SkSurfaceProps& surfaceProps, in createCharacterization() argument
137 surfaceProps); in createCharacterization()
/external/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp174 characterization.surfaceProps() == sdc->surfaceProps(); in isCompatible()

1234