Home
last modified time | relevance | path

Searched refs:pixelGeometry (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_getProps.cpp11 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
15 SkDebugf("isRGB:%d\n", SkPixelGeometryIsRGB(surfaceProps.pixelGeometry())); in draw()
DSurface_props.cpp9 SkDebugf("surf.props(): k%s_SkPixelGeometry\n", names[surf->props().pixelGeometry()]); in draw()
/third_party/skia/tools/viewer/
DViewer.cpp398 displayParams.fSurfaceProps.pixelGeometry());
543 SkPixelGeometry defaultPixelGeometry = fDisplay.fSurfaceProps.pixelGeometry(); in __anon2e493c4a1602()
548 switch (params.fSurfaceProps.pixelGeometry()) { in __anon2e493c4a1602()
632 params.fSurfaceProps = SkSurfaceProps(flags, params.fSurfaceProps.pixelGeometry()); in __anon2e493c4a1902()
1061 switch (params.fSurfaceProps.pixelGeometry()) { in updateTitle()
1973 pixelGeometryIdx = params.fSurfaceProps.pixelGeometry() + 1; in drawImGui()
1981 SkPixelGeometry pixelGeometry = fDisplay.fSurfaceProps.pixelGeometry(); in drawImGui() local
1982 params.fSurfaceProps = SkSurfaceProps(flags, pixelGeometry); in drawImGui()
1985 SkPixelGeometry pixelGeometry = SkTo<SkPixelGeometry>(pixelGeometryIdx - 1); in drawImGui() local
1986 params.fSurfaceProps = SkSurfaceProps(flags, pixelGeometry); in drawImGui()
[all …]
/third_party/skia/include/core/
DSkSurfaceProps.h73 SkPixelGeometry pixelGeometry() const { return fPixelGeometry; } in pixelGeometry() function
/third_party/skia/include/c/
Dsk_types.h69 sk_pixelgeometry_t pixelGeometry; member
/third_party/skia/gm/
Dsurface.cpp126 return a.flags() == b.flags() && a.pixelGeometry() == b.pixelGeometry(); in DEF_GM()
Ddftext_blob_persp.cpp72 inputProps.pixelGeometry()); in onDraw()
Dtextblobmixedsizes.cpp117 inputProps.pixelGeometry()); in onDraw()
Ddftext.cpp67 inputProps.pixelGeometry()); in onDraw()
/third_party/skia/src/effects/imagefilters/
DSkPictureImageFilter.cpp111 SkASSERT(kUnknown_SkPixelGeometry == surf->props().pixelGeometry()); in onFilterImage()
/third_party/skia/src/c/
Dsk_surface.cpp374 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster()
387 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp1248 bool isBGR = SkPixelGeometryIsBGR(props.pixelGeometry()); in calculate_sdf_parameters()
1249 bool isLCD = useLCDText && SkPixelGeometryIsH(props.pixelGeometry()); in calculate_sdf_parameters()
1423 SkPixelGeometry pixelGeometry = in Make() local
1424 hasLCD ? surfaceProps.pixelGeometry() : kUnknown_SkPixelGeometry; in Make()
1428 key.fPixelGeometry = pixelGeometry; in Make()
/third_party/skia/src/core/
DSkCanvas.cpp408 SkASSERT(fProps.pixelGeometry() == device->surfaceProps().pixelGeometry()); in init()
1078 ? fProps.pixelGeometry() in internalSaveLayer()
DSkScalerContext.cpp1076 SkPixelGeometry geometry = surfaceProps.pixelGeometry(); in MakeRecAndEffects()