Home
last modified time | relevance | path

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

1234

/external/skqp/src/gpu/
DGrShape.h36 class GrShape {
42 GrShape() { this->initType(Type::kEmpty); } in GrShape() function
44 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} in GrShape() function
46 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} in GrShape() function
48 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} in GrShape() function
50 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() function
55 GrShape(const SkRRect& rrect, const GrStyle& style) : fStyle(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) : fStyle(style) { in GrShape() function
93 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() function
[all …]
DGrShape.cpp12 GrShape& GrShape::operator=(const GrShape& that) { in operator =()
44 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion()
46 case GrShape::FillInversion::kPreserve: in flip_inversion()
48 case GrShape::FillInversion::kFlip: in flip_inversion()
50 case GrShape::FillInversion::kForceInverted: in flip_inversion()
52 case GrShape::FillInversion::kForceNoninverted: in flip_inversion()
58 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted()
60 case GrShape::FillInversion::kPreserve: in is_inverted()
62 case GrShape::FillInversion::kFlip: in is_inverted()
64 case GrShape::FillInversion::kForceInverted: in is_inverted()
[all …]
DGrPathRenderer.h22 class GrShape; variable
67 StencilSupport getStencilSupport(const GrShape& shape) const;
81 const GrShape* fShape;
116 const GrShape* fShape;
149 const GrShape* fShape;
182 virtual StencilSupport onGetStencilSupport(const GrShape&) const { in onGetStencilSupport() argument
DGrBlurUtils.h18 class GrShape; variable
40 const GrShape&);
49 const GrShape&,
DGrBlurUtils.cpp65 const GrShape& shape, in sw_draw_with_mask_filter()
176 const GrShape& shape, in create_mask_GPU()
206 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
235 const GrShape& shape, in get_shape_and_clip_bounds()
258 const GrShape& origShape) { in draw_shape_with_mask_filter()
261 const GrShape* shape = &origShape; in draw_shape_with_mask_filter()
262 SkTLazy<GrShape> tmpShape; in draw_shape_with_mask_filter()
436 const GrShape& shape, in drawShapeWithMaskFilter()
449 const GrShape& shape) { in drawShapeWithMaskFilter()
DGrPath.h17 class GrShape; variable
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
DGrSWMaskHelper.h19 class GrShape; variable
51 void drawShape(const GrShape&, const SkMatrix& matrix, SkRegion::Op op, GrAA, uint8_t alpha);
/external/skia/src/gpu/
DGrShape.h36 class GrShape {
42 GrShape() { this->initType(Type::kEmpty); } in GrShape() function
44 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {} in GrShape() function
46 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {} in GrShape() function
48 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {} in GrShape() function
50 GrShape(const SkPath& path, const GrStyle& style) : fStyle(style) { in GrShape() function
55 GrShape(const SkRRect& rrect, const GrStyle& style) : fStyle(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) : fStyle(style) { in GrShape() function
93 GrShape(const SkPath& path, const SkPaint& paint) : fStyle(paint) { in GrShape() function
[all …]
DGrShape.cpp12 GrShape& GrShape::operator=(const GrShape& that) { in operator =()
44 static bool flip_inversion(bool originalIsInverted, GrShape::FillInversion inversion) { in flip_inversion()
46 case GrShape::FillInversion::kPreserve: in flip_inversion()
48 case GrShape::FillInversion::kFlip: in flip_inversion()
50 case GrShape::FillInversion::kForceInverted: in flip_inversion()
52 case GrShape::FillInversion::kForceNoninverted: in flip_inversion()
58 static bool is_inverted(bool originalIsInverted, GrShape::FillInversion inversion) { in is_inverted()
60 case GrShape::FillInversion::kPreserve: in is_inverted()
62 case GrShape::FillInversion::kFlip: in is_inverted()
64 case GrShape::FillInversion::kForceInverted: in is_inverted()
[all …]
DGrPathRenderer.h22 class GrShape; variable
67 StencilSupport getStencilSupport(const GrShape& shape) const;
81 const GrShape* fShape;
116 const GrShape* fShape;
149 const GrShape* fShape;
182 virtual StencilSupport onGetStencilSupport(const GrShape&) const { in onGetStencilSupport() argument
DGrBlurUtils.h19 class GrShape; variable
41 const GrShape&);
50 const GrShape&,
DGrBlurUtils.cpp65 const GrShape& shape, in sw_draw_with_mask_filter()
176 const GrShape& shape, in create_mask_GPU()
206 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
235 const GrShape& shape, in get_shape_and_clip_bounds()
258 const GrShape& origShape) { in draw_shape_with_mask_filter()
261 const GrShape* shape = &origShape; in draw_shape_with_mask_filter()
262 SkTLazy<GrShape> tmpShape; in draw_shape_with_mask_filter()
436 const GrShape& shape, in drawShapeWithMaskFilter()
449 const GrShape& shape) { in drawShapeWithMaskFilter()
DGrPath.h17 class GrShape; variable
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
/external/skqp/tests/
DGrShapeTest.cpp22 uint32_t GrShape::testingOnly_getOriginalGenerationID() const { in testingOnly_getOriginalGenerationID()
29 bool GrShape::testingOnly_isPath() const { in testingOnly_isPath()
33 bool GrShape::testingOnly_isNonVolatilePath() const { in testingOnly_isNonVolatilePath()
39 static bool make_key(Key* key, const GrShape& shape) { in make_key()
98 static bool can_interchange_winding_and_even_odd_fill(const GrShape& shape) { in can_interchange_winding_and_even_odd_fill()
110 static void check_equivalence(skiatest::Reporter* r, const GrShape& a, const GrShape& b, in check_equivalence()
141 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
142 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
229 static void check_original_path_ids(skiatest::Reporter* r, const GrShape& base, const GrShape& pe, in check_original_path_ids()
230 const GrShape& peStroke, const GrShape& full) { in check_original_path_ids()
[all …]
DGpuDrawPathTest.cpp114 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile);
117 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile);
124 GrPath::ComputeKey(GrShape(path1, style), &key1, &isVolatile);
132 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
147 GrPath::ComputeKey(GrShape(path3, style), &key3, &isVolatile);
150 GrPath::ComputeKey(GrShape(path4, style), &key4, &isVolatile);
158 GrPath::ComputeKey(GrShape(path3, style), &key1, &isVolatile);
/external/skia/tests/
DGrShapeTest.cpp22 uint32_t GrShape::testingOnly_getOriginalGenerationID() const { in testingOnly_getOriginalGenerationID()
29 bool GrShape::testingOnly_isPath() const { in testingOnly_isPath()
33 bool GrShape::testingOnly_isNonVolatilePath() const { in testingOnly_isNonVolatilePath()
39 static bool make_key(Key* key, const GrShape& shape) { in make_key()
98 static bool can_interchange_winding_and_even_odd_fill(const GrShape& shape) { in can_interchange_winding_and_even_odd_fill()
110 static void check_equivalence(skiatest::Reporter* r, const GrShape& a, const GrShape& b, in check_equivalence()
141 const GrShape* s1 = pathA.isInverseFillType() ? &a : &b; in check_equivalence()
142 const GrShape* s2 = pathA.isInverseFillType() ? &b : &a; in check_equivalence()
229 static void check_original_path_ids(skiatest::Reporter* r, const GrShape& base, const GrShape& pe, in check_original_path_ids()
230 const GrShape& peStroke, const GrShape& full) { in check_original_path_ids()
[all …]
DGpuDrawPathTest.cpp114 GrPath::ComputeKey(GrShape(path1, GrStyle::SimpleFill()), &key1, &isVolatile);
117 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &key2, &isVolatile);
124 GrPath::ComputeKey(GrShape(path1, style), &key1, &isVolatile);
132 GrPath::ComputeKey(GrShape(path2, GrStyle::SimpleFill()), &tempKey, &isVolatile);
147 GrPath::ComputeKey(GrShape(path3, style), &key3, &isVolatile);
150 GrPath::ComputeKey(GrShape(path4, style), &key4, &isVolatile);
158 GrPath::ComputeKey(GrShape(path3, style), &key1, &isVolatile);
/external/skqp/src/gpu/ccpr/
DGrCCDrawPathsOp.h32 const SkMatrix&, const GrShape&, GrPaint&&);
72 const SkMatrix&, const GrShape&,
77 GrCCDrawPathsOp(const SkMatrix&, const GrShape&, float strokeDevWidth,
87 SingleDraw(const SkMatrix&, const GrShape&, float strokeDevWidth,
102 GrShape fShape;
DGrCCDrawPathsOp.cpp29 GrContext* context, const SkIRect& clipIBounds, const SkMatrix& m, const GrShape& shape, in Make()
52 GrShape croppedDevShape; in Make()
55 croppedDevShape = GrShape(croppedDevPath); in Make()
63 croppedDevShape = GrShape(croppedDevPath, GrStyle(devStroke, nullptr)); in Make()
78 GrContext* context, const SkIRect& clipIBounds, const SkMatrix& m, const GrShape& shape, in InternalMake()
99 GrCCDrawPathsOp::GrCCDrawPathsOp(const SkMatrix& m, const GrShape& shape, float strokeDevWidth, in GrCCDrawPathsOp()
121 GrCCDrawPathsOp::SingleDraw::SingleDraw(const SkMatrix& m, const GrShape& shape, in SingleDraw()
173 fShape = GrShape(path, GrStyle(hairlineStroke, nullptr)); in finalize()
/external/skia/src/gpu/ccpr/
DGrCCDrawPathsOp.h33 const SkMatrix&, const GrShape&, GrPaint&&);
75 const SkMatrix&, const GrShape&,
80 GrCCDrawPathsOp(const SkMatrix&, const GrShape&, float strokeDevWidth,
90 SingleDraw(const SkMatrix&, const GrShape&, float strokeDevWidth,
106 GrShape fShape;
DGrCCDrawPathsOp.cpp30 const GrShape& shape, GrPaint&& paint) { in Make()
52 GrShape croppedDevShape; in Make()
55 croppedDevShape = GrShape(croppedDevPath); in Make()
63 croppedDevShape = GrShape(croppedDevPath, GrStyle(devStroke, nullptr)); in Make()
79 const GrShape& shape, float strokeDevWidth, const SkRect& conservativeDevBounds, in InternalMake()
100 GrCCDrawPathsOp::GrCCDrawPathsOp(const SkMatrix& m, const GrShape& shape, float strokeDevWidth, in GrCCDrawPathsOp()
122 GrCCDrawPathsOp::SingleDraw::SingleDraw(const SkMatrix& m, const GrShape& shape, in SingleDraw()
176 fShape = GrShape(path, GrStyle(hairlineStroke, nullptr)); in finalize()
/external/skqp/src/gpu/ops/
DGrDefaultPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override;
38 const GrShape&,
/external/skia/src/gpu/ops/
DGrDefaultPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override;
38 const GrShape&,
/external/skia/src/core/
DSkMaskFilterBase.h27 class GrShape; variable
101 virtual bool canFilterMaskGPU(const GrShape&,
116 const GrShape& shape) const;
/external/skqp/src/core/
DSkMaskFilterBase.h27 class GrShape; variable
101 virtual bool canFilterMaskGPU(const GrShape&,
116 const GrShape& shape) const;

1234