Home
last modified time | relevance | path

Searched refs:GrShape (Results 1 – 25 of 68) sorted by relevance

123

/external/skqp/src/gpu/
DGrShape.h35 class GrShape {
41 GrShape() { this->initType(Type::kEmpty); } in GrShape() function
43 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} in GrShape() function
45 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} in GrShape() function
47 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} in GrShape() function
49 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() function
54 GrShape(const SkRRect& rrect, const GrStyle& style) in GrShape() function
64 GrShape(const SkRRect& rrect, SkPath::Direction dir, unsigned start, bool inverted, in GrShape() function
84 GrShape(const SkRect& rect, const GrStyle& style) in GrShape() function
94 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() function
[all …]
DGrShape.cpp10 GrShape& GrShape::operator=(const GrShape& that) { in operator =()
39 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion()
41 case GrShape::FillInversion::kPreserve: in flip_inversion()
43 case GrShape::FillInversion::kFlip: in flip_inversion()
45 case GrShape::FillInversion::kForceInverted: in flip_inversion()
47 case GrShape::FillInversion::kForceNoninverted: in flip_inversion()
53 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted()
55 case GrShape::FillInversion::kPreserve: in is_inverted()
57 case GrShape::FillInversion::kFlip: in is_inverted()
59 case GrShape::FillInversion::kForceInverted: in is_inverted()
[all …]
DGrPathRenderer.h63 StencilSupport getStencilSupport(const GrShape& shape) const { in getStencilSupport()
83 const GrShape* fShape;
117 const GrShape* fShape;
176 const GrShape* fShape;
235 virtual StencilSupport onGetStencilSupport(const GrShape&) const { in onGetStencilSupport() argument
DGrPath.h17 class GrShape; variable
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
DGrSWMaskHelper.h18 class GrShape; variable
50 void drawShape(const GrShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
DGrSoftwarePathRenderer.cpp39 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
68 const GrShape& shape, in get_shape_and_clip_bounds()
195 SoftwarePathData(const SkIRect& maskBounds, const SkMatrix& viewMatrix, const GrShape& shape, in SoftwarePathData()
204 const GrShape& getShape() const { return fShape; } in getShape()
210 GrShape fShape;
239 SkTLazy<GrShape> tmpShape; in onDrawPath()
/external/skia/src/gpu/
DGrShape.h35 class GrShape {
41 GrShape() { this->initType(Type::kEmpty); } in GrShape() function
43 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} in GrShape() function
45 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} in GrShape() function
47 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} in GrShape() function
49 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() function
54 GrShape(const SkRRect& rrect, const GrStyle& style) in GrShape() function
64 GrShape(const SkRRect& rrect, SkPath::Direction dir, unsigned start, bool inverted, in GrShape() function
84 GrShape(const SkRect& rect, const GrStyle& style) in GrShape() function
94 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() function
[all …]
DGrShape.cpp10 GrShape& GrShape::operator=(const GrShape& that) { in operator =()
42 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion()
44 case GrShape::FillInversion::kPreserve: in flip_inversion()
46 case GrShape::FillInversion::kFlip: in flip_inversion()
48 case GrShape::FillInversion::kForceInverted: in flip_inversion()
50 case GrShape::FillInversion::kForceNoninverted: in flip_inversion()
56 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted()
58 case GrShape::FillInversion::kPreserve: in is_inverted()
60 case GrShape::FillInversion::kFlip: in is_inverted()
62 case GrShape::FillInversion::kForceInverted: in is_inverted()
[all …]
DGrPathRenderer.h63 StencilSupport getStencilSupport(const GrShape& shape) const { in getStencilSupport()
83 const GrShape* fShape;
117 const GrShape* fShape;
176 const GrShape* fShape;
235 virtual StencilSupport onGetStencilSupport(const GrShape&) const { in onGetStencilSupport() argument
DGrPath.h17 class GrShape; variable
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
DGrSWMaskHelper.h18 class GrShape; variable
50 void drawShape(const GrShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
DGrSoftwarePathRenderer.cpp39 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
68 const GrShape& shape, in get_shape_and_clip_bounds()
195 SoftwarePathData(const SkIRect& maskBounds, const SkMatrix& viewMatrix, const GrShape& shape, in SoftwarePathData()
204 const GrShape& getShape() const { return fShape; } in getShape()
210 GrShape fShape;
239 SkTLazy<GrShape> tmpShape; in onDrawPath()
/external/skia/tests/
DGrShapeTest.cpp21 uint32_t GrShape::testingOnly_getOriginalGenerationID() const { in testingOnly_getOriginalGenerationID()
28 bool GrShape::testingOnly_isPath() const { in testingOnly_isPath()
32 bool GrShape::testingOnly_isNonVolatilePath() const { in testingOnly_isNonVolatilePath()
38 static bool make_key(Key* key, const GrShape& shape) { in make_key()
97 static bool can_interchange_winding_and_even_odd_fill(const GrShape& shape) { in can_interchange_winding_and_even_odd_fill()
109 static void check_equivalence(skiatest::Reporter* r, const GrShape& a, const GrShape& b, in check_equivalence()
140 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
141 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
228 static void check_original_path_ids(skiatest::Reporter* r, const GrShape& base, const GrShape& pe, in check_original_path_ids()
229 const GrShape& peStroke, const GrShape& full) { in check_original_path_ids()
[all …]
DGpuDrawPathTest.cpp116 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile);
119 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile);
126 GrPath::ComputeKey(GrShape(path1, style), &key1, &isVolatile);
134 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
149 GrPath::ComputeKey(GrShape(path3, style), &key3, &isVolatile);
152 GrPath::ComputeKey(GrShape(path4, style), &key4, &isVolatile);
160 GrPath::ComputeKey(GrShape(path3, style), &key1, &isVolatile);
/external/skqp/tests/
DGrShapeTest.cpp21 uint32_t GrShape::testingOnly_getOriginalGenerationID() const { in testingOnly_getOriginalGenerationID()
28 bool GrShape::testingOnly_isPath() const { in testingOnly_isPath()
32 bool GrShape::testingOnly_isNonVolatilePath() const { in testingOnly_isNonVolatilePath()
38 static bool make_key(Key* key, const GrShape& shape) { in make_key()
97 static bool can_interchange_winding_and_even_odd_fill(const GrShape& shape) { in can_interchange_winding_and_even_odd_fill()
109 static void check_equivalence(skiatest::Reporter* r, const GrShape& a, const GrShape& b, in check_equivalence()
140 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
141 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
228 static void check_original_path_ids(skiatest::Reporter* r, const GrShape& base, const GrShape& pe, in check_original_path_ids()
229 const GrShape& peStroke, const GrShape& full) { in check_original_path_ids()
[all …]
DGpuDrawPathTest.cpp116 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile);
119 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile);
126 GrPath::ComputeKey(GrShape(path1, style), &key1, &isVolatile);
134 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
149 GrPath::ComputeKey(GrShape(path3, style), &key3, &isVolatile);
152 GrPath::ComputeKey(GrShape(path4, style), &key4, &isVolatile);
160 GrPath::ComputeKey(GrShape(path3, style), &key1, &isVolatile);
/external/skqp/src/gpu/ops/
DGrSmallPathRenderer.h47 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
60 Key(const GrShape& shape, uint32_t dim) { this->set(shape, dim); } in Key()
61 Key(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); } in Key()
70 void set(const GrShape& shape, uint32_t dim) { in set()
82 void set(const GrShape& shape, const SkMatrix& ctm) { in set()
DGrMSAAPathRenderer.h16 StencilSupport onGetStencilSupport(const GrShape&) const override;
30 const GrShape&,
DGrDefaultPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override;
38 const GrShape&,
DGrTessellatingPathRenderer.cpp173 const GrShape& shape, in Make()
198 const GrShape& shape, in TessellatingPathOp()
360 GrShape fShape;
406 GrShape shape(path, style); in GR_DRAW_OP_TEST_DEFINE()
DGrTessellatingPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.h51 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
64 Key(const GrShape& shape, uint32_t dim) { this->set(shape, dim); } in Key()
65 Key(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); } in Key()
74 void set(const GrShape& shape, uint32_t dim) { in set()
86 void set(const GrShape& shape, const SkMatrix& ctm) { in set()
DGrMSAAPathRenderer.h16 StencilSupport onGetStencilSupport(const GrShape&) const override;
30 const GrShape&,
DGrDefaultPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override;
38 const GrShape&,
DGrTessellatingPathRenderer.cpp173 const GrShape& shape, in Make()
198 const GrShape& shape, in TessellatingPathOp()
360 GrShape fShape;
406 GrShape shape(path, style); in GR_DRAW_OP_TEST_DEFINE()

123