Home
last modified time | relevance | path

Searched refs:GrStyledShape (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/src/gpu/geometry/
DGrStyledShape.h39 class GrStyledShape {
45 GrStyledShape() {} in GrStyledShape() function
49 explicit GrStyledShape(const SkPath& path, DoSimplify doSimplify = DoSimplify::kYes)
50 : GrStyledShape(path, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() function
52 explicit GrStyledShape(const SkRRect& rrect, DoSimplify doSimplify = DoSimplify::kYes)
53 : GrStyledShape(rrect, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() function
55 explicit GrStyledShape(const SkRect& rect, DoSimplify doSimplify = DoSimplify::kYes)
56 : GrStyledShape(rect, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() function
58 GrStyledShape(const SkPath& path, const SkPaint& paint,
60 : GrStyledShape(path, GrStyle(paint), doSimplify) {} in GrStyledShape() function
[all …]
DGrStyledShape.cpp14 GrStyledShape& GrStyledShape::operator=(const GrStyledShape& that) { in operator =()
31 static bool is_inverted(bool originalIsInverted, GrStyledShape::FillInversion inversion) { in is_inverted()
33 case GrStyledShape::FillInversion::kPreserve: in is_inverted()
35 case GrStyledShape::FillInversion::kFlip: in is_inverted()
37 case GrStyledShape::FillInversion::kForceInverted: in is_inverted()
39 case GrStyledShape::FillInversion::kForceNoninverted: in is_inverted()
45 GrStyledShape GrStyledShape::MakeFilled(const GrStyledShape& original, FillInversion inversion) { in MakeFilled()
52 GrStyledShape result; in MakeFilled()
81 SkRect GrStyledShape::styledBounds() const { in styledBounds()
94 if (verbCnt > GrStyledShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
[all …]
/external/skia/tests/
DGrStyledShapeTest.cpp23 uint32_t GrStyledShape::testingOnly_getOriginalGenerationID() const { in testingOnly_getOriginalGenerationID()
30 bool GrStyledShape::testingOnly_isPath() const { in testingOnly_isPath()
34 bool GrStyledShape::testingOnly_isNonVolatilePath() const { in testingOnly_isNonVolatilePath()
40 static bool make_key(Key* key, const GrStyledShape& shape) { in make_key()
98 static bool can_interchange_winding_and_even_odd_fill(const GrStyledShape& shape) { in can_interchange_winding_and_even_odd_fill()
110 static void check_equivalence(skiatest::Reporter* r, const GrStyledShape& a, const GrStyledShape& b, in check_equivalence()
141 const GrStyledShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
142 const GrStyledShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
230 static void check_original_path_ids(skiatest::Reporter* r, const GrStyledShape& base, in check_original_path_ids()
231 const GrStyledShape& pe, const GrStyledShape& peStroke, in check_original_path_ids()
[all …]
/external/skia/src/gpu/
DGrPathRenderer.h22 class GrStyledShape; variable
70 StencilSupport getStencilSupport(const GrStyledShape& shape) const;
85 const GrStyledShape* fShape;
123 const GrStyledShape* fShape;
154 const GrStyledShape* fShape;
187 virtual StencilSupport onGetStencilSupport(const GrStyledShape&) const { in onGetStencilSupport() argument
DGrBlurUtils.h18 class GrStyledShape; variable
41 const GrStyledShape&);
50 const GrStyledShape&,
DGrBlurUtils.cpp96 const GrStyledShape& shape, in sw_create_filtered_mask()
188 const GrStyledShape& shape, in create_mask_GPU()
225 rtContext->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape)); in create_mask_GPU()
229 static bool get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
258 const GrStyledShape& shape, in get_shape_and_clip_bounds()
284 const GrStyledShape& shape, in compute_key_and_clip_bounds()
365 const GrStyledShape& shape, in hw_create_filtered_mask()
463 const GrStyledShape& origShape) { in draw_shape_with_mask_filter()
466 const GrStyledShape* shape = &origShape; in draw_shape_with_mask_filter()
467 SkTLazy<GrStyledShape> tmpShape; in draw_shape_with_mask_filter()
[all …]
DGrSWMaskHelper.h21 class GrStyledShape; variable
58 void drawShape(const GrStyledShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA,
DGrSoftwarePathRenderer.h31 const GrStyledShape& shape,
65 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DGrSoftwarePathRenderer.cpp42 static bool get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
71 const GrStyledShape& shape, in GetShapeAndClipBounds()
203 const GrStyledShape& shape, GrAA aa) in SoftwarePathData()
211 const GrStyledShape& getShape() const { return fShape; } in getShape()
217 GrStyledShape fShape;
DGrSurfaceDrawContext.h33 class GrStyledShape; variable
390 GrStyledShape&&);
715 bool drawSimpleShape(const GrClip*, GrPaint*, GrAA, const SkMatrix&, const GrStyledShape&);
721 GrStyledShape&&, bool attemptDrawSimple = false);
DGrStencilMaskHelper.cpp287 const GrStyledShape& shape, GrAA aa) { in draw_path()
310 const GrStyledShape& shape, GrAA aa) { in stencil_path()
410 GrStyledShape shape(*clipPath, GrStyle::SimpleFill()); in drawPath()
DGrSurfaceDrawContext.cpp82 using DoSimplify = GrStyledShape::DoSimplify;
780 GrStyledShape(rect, *style, DoSimplify::kNo)); in drawRect()
919 GrStyledShape shape(path, GrStyledShape::DoSimplify::kNo); in stencilPath()
1116 GrStyledShape(rrect, style, DoSimplify::kNo)); in drawRRect()
1429 GrStyledShape(SkRRect::MakeOval(oval), SkPathDirection::kCW, 2, in drawOval()
1468 GrStyledShape::MakeArc(oval, startAngle, sweepAngle, useCenter, in drawArc()
1547 GrStyledShape shape(path, style, DoSimplify::kNo); in drawPath()
1555 GrStyledShape&& shape) { in drawShape()
1613 GrStyledShape shape(path, GrStyle::SimpleFill()); in drawAndStencilPath()
1703 const SkMatrix& viewMatrix, const GrStyledShape& shape) { in drawSimpleShape()
[all …]
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.h16 class GrStyledShape; variable
27 const GrStyledShape&,
35 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DGrSmallPathShapeData.h14 class GrStyledShape; variable
27 GrSmallPathShapeDataKey(const GrStyledShape&, uint32_t dim);
30 GrSmallPathShapeDataKey(const GrStyledShape&, const SkMatrix& ctm);
DGrSmallPathAtlasMgr.h18 class GrStyledShape; variable
39 GrSmallPathShapeData* findOrCreate(const GrStyledShape&, int desiredDimension);
40 GrSmallPathShapeData* findOrCreate(const GrStyledShape&, const SkMatrix& ctm);
DGrDefaultPathRenderer.h26 StencilSupport onGetStencilSupport(const GrStyledShape&) const override;
40 const GrStyledShape&,
DGrSmallPathShapeData.cpp12 GrSmallPathShapeDataKey::GrSmallPathShapeDataKey(const GrStyledShape& shape, uint32_t dim) { in GrSmallPathShapeDataKey()
23 GrSmallPathShapeDataKey::GrSmallPathShapeDataKey(const GrStyledShape& shape, const SkMatrix& ctm) { in GrSmallPathShapeDataKey()
DGrTriangulatingPathRenderer.cpp243 const GrStyledShape& shape, in Make()
265 const GrStyledShape& shape, in TriangulatingPathOp()
307 const GrStyledShape& shape, in CreateKey()
332 const GrStyledShape& shape, in Triangulate()
596 GrStyledShape fShape;
641 GrStyledShape shape(path, style); in GR_DRAW_OP_TEST_DEFINE()
DGrSmallPathAtlasMgr.cpp88 GrSmallPathShapeData* GrSmallPathAtlasMgr::findOrCreate(const GrStyledShape& shape, in findOrCreate()
96 GrSmallPathShapeData* GrSmallPathAtlasMgr::findOrCreate(const GrStyledShape& shape, in findOrCreate()
DGrSmallPathRenderer.cpp107 const GrStyledShape& shape, in Make()
115 SmallPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const GrStyledShape& shape, in SmallPathOp()
396 const GrStyledShape& shape, uint32_t dimension, SkScalar scale) const { in addDFPathToAtlas()
488 const GrStyledShape& shape, const SkMatrix& ctm) const { in addBMPathToAtlas()
684 GrStyledShape fShape;
719 const GrStyledShape& shape, in createOp_TestingOnly()
732 GrStyledShape shape(GrTest::TestPath(random), GrStyle::SimpleFill()); in GR_DRAW_OP_TEST_DEFINE()
DGrDashLinePathRenderer.h21 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DGrTriangulatingPathRenderer.h29 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
/external/skia/src/core/
DSkMaskFilterBase.h31 class GrStyledShape; variable
106 virtual bool canFilterMaskGPU(const GrStyledShape&,
121 const GrStyledShape& shape) const;
DSkBlurMF.cpp54 bool canFilterMaskGPU(const GrStyledShape& shape,
64 const GrStyledShape& shape) const override;
580 const GrStyledShape& shape) const { in directFilterMaskGPU()
595 GrStyledShape(shape)); in directFilterMaskGPU()
698 bool SkBlurMaskFilterImpl::canFilterMaskGPU(const GrStyledShape& shape, in canFilterMaskGPU()
/external/skia/src/gpu/tessellate/
DGrTessellationPathRenderer.h50 StencilSupport onGetStencilSupport(const GrStyledShape& shape) const override { in onGetStencilSupport()
67 bool tryAddPathToAtlas(const GrCaps&, const SkMatrix&, const GrStyledShape&,

12