HomeSort by relevance Sort by last modified time
    Searched refs:GrShape (Results 1 - 25 of 28) sorted by null

1 2

  /external/skia/src/gpu/ops/
GrMSAAPathRenderer.h 16 StencilSupport onGetStencilSupport(const GrShape&) const override;
30 const GrShape&,
GrDashLinePathRenderer.h 19 StencilSupport onGetStencilSupport(const GrShape&) const override {
GrTessellatingPathRenderer.h 24 StencilSupport onGetStencilSupport(const GrShape&) const override {
GrDefaultPathRenderer.h 25 StencilSupport onGetStencilSupport(const GrShape&) const override;
39 const GrShape&,
GrStencilAndCoverPathRenderer.h 27 StencilSupport onGetStencilSupport(const GrShape&) const override {
GrSmallPathRenderer.h 14 #include "GrShape.h"
27 StencilSupport onGetStencilSupport(const GrShape&) const override {
40 Key(const GrShape& shape, uint32_t dim) { this->set(shape, dim); }
41 Key(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); }
49 void set(const GrShape& shape, uint32_t dim) {
60 void set(const GrShape& shape, const SkMatrix& ctm) {
100 // The key is composed of the GrShape's key, and either the dimensions of the DF
GrTessellatingPathRenderer.cpp 164 const GrShape& shape,
323 const GrShape& shape,
344 GrShape fShape;
389 GrShape shape(path, style);
GrStencilAndCoverPathRenderer.cpp 50 static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const GrShape& shape) {
GrSmallPathRenderer.cpp 144 static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const GrShape& shape,
165 SmallPathOp(GrColor color, const GrShape& shape, const SkMatrix& viewMatrix,
392 ShapeData* shapeData, const GrShape& shape, uint32_t dimension,
510 const GrShape& shape, const SkMatrix& ctm) const {
731 GrShape fShape;
    [all...]
GrMSAAPathRenderer.cpp 36 static inline bool single_pass_shape(const GrShape& shape) {
43 GrPathRenderer::StencilSupport GrMSAAPathRenderer::onGetStencilSupport(const GrShape& shape) const {
576 const GrShape& shape,
682 SkTLazy<GrShape> tmpShape;
683 const GrShape* shape = args.fShape;
GrDefaultPathRenderer.cpp 38 static inline bool single_pass_shape(const GrShape& shape) {
57 GrDefaultPathRenderer::onGetStencilSupport(const GrShape& shape) const {
415 const GrShape& shape,
  /external/skia/src/gpu/
GrShape.h 20 * It is possible to apply the style to the GrShape to produce a new GrShape where the geometry
35 class GrShape {
41 GrShape() { this->initType(Type::kEmpty); }
43 explicit GrShape(const SkPath& path) : GrShape(path, GrStyle::SimpleFill()) {}
45 explicit GrShape(const SkRRect& rrect) : GrShape(rrect, GrStyle::SimpleFill()) {}
47 explicit GrShape(const SkRect& rect) : GrShape(rect, GrStyle::SimpleFill()) {
    [all...]
GrPath.h 17 class GrShape;
35 static void ComputeKey(const GrShape&, GrUniqueKey* key, bool* outIsVolatile);
GrSWMaskHelper.h 23 class GrShape;
56 void drawShape(const GrShape&, SkRegion::Op op, GrAA, uint8_t alpha);
71 const GrShape&,
GrShape.cpp 8 #include "GrShape.h"
10 GrShape& GrShape::operator=(const GrShape& that) {
32 SkRect GrShape::bounds() const {
66 SkRect GrShape::styledBounds() const {
78 if (verbCnt > GrShape::kMaxKeyFromDataVerbCnt) {
98 SkASSERT(verbCnt <= GrShape::kMaxKeyFromDataVerbCnt);
118 int GrShape::unstyledKeySize() const {
150 void GrShape::writeUnstyledKey(uint32_t* key) const
    [all...]
GrPathRenderer.h 15 #include "GrShape.h"
67 StencilSupport getStencilSupport(const GrShape& shape) const {
86 const GrShape* fShape;
133 const GrShape* fShape;
191 const GrShape* fShape;
249 virtual StencilSupport onGetStencilSupport(const GrShape&) const {
GrSoftwarePathRenderer.h 40 StencilSupport onGetStencilSupport(const GrShape&) const override {
GrPath.cpp 9 #include "GrShape.h"
17 void GrPath::ComputeKey(const GrShape& shape, GrUniqueKey* key, bool* outIsVolatile) {
GrSoftwarePathRenderer.cpp 20 // not found and try again with the new GrShape.
26 static bool get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix,
50 const GrShape& shape,
137 SkTLazy<GrShape> tmpShape;
GrSWMaskHelper.cpp 15 #include "GrShape.h"
57 void GrSWMaskHelper::drawShape(const GrShape& shape, SkRegion::Op op, GrAA aa, uint8_t alpha) {
137 const GrShape& shape,
GrClipStackClip.cpp 116 GrShape shape(path, GrStyle::SimpleFill());
466 GrShape shape(clipPath, GrStyle::SimpleFill());
478 GrShape shape(path, GrStyle::SimpleFill());
GrReducedClip.cpp 731 GrShape shape(clipPath, GrStyle::SimpleFill());
    [all...]
  /external/skia/tests/
GpuDrawPathTest.cpp 14 #include "GrShape.h"
116 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);
131 // Ensure that recreating the GrShape doesn't change the key.
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);
GrShapeTest.cpp 12 #include "GrShape.h"
22 static bool make_key(Key* key, const GrShape& shape) {
83 * Geo is a factory for creating a GrShape from another representation. It also answers some
84 * questions about expected behavior for GrShape given the inputs.
89 virtual GrShape makeShape(const SkPaint&) const = 0;
92 // applied by GrShape in its constructor (without calling GrShape::applyStyle).
93 // These unfortunately rely on knowing details of GrShape's implementation.
95 // test code with GrShape implementation details.
99 // Is this something we expect GrShape to recognize as something simpler than a path
    [all...]
DFPathRendererTest.cpp 25 // This extra line wasn't in the original bug but was added to fake out GrShape's special
42 GrShape shape(path, style);

Completed in 2095 milliseconds

1 2