Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/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 …]
/third_party/skia/src/gpu/v1/
DPathRenderer.h21 class GrStyledShape; variable
73 StencilSupport getStencilSupport(const GrStyledShape& shape) const;
88 const GrStyledShape* fShape;
126 const GrStyledShape* fShape;
157 const GrStyledShape* fShape;
185 virtual StencilSupport onGetStencilSupport(const GrStyledShape&) const { in onGetStencilSupport() argument
DSurfaceDrawContext_v1.h35 class GrStyledShape; variable
363 GrStyledShape&&);
680 bool drawSimpleShape(const GrClip*, GrPaint*, GrAA, const SkMatrix&, const GrStyledShape&);
686 GrStyledShape&&, bool attemptDrawSimple = false);
DStencilMaskHelper.cpp296 const GrStyledShape& shape, in draw_path()
322 const GrStyledShape& shape, in stencil_path()
424 GrStyledShape shape(*clipPath, GrStyle::SimpleFill()); in drawPath()
DSurfaceDrawContext.cpp113 using DoSimplify = GrStyledShape::DoSimplify;
779 GrStyledShape(rect, *style, DoSimplify::kNo)); in drawRect()
918 GrStyledShape shape(path, GrStyledShape::DoSimplify::kNo); in stencilPath()
1115 GrStyledShape(rrect, style, DoSimplify::kNo)); in drawRRect()
1421 GrStyledShape(SkRRect::MakeOval(oval), SkPathDirection::kCW, 2, in drawOval()
1460 GrStyledShape::MakeArc(oval, startAngle, sweepAngle, useCenter, in drawArc()
1558 GrStyledShape shape(path, style, DoSimplify::kNo); in drawPath()
1566 GrStyledShape&& shape) { in drawShape()
1624 GrStyledShape shape(path, GrStyle::SimpleFill()); in drawAndStencilPath()
1723 const GrStyledShape& shape) { in drawSimpleShape()
[all …]
/third_party/skia/src/gpu/
DGrBlurUtils.cpp99 const GrStyledShape& shape, in sw_create_filtered_mask()
192 const GrStyledShape& shape, in create_mask_GPU()
234 sdc->drawShape(&clip, std::move(maskPaint), GrAA::kYes, viewMatrix, GrStyledShape(shape)); in create_mask_GPU()
238 static bool get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
267 const GrStyledShape& shape, in get_shape_and_clip_bounds()
292 const GrStyledShape& shape, in compute_key_and_clip_bounds()
373 const GrStyledShape& shape, in hw_create_filtered_mask()
470 const GrStyledShape& origShape) { in draw_shape_with_mask_filter()
473 const GrStyledShape* shape = &origShape; in draw_shape_with_mask_filter()
474 SkTLazy<GrStyledShape> tmpShape; in draw_shape_with_mask_filter()
[all …]
DGrBlurUtils.h17 class GrStyledShape; variable
40 const GrStyledShape&);
49 const GrStyledShape&,
DGrSWMaskHelper.h21 class GrStyledShape; variable
58 void drawShape(const GrStyledShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA,
/third_party/skia/src/gpu/ops/
DSmallPathShapeData.h14 class GrStyledShape; variable
29 SmallPathShapeDataKey(const GrStyledShape&, uint32_t dim);
32 SmallPathShapeDataKey(const GrStyledShape&, const SkMatrix& ctm);
DSmallPathAtlasMgr.h16 class GrStyledShape; variable
42 SmallPathShapeData* findOrCreate(const GrStyledShape&, int desiredDimension);
43 SmallPathShapeData* findOrCreate(const GrStyledShape&, const SkMatrix& ctm);
DSmallPathRenderer.h13 class GrStyledShape; variable
24 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DDefaultPathRenderer.h26 StencilSupport onGetStencilSupport(const GrStyledShape&) const override;
40 const GrStyledShape&,
DSoftwarePathRenderer.h33 const GrStyledShape&,
67 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DSmallPathShapeData.cpp14 SmallPathShapeDataKey::SmallPathShapeDataKey(const GrStyledShape& shape, uint32_t dim) { in SmallPathShapeDataKey()
25 SmallPathShapeDataKey::SmallPathShapeDataKey(const GrStyledShape& shape, const SkMatrix& ctm) { in SmallPathShapeDataKey()
DTriangulatingPathRenderer.cpp170 const GrStyledShape& shape, in Make()
192 const GrStyledShape& shape, in TriangulatingPathOp()
234 const GrStyledShape& shape, in CreateKey()
259 const GrStyledShape& shape, in Triangulate()
527 GrStyledShape fShape;
561 GrStyledShape shape(path, style); in GR_DRAW_OP_TEST_DEFINE()
DSoftwarePathRenderer.cpp41 const GrStyledShape& shape, GrAA aa) in SoftwarePathData()
49 const GrStyledShape& getShape() const { return fShape; } in getShape()
55 GrStyledShape fShape;
59 bool get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
124 const GrStyledShape& shape, in GetShapeAndClipBounds()
DSmallPathAtlasMgr.cpp90 SmallPathShapeData* SmallPathAtlasMgr::findOrCreate(const GrStyledShape& shape, in findOrCreate()
98 SmallPathShapeData* SmallPathAtlasMgr::findOrCreate(const GrStyledShape& shape, in findOrCreate()
DSmallPathRenderer.cpp61 const GrStyledShape& shape, in Make()
69 SmallPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const GrStyledShape& shape, in SmallPathOp()
353 const GrStyledShape& shape, in addDFPathToAtlas()
449 const GrStyledShape& shape, in addBMPathToAtlas()
646 GrStyledShape fShape;
733 GrStyledShape shape(GrTest::TestPath(random), GrStyle::SimpleFill()); in GR_DRAW_OP_TEST_DEFINE()
DTessellationPathRenderer.h29 StencilSupport onGetStencilSupport(const GrStyledShape&) const override;
DDashLinePathRenderer.h26 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DTriangulatingPathRenderer.h31 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
DAtlasPathRenderer.h56 StencilSupport onGetStencilSupport(const GrStyledShape&) const override { in onGetStencilSupport() argument
/third_party/skia/src/core/
DSkMaskFilterBase.h31 class GrStyledShape; variable
106 virtual bool canFilterMaskGPU(const GrStyledShape&,
121 const GrStyledShape& shape) const;

12