Home
last modified time | relevance | path

Searched refs:GrMesh (Results 1 – 25 of 56) sorted by relevance

123

/third_party/flutter/skia/src/gpu/ops/
DGrMeshDrawOp.h55 GrMesh* fMesh = nullptr;
86 sk_sp<const GrGeometryProcessor>, const GrMesh[], int meshCnt,
93 void recordDraw(sk_sp<const GrGeometryProcessor> gp, const GrMesh meshes[], int meshCnt = 1) {
138 GrMesh* allocMesh(GrPrimitiveType primitiveType) { in allocMesh()
139 return this->allocator()->make<GrMesh>(primitiveType); in allocMesh()
142 GrMesh* allocMeshes(int n) { return this->allocator()->makeArray<GrMesh>(n); } in allocMeshes()
DGrQuadPerEdgeAA.h107 bool ConfigureMeshIndices(GrMeshDrawOp::Target* target, GrMesh* mesh, const VertexSpec& spec,
/third_party/flutter/skia/src/gpu/
DGrMesh.h23 class GrMesh {
25 GrMesh(GrPrimitiveType primitiveType = GrPrimitiveType::kTriangles)
145 GR_MAKE_BITFIELD_CLASS_OPS(GrMesh::Flags);
147 inline void GrMesh::setNonIndexedNonInstanced(int vertexCount) { in setNonIndexedNonInstanced()
154 inline void GrMesh::setIndexed(sk_sp<const GrBuffer> indexBuffer, int indexCount, int baseIndex, in setIndexed()
171 inline void GrMesh::setIndexedPatterned(sk_sp<const GrBuffer> indexBuffer, int indexCount, in setIndexedPatterned()
188 inline void GrMesh::setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setInstanced()
200 inline void GrMesh::setIndexedInstanced(sk_sp<const GrBuffer> indexBuffer, int indexCount, in setIndexedInstanced()
215 inline void GrMesh::setVertexData(sk_sp<const GrBuffer> vertexBuffer, int baseVertex) { in setVertexData()
221 inline void GrMesh::sendToGpu(SendToGpuImpl* impl) const { in sendToGpu()
DGrGpuCommandBuffer.h18 class GrMesh; variable
100 const GrMesh[],
145 const GrMesh[],
DGrOpFlushState.h87 sk_sp<const GrGeometryProcessor>, const GrMesh[], int meshCnt,
136 const GrMesh* fMeshes = nullptr;
DGrGpuCommandBuffer.cpp39 const GrMesh meshes[], int meshCount, const SkRect& bounds) { in draw()
/third_party/flutter/skia/src/gpu/ccpr/
DGrSampleMaskProcessor.cpp94 int baseInstance, SkTArray<GrMesh>* out) const { in appendMesh()
100 GrMesh& mesh = out->emplace_back(GrPrimitiveType::kTriangles); in appendMesh()
108 GrMesh& mesh = out->emplace_back(GrPrimitiveType::kTriangleStrip); in appendMesh()
DGrGSCoverageProcessor.h31 SkTArray<GrMesh>* out) const override;
33 void draw(GrOpFlushState*, const GrPipeline&, const SkIRect scissorRects[], const GrMesh[],
DGrCCCoverageProcessor.h21 class GrMesh; variable
121 int baseInstance, SkTArray<GrMesh>* out) const = 0;
124 const GrMesh[], int meshCount, const SkRect& drawBounds) const;
DGrSampleMaskProcessor.h24 SkTArray<GrMesh>* out) const override;
DGrVSCoverageProcessor.h24 SkTArray<GrMesh>* out) const override;
DGrGSCoverageProcessor.cpp432 int baseInstance, SkTArray<GrMesh>* out) const { in appendMesh()
437 GrMesh& mesh = out->emplace_back(GrPrimitiveType::kLines); in appendMesh()
444 const GrMesh meshes[], int meshCount, const SkRect& drawBounds) const { in draw()
DGrCCFiller.h123 mutable SkSTArray<32, GrMesh> fMeshesScratchBuffer;
DGrCCStroker.h124 mutable SkSTArray<32, GrMesh> fMeshesBuffer;
DGrVSCoverageProcessor.cpp533 int baseInstance, SkTArray<GrMesh>* out) const { in appendMesh()
534 GrMesh& mesh = out->emplace_back(fTriangleType); in appendMesh()
DGrStencilAtlasOp.cpp127 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute()
DGrCCCoverageProcessor.cpp200 const GrMesh meshes[], int meshCount, const SkRect& drawBounds) const { in draw()
/third_party/flutter/skia/tests/
DGrMeshTest.cpp59 void drawMesh(const GrMesh& mesh);
153 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
193 GrMesh mesh(GrPrimitiveType::kTriangles); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 GrMesh mesh(indexed ? GrPrimitiveType::kTriangles in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
382 void DrawMeshHelper::drawMesh(const GrMesh& mesh) { in drawMesh()
DGrPipelineDynamicStateTest.cpp144 SkSTArray<kNumMeshes, GrMesh> meshes; in onExecute()
146 GrMesh& mesh = meshes.emplace_back(GrPrimitiveType::kTriangleStrip); in onExecute()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnGpuCommandBuffer.h41 class GrDawnGpuRTCommandBuffer : public GrGpuRTCommandBuffer, private GrMesh::SendToGpuImpl {
82 const GrMesh mesh[],
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpuCommandBuffer.h50 class GrMtlGpuRTCommandBuffer : public GrGpuRTCommandBuffer, private GrMesh::SendToGpuImpl {
90 const GrMesh mesh[],
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h93 class GrVkGpuRTCommandBuffer : public GrGpuRTCommandBuffer, private GrMesh::SendToGpuImpl {
150 const GrMesh[],
/third_party/flutter/skia/src/gpu/mock/
DGrMockGpuCommandBuffer.h54 const GrMesh[], int meshCount, const SkRect& bounds) override { in onDraw() argument
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpuCommandBuffer.h97 const GrMesh mesh[], in onDraw()
/third_party/flutter/skia/gm/
Dfwidth_squircle.cpp174 GrMesh mesh(GrPrimitiveType::kTriangleStrip); in onExecute()

123