Home
last modified time | relevance | path

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

12

/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 =()
32 SkRect GrShape::bounds() const { in bounds()
66 SkRect GrShape::styledBounds() const { in styledBounds()
78 if (verbCnt > GrShape::kMaxKeyFromDataVerbCnt) { in path_key_from_data_size()
98 SkASSERT(verbCnt <= GrShape::kMaxKeyFromDataVerbCnt); in write_path_key_from_data()
118 int GrShape::unstyledKeySize() const { in unstyledKeySize()
150 void GrShape::writeUnstyledKey(uint32_t* key) const { in writeUnstyledKey()
192 void GrShape::setInheritedKey(const GrShape &parent, GrStyle::Apply apply, SkScalar scale) { in setInheritedKey()
241 GrShape::GrShape(const GrShape& that) : fStyle(that.fStyle) { in GrShape() function in GrShape
262 GrShape::GrShape(const GrShape& parent, GrStyle::Apply apply, SkScalar scale) { in GrShape() function in GrShape
[all …]
DGrSWMaskHelper.h23 class GrShape; variable
56 void drawShape(const GrShape&, SkRegion::Op op, GrAA, uint8_t alpha);
71 const GrShape&,
DGrPathRenderer.h62 StencilSupport getStencilSupport(const GrShape& shape) const { in getStencilSupport()
81 const GrShape* fShape;
128 const GrShape* fShape;
186 const GrShape* fShape;
244 virtual StencilSupport onGetStencilSupport(const GrShape&) const { in onGetStencilSupport() argument
DGrPath.h17 class GrShape; variable
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
DGrSoftwarePathRenderer.cpp26 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, in get_unclipped_shape_dev_bounds()
50 const GrShape& shape, in get_shape_and_clip_bounds()
135 SkTLazy<GrShape> tmpShape; in onDrawPath()
DGrSWMaskHelper.cpp53 void GrSWMaskHelper::drawShape(const GrShape& shape, SkRegion::Op op, GrAA aa, uint8_t alpha) { in drawShape()
133 const GrShape& shape, in DrawShapeMaskToTexture()
DGrSoftwarePathRenderer.h40 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
DGrPath.cpp17 void GrPath::ComputeKey(const GrShape& shape, GrUniqueKey* key, bool* outIsVolatile) { in ComputeKey()
DGrClipStackClip.cpp115 GrShape shape(path, GrStyle::SimpleFill()); in PathNeedsSWRenderer()
473 GrShape shape(clipPath, GrStyle::SimpleFill()); in createSoftwareClipMask()
485 GrShape shape(path, GrStyle::SimpleFill()); in createSoftwareClipMask()
/external/skia/tests/
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);
DGrShapeTest.cpp22 static bool make_key(Key* key, const GrShape& shape) { in make_key()
89 virtual GrShape makeShape(const SkPaint&) const = 0;
113 GrShape makeShape(const SkPaint& paint) const override { in makeShape()
114 return GrShape(fRect, paint); in makeShape()
132 GrShape makeShape(const SkPaint& paint) const override { in makeShape()
133 return GrShape(fRRect, paint); in makeShape()
170 GrShape makeShape(const SkPaint& paint) const override { in makeShape()
171 return GrShape(fPath, paint); in makeShape()
262 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase()
284 const GrShape& baseShape() const { return fBase; } in baseShape()
[all …]
DDFPathRendererTest.cpp42 GrShape shape(path, style);
/external/skia/src/gpu/ops/
DGrSmallPathRenderer.h30 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
43 Key(const GrShape& shape, uint32_t dim) { this->set(shape, dim); } in Key()
44 Key(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); } in Key()
52 void set(const GrShape& shape, uint32_t dim) { in set()
63 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.cpp168 const GrShape& shape, in Make()
189 const GrShape& shape, in TessellatingPathOp()
349 GrShape fShape;
395 GrShape shape(path, style); in GR_DRAW_OP_TEST_DEFINE()
DGrTessellatingPathRenderer.h24 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
DGrDashLinePathRenderer.h19 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
DGrStencilAndCoverPathRenderer.h27 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument
DGrSmallPathRenderer.cpp143 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const GrShape& shape, in Make()
153 SmallPathOp(Helper::MakeArgs helperArgs, GrColor color, const GrShape& shape, in SmallPathOp()
386 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addDFPathToAtlas()
503 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, in addBMPathToAtlas()
723 GrShape fShape;
825 GrShape shape(GrTest::TestPath(random), GrStyle::SimpleFill()); in GR_DRAW_OP_TEST_DEFINE()
DGrMSAAPathRenderer.cpp35 static inline bool single_pass_shape(const GrShape& shape) { in single_pass_shape()
42 GrPathRenderer::StencilSupport GrMSAAPathRenderer::onGetStencilSupport(const GrShape& shape) const { in onGetStencilSupport()
591 const GrShape& shape, in internalDrawPath()
696 SkTLazy<GrShape> tmpShape; in onDrawPath()
697 const GrShape* shape = args.fShape; in onDrawPath()
DGrDefaultPathRenderer.cpp33 static inline bool single_pass_shape(const GrShape& shape) { in single_pass_shape()
52 GrDefaultPathRenderer::onGetStencilSupport(const GrShape& shape) const { in onGetStencilSupport()
478 const GrShape& shape, in internalDrawPath()
DGrStencilAndCoverPathRenderer.cpp48 static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const GrShape& shape) { in get_gr_path()
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.h38 StencilSupport onGetStencilSupport(const GrShape&) const override { in onGetStencilSupport() argument

12