/external/skqp/include/core/ |
D | SkSurfaceProps.h | 27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument 28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB() 32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument 33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR() 37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument 38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH() 42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument 43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
|
/external/skia/include/core/ |
D | SkSurfaceProps.h | 27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument 28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB() 32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument 33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR() 37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument 38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH() 42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument 43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
|
/external/strace/ |
D | hdio.c | 48 struct_hd_geometry geo; in MPERS_PRINTER_DECL() local 51 if (!umove_or_printaddr(tcp, arg, &geo)) in MPERS_PRINTER_DECL() 54 (unsigned) geo.heads, in MPERS_PRINTER_DECL() 55 (unsigned) geo.sectors, in MPERS_PRINTER_DECL() 56 geo.cylinders, in MPERS_PRINTER_DECL() 57 (unsigned long) geo.start); in MPERS_PRINTER_DECL()
|
/external/skqp/tests/ |
D | GrShapeTest.cpp | 518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument 520 : fBase(new GrShape(geo.makeShape(paint))) { in TestCase() 767 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument 773 TestCase fillCase(geo, fill, reporter); in test_basic() 779 make_TestCase(geo, fill, reporter) in test_basic() 787 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic() 790 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic() 792 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic() 797 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic() 802 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic() [all …]
|
/external/skia/tests/ |
D | GrStyledShapeTest.cpp | 525 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument 527 : fBase(new GrStyledShape(geo.makeShape(paint))) { in TestCase() 777 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument 783 TestCase fillCase(geo, fill, reporter); in test_basic() 789 make_TestCase(geo, fill, reporter) in test_basic() 797 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic() 800 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic() 802 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic() 807 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic() 812 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 66 Geometry* geo, in GrAtlasTextOp() argument 75 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective()) 77 , fHead{geo} 91 Geometry* geo, in GrAtlasTextOp() argument 100 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective()) 103 , fHead{geo} 119 void* geo = alloc->makeBytesAlignedTo(sizeof(Geometry), alignof(Geometry)); in MakeForBlob() local 120 return new(geo) Geometry{subRun, in MakeForBlob() 284 for (const Geometry* geo = fHead; geo != nullptr; geo = geo->fNext) { in onPrepareDraws() local 285 const GrAtlasSubRun& subRun = geo->fSubRun; in onPrepareDraws() [all …]
|
D | GrDashOp.cpp | 296 DashDraw(const LineData& geo) { in DashDraw() 297 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw() 298 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw() 299 fPhase = geo.fPhase; in DashDraw() 700 for (const auto& geo : fLines) { in onDumpInfo() local 703 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in onDumpInfo() 704 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in onDumpInfo() 705 geo.fSrcStrokeWidth, in onDumpInfo() 706 geo.fIntervals[0], in onDumpInfo() 707 geo.fIntervals[1], in onDumpInfo() [all …]
|
D | GrOvalOpFactory.cpp | 2071 for (const auto& geo : fEllipses) { in onDumpInfo() local 2075 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in onDumpInfo() 2076 geo.fDevBounds.fRight, geo.fDevBounds.fBottom, geo.fXRadius, geo.fYRadius, in onDumpInfo() 2077 geo.fInnerXRadius, geo.fInnerYRadius); in onDumpInfo() 2334 for (const auto& geo : fEllipses) { in onDumpInfo() local 2339 geo.fColor.toBytes_RGBA(), geo.fBounds.fLeft, geo.fBounds.fTop, in onDumpInfo() 2340 geo.fBounds.fRight, geo.fBounds.fBottom, geo.fXRadius, geo.fYRadius, in onDumpInfo() 2341 geo.fInnerXRadius, geo.fInnerYRadius, geo.fGeoDx, geo.fGeoDy); in onDumpInfo() 3115 for (const auto& geo : fRRects) { in onDumpInfo() local 3119 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in onDumpInfo() [all …]
|
D | GrAtlasTextOp.h | 145 Geometry* geo, 155 Geometry* geo,
|
/external/skia/experimental/skrive/src/ |
D | Shape.cpp | 44 } else if (const Geometry* geo = *child) { in onRevalidate() local 45 fGeometries.push_back(geo); in onRevalidate() 58 for (const auto& geo : fGeometries) { in onRender() local 59 geo->draw(canvas, p, paint->getFillRule()); in onRender()
|
/external/skia/modules/sksg/include/ |
D | SkSGDraw.h | 26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument 27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
|
/external/skqp/modules/sksg/include/ |
D | SkSGDraw.h | 27 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument 28 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
|
/external/skia/modules/skottie/src/layers/shapelayer/ |
D | ShapeLayer.cpp | 241 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this)) { in attachShape() local 242 geos.push_back(std::move(geo)); in attachShape() 291 auto geo = drawGeos.size() > 1 in attachShape() local 295 SkASSERT(geo); in attachShape() 296 add_draw(sksg::Draw::Make(std::move(geo), std::move(paint)), *rec); in attachShape() 351 for (auto& geo : geos) { in attachShape() local 353 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape() 354 : std::move(geo)); in attachShape()
|
D | PuckerBloat.cpp | 31 explicit PuckerBloatEffect(sk_sp<sksg::GeometryNode> geo) : INHERITED({std::move(geo)}) {} in PuckerBloatEffect() argument 42 SkPath onRevalidateEffect(const sk_sp<GeometryNode>& geo) override { in onRevalidateEffect() argument 47 const auto input = geo->asPath(); in onRevalidateEffect()
|
D | MergePaths.cpp | 22 for (auto& geo : geos) { in MergeGeometry() local 24 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in MergeGeometry()
|
D | FillStroke.cpp | 95 sk_sp<sksg::GeometryNode> geo) in DashAdapter() argument 96 : INHERITED(sksg::DashEffect::Make(std::move(geo))) { in DashAdapter()
|
/external/skqp/src/gpu/ops/ |
D | GrAtlasTextOp.cpp | 85 const Geometry& geo = fGeoData[0]; in init() local 89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init() 109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
|
D | GrDashOp.cpp | 233 for (const auto& geo : fLines) { in dumpInfo() local 236 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in dumpInfo() 237 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in dumpInfo() 238 geo.fSrcStrokeWidth, in dumpInfo() 239 geo.fIntervals[0], in dumpInfo() 240 geo.fIntervals[1], in dumpInfo() 241 geo.fPhase); in dumpInfo() 303 DashDraw(const LineData& geo) { in DashDraw() 304 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw() 305 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw() [all …]
|
D | GrOvalOpFactory.cpp | 1740 for (const auto& geo : fEllipses) { in dumpInfo() local 1744 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo() 1745 geo.fDevBounds.fRight, geo.fDevBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo() 1746 geo.fInnerXRadius, geo.fInnerYRadius); in dumpInfo() 1960 for (const auto& geo : fEllipses) { in dumpInfo() local 1965 geo.fColor.toBytes_RGBA(), geo.fBounds.fLeft, geo.fBounds.fTop, in dumpInfo() 1966 geo.fBounds.fRight, geo.fBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo() 1967 geo.fInnerXRadius, geo.fInnerYRadius, geo.fGeoDx, geo.fGeoDy); in dumpInfo() 2611 for (const auto& geo : fRRects) { in dumpInfo() local 2615 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo() [all …]
|
D | GrDrawAtlasOp.cpp | 115 for (const auto& geo : fGeoData) { in dumpInfo() local 116 string.appendf("Color: 0x%08x, Quads: %d\n", geo.fColor.toBytes_RGBA(), in dumpInfo() 117 geo.fVerts.count() / 4); in dumpInfo()
|
/external/skqp/modules/skottie/src/ |
D | SkottieShapeLayer.cpp | 269 for (auto& geo : geos) { in Merge() local 271 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in Merge() 596 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape() local 599 geos.push_back(std::move(geo)); in attachShape() 645 auto geo = drawGeos.size() > 1 in attachShape() local 649 SkASSERT(geo); in attachShape() 650 draws.push_back(sksg::Draw::Make(std::move(geo), std::move(paint))); in attachShape() 705 for (auto& geo : geos) { in attachShape() local 707 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape() 708 : std::move(geo)); in attachShape()
|
/external/skqp/src/c/ |
D | sk_surface.cpp | 341 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster() local 342 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster() 346 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster() 354 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster_direct() local 355 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct() 359 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster_direct()
|
/external/skia/src/c/ |
D | sk_surface.cpp | 373 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster() local 374 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster() 378 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster() 386 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster_direct() local 387 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct() 391 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster_direct()
|
/external/skia/samplecode/ |
D | SampleSG.cpp | 88 auto geo = info->fGeo; in onClick() local 89 sksg::Rect* r = (sksg::Rect*)geo; in onClick()
|
/external/skqp/src/core/ |
D | SkDevice.h | 291 SkPixelGeometry geo) in CreateInfo() 294 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, false)) in CreateInfo() 299 SkPixelGeometry geo, in CreateInfo() 305 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, preserveLCDText)) in CreateInfo()
|