/external/skia/src/utils/ |
SkShadowTessellator.h | 17 class SkVertices; 28 sk_sp<SkVertices> MakeAmbient(const SkPath& path, const SkMatrix& ctm, 36 sk_sp<SkVertices> MakeSpot(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlane,
|
SkPatchUtils.h | 13 #include "SkVertices.h" 50 static sk_sp<SkVertices> MakeVertices(const SkPoint cubics[12], const SkColor colors[4],
|
SkShadowUtils.cpp | 22 #include "SkVertices.h" 99 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, 157 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, 190 sk_sp<SkVertices> find(const AmbientVerticesFactory& ambient, const SkMatrix& matrix, 195 sk_sp<SkVertices> add(const SkPath& devPath, const AmbientVerticesFactory& ambient, 200 sk_sp<SkVertices> find(const SpotVerticesFactory& spot, const SkMatrix& matrix, 205 sk_sp<SkVertices> add(const SkPath& devPath, const SpotVerticesFactory& spot, 216 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, 237 sk_sp<SkVertices> add(const SkPath& path, const FACTORY& factory, const SkMatrix& matrix, 239 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix, translate) [all...] |
/external/skia/include/core/ |
SkVertices.h | 20 class SkVertices : public SkNVRefCnt<SkVertices> { 32 static sk_sp<SkVertices> MakeCopy(VertexMode mode, int vertexCount, 39 static sk_sp<SkVertices> MakeCopy(VertexMode mode, int vertexCount, 67 sk_sp<SkVertices> detach(); 75 sk_sp<SkVertices> fVertices; 77 friend class SkVertices; 103 static sk_sp<SkVertices> Decode(const void* buffer, size_t length); 112 SkVertices() {} 115 friend class SkNVRefCnt<SkVertices>; [all...] |
/external/skia/src/core/ |
SkVertices.cpp | 9 #include "SkVertices.h" 23 struct SkVertices::Sizes { 30 int64_t total = sizeof(SkVertices) + vSize + tSize + cSize + iSize; 39 fArrays = fTotal - sizeof(SkVertices); // just the sum of the arrays 45 size_t fTotal; // size of entire SkVertices allocation (obj + arrays) 53 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, 55 bool hasTexs = SkToBool(builderFlags & SkVertices::kHasTexCoords_BuilderFlag); 56 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag); 58 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); 61 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount [all...] |
SkVertState.cpp | 95 VertState::Proc VertState::chooseProc(SkVertices::VertexMode mode) { 97 case SkVertices::kTriangles_VertexMode: 99 case SkVertices::kTriangleStrip_VertexMode: 101 case SkVertices::kTriangleFan_VertexMode:
|
SkVertState.h | 11 #include "SkVertices.h" 43 Proc chooseProc(SkVertices::VertexMode mode);
|
SkPictureData.h | 147 const SkVertices* getVertices(SkReadBuffer* reader) const { 194 const SkVertices** fVerticesRefs;
|
SkPictureRecord.h | 18 #include "SkVertices.h" 47 const SkTDArray<const SkVertices* >& getVerticesRefs() const { 148 void addVertices(const SkVertices*); 201 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override; 263 SkTDArray<const SkVertices*> fVerticesRefs;
|
SkThreadedBMPDevice.h | 62 void drawVertices(const SkVertices*, SkBlendMode, const SkPaint&) override;
|
SkLiteDL.h | 77 void drawVertices(const SkVertices*, SkBlendMode, const SkPaint&);
|
SkOverdrawCanvas.h | 41 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override;
|
/external/skia/tests/ |
VerticesTest.cpp | 8 #include "SkVertices.h" 11 static bool equal(const SkVertices* v0, const SkVertices* v1) { 56 const uint32_t texFlags[] = { 0, SkVertices::kHasTexCoords_BuilderFlag }; 57 const uint32_t colFlags[] = { 0, SkVertices::kHasColors_BuilderFlag }; 62 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, vCount, iCount, flags); 78 sk_sp<SkVertices> v0 = builder.detach(); 80 sk_sp<SkVertices> v1 = SkVertices::Decode(data->data(), data->size()) [all...] |
/external/skia/src/gpu/ops/ |
GrDrawVerticesOp.h | 19 #include "SkVertices.h" 22 class SkVertices; 33 * Draw a SkVertices. The GrPaint param's color is used if the vertices lack per-vertex color. 35 * primitive type drawn is derived from the SkVertices object, unless overridePrimType is 39 static std::unique_ptr<GrDrawOp> Make(GrPaint&&, sk_sp<SkVertices>, const SkMatrix& viewMatrix, 43 GrDrawVerticesOp(const Helper::MakeArgs& helperArgs, GrColor, sk_sp<SkVertices>, 76 sk_sp<SkVertices> fVertices; 117 // the SkVertices mode (though fPrimitiveType may have been inferred from it).
|
GrDrawVerticesOp.cpp | 14 sk_sp<SkVertices> vertices, 29 sk_sp<SkVertices> vertices, GrPrimitiveType primitiveType, 411 static constexpr SkVertices::VertexMode kIgnoredMode = SkVertices::kTriangles_VertexMode; 412 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, vertexCount, positions.begin(),
|
/external/skia/gm/ |
vertices.cpp | 14 #include "SkVertices.h" 171 auto v = SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 198 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, kMeshVertexCnt, 3 * kNumTris, 199 SkVertices::kHasColors_BuilderFlag | 200 SkVertices::kHasTexCoords_BuilderFlag); 236 auto v = SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, kMeshVertexCnt,
|
drawatlas.cpp | 174 #include "SkVertices.h" 176 static sk_sp<SkVertices> make_vertices(sk_sp<SkImage> image, const SkRect& r, 181 return SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 4,
|
/external/skia/bench/ |
VertBench.cpp | 14 #include "SkVertices.h" 85 auto verts = SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, PTS,
|
/external/skia/samplecode/ |
SampleVertices.cpp | 21 #include "SkVertices.h" 86 auto verts = SkVertices::MakeCopy(fRecs[i].fMode, fRecs[i].fCount, 122 SkVertices::VertexMode fMode; 135 rec->fMode = SkVertices::kTriangles_VertexMode; 152 rec->fMode = SkVertices::kTriangleFan_VertexMode; 182 rec->fMode = SkVertices::kTriangleStrip_VertexMode;
|
/external/skia/src/gpu/ |
SkGr.h | 22 #include "SkVertices.h" 166 static inline GrPrimitiveType SkVertexModeToGrPrimitiveType(SkVertices::VertexMode mode) { 168 case SkVertices::kTriangles_VertexMode: 170 case SkVertices::kTriangleStrip_VertexMode: 172 case SkVertices::kTriangleFan_VertexMode:
|
/external/skia/src/svg/ |
SkSVGDevice.h | 47 void drawVertices(const SkVertices*, SkBlendMode, const SkPaint& paint) override;
|
/external/skia/include/utils/ |
SkLuaCanvas.h | 13 #include "SkVertices.h" 61 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override;
|
SkNWayCanvas.h | 73 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override;
|
SkNoDrawCanvas.h | 12 #include "SkVertices.h" 74 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override {}
|
SkPaintFilterCanvas.h | 77 void onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint&) override;
|