Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dmesh.cpp124 fColorVB = SkMesh::CopyVertexBuffer(dc, fColorVB); in onGpuSetup()
125 fColorIndexedVB = SkMesh::CopyVertexBuffer(dc, fColorIndexedVB); in onGpuSetup()
126 fIB[1] = SkMesh::CopyIndexBuffer (dc, fIB[0]); in onGpuSetup()
152 SkMesh::Result result; in onDraw()
156 result = SkMesh::Make(fSpecWithColor, in onDraw()
157 SkMesh::Mode::kTriangleStrip, in onDraw()
164 result = SkMesh::Make(fSpecWithNoColor, in onDraw()
165 SkMesh::Mode::kTriangleStrip, in onDraw()
176 result = SkMesh::MakeIndexed(fSpecWithColor, in onDraw()
177 SkMesh::Mode::kTriangles, in onDraw()
[all …]
/external/skia/include/core/
DSkMesh.h249 class SkMesh {
285 SkMesh();
286 ~SkMesh();
288 SkMesh(const SkMesh&);
289 SkMesh(SkMesh&&);
291 SkMesh& operator=(const SkMesh&);
292 SkMesh& operator=(SkMesh&&);
418 struct SkMesh::Result { SkMesh mesh; SkString error; };
DBUILD.bazel68 "SkMesh.h",
DSkCanvas.h57 class SkMesh; variable
2014 void drawMesh(const SkMesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint);
2277 virtual void onDrawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&);
/external/skia/src/core/
DSkMesh.cpp51 using IndexBuffer = SkMesh::IndexBuffer;
52 using VertexBuffer = SkMesh::VertexBuffer;
645 SkMesh::SkMesh() = default;
646 SkMesh::~SkMesh() = default;
648 SkMesh::SkMesh(const SkMesh&) = default;
649 SkMesh::SkMesh(SkMesh&&) = default;
651 SkMesh& SkMesh::operator=(const SkMesh&) = default;
652 SkMesh& SkMesh::operator=(SkMesh&&) = default;
654 sk_sp<IndexBuffer> SkMesh::MakeIndexBuffer(GrDirectContext* dc, const void* data, size_t size) { in MakeIndexBuffer()
665 sk_sp<IndexBuffer> SkMesh::CopyIndexBuffer(GrDirectContext* dc, sk_sp<IndexBuffer> src) { in CopyIndexBuffer()
[all …]
DSkBitmapDevice.h34 class SkMesh; variable
92 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
DSkRecorder.h31 class SkMesh; variable
141 void onDrawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
DSkMeshPriv.h123 class IB : public Buffer, public SkMesh::IndexBuffer {};
124 class VB : public Buffer, public SkMesh::VertexBuffer {};
DSkDevice.h31 class SkMesh; variable
317 virtual void drawMesh(const SkMesh& mesh, sk_sp<SkBlender>, const SkPaint&) = 0;
576 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override {} in drawMesh() argument
DSkRecorder.cpp47 class SkMesh;
285 void SkRecorder::onDrawMesh(const SkMesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) { in onDrawMesh()
DSkRecords.h332 SkMesh mesh;
DBUILD.bazel198 "SkMesh.cpp",
DSkBitmapDevice.cpp542 void SkBitmapDevice::drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) { in drawMesh() argument
DSkCanvas.cpp1929 void SkCanvas::drawMesh(const SkMesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) { in drawMesh()
2623 void SkCanvas::onDrawMesh(const SkMesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) { in onDrawMesh()
/external/skia/src/gpu/ganesh/ops/
DDrawMeshOp.h19 class SkMesh; variable
25 const SkMesh&,
DDrawMeshOp.cpp32 GrPrimitiveType primitive_type(SkMesh::Mode mode) { in primitive_type()
34 case SkMesh::Mode::kTriangles: return GrPrimitiveType::kTriangles; in primitive_type()
35 case SkMesh::Mode::kTriangleStrip: return GrPrimitiveType::kTriangleStrip; in primitive_type()
455 const SkMesh&,
512 explicit Mesh(const SkMesh& mesh);
616 MeshOp::Mesh::Mesh(const SkMesh& mesh) { in Mesh()
697 const SkMesh& mesh, in MeshOp()
1056 const SkMesh& mesh, in Make()
/external/skia/src/svg/
DSkSVGDevice.h44 class SkMesh; variable
73 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
DSkSVGDevice.cpp67 class SkMesh;
1149 void SkSVGDevice::drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) { in drawMesh() argument
/external/skia/src/pdf/
DSkPDFDevice.h97 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
/external/skia/src/xps/
DSkXPSDevice.h99 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
/external/skia/src/gpu/graphite/
DDevice.h168 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override {} in drawMesh() argument
/external/skia/src/gpu/ganesh/
DDevice_v1.h135 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
DSurfaceDrawContext.h391 const SkMesh& mesh);
/external/skia/
DRELEASE_NOTES.txt54 * SkMesh::Make and SkMesh::MakeIndexed now return a SkMesh and error message string.
62 * SkMesh vertex and fragment main() signatures have changed. See docs on SkMeshSpecification.
65 * SkMesh buffer factories added that make copies of CPU-backed buffers.
87 * SkMesh and SkMeshSpecification has separate sk_sp and bare ptr getters for ref counted types.
107 * SkMesh API: Allows a user to draw a vertex mesh with custom attributes and
/external/skia/gn/
Dcore.gni73 "$_include/core/SkMesh.h",
416 "$_src/core/SkMesh.cpp",

12