Home
last modified time | relevance | path

Searched refs:instanceBuffer (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/
DGrMesh.h42 void setInstanced(const GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
45 const GrBuffer* instanceBuffer, int instanceCount, int baseInstance=0);
63 int baseVertex, const GrBuffer* instanceBuffer,
69 int baseVertex, const GrBuffer* instanceBuffer,
169 inline void GrMesh::setInstanced(const GrBuffer* instanceBuffer, int instanceCount, in setInstanced() argument
171 SkASSERT(instanceBuffer); in setInstanced()
175 fInstanceBuffer.reset(instanceBuffer); in setInstanced()
182 const GrBuffer* instanceBuffer, int instanceCount, in setIndexedInstanced() argument
186 SkASSERT(instanceBuffer); in setIndexedInstanced()
190 fInstanceBuffer.reset(instanceBuffer); in setIndexedInstanced()
/external/skia/src/gpu/
DGrMesh.h42 void setInstanced(const GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
45 const GrBuffer* instanceBuffer, int instanceCount, int baseInstance=0);
63 int baseVertex, const GrBuffer* instanceBuffer,
69 int baseVertex, const GrBuffer* instanceBuffer,
169 inline void GrMesh::setInstanced(const GrBuffer* instanceBuffer, int instanceCount, in setInstanced() argument
171 SkASSERT(instanceBuffer); in setInstanced()
175 fInstanceBuffer.reset(instanceBuffer); in setInstanced()
182 const GrBuffer* instanceBuffer, int instanceCount, in setIndexedInstanced() argument
186 SkASSERT(instanceBuffer); in setIndexedInstanced()
190 fInstanceBuffer.reset(instanceBuffer); in setIndexedInstanced()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.h114 void appendMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance, in appendMesh() argument
117 this->appendGSMesh(instanceBuffer, instanceCount, baseInstance, out); in appendMesh()
119 this->appendVSMesh(instanceBuffer, instanceCount, baseInstance, out); in appendMesh()
232 void appendGSMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
234 void appendVSMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
DGrCCCoverageProcessor_GSImpl.cpp335 void GrCCCoverageProcessor::appendGSMesh(GrBuffer* instanceBuffer, int instanceCount, in appendGSMesh() argument
344 mesh.setVertexData(instanceBuffer, baseInstance * 2); in appendGSMesh()
DGrCCCoverageProcessor_VSImpl.cpp453 void GrCCCoverageProcessor::appendVSMesh(GrBuffer* instanceBuffer, int instanceCount, in appendVSMesh() argument
457 mesh.setIndexedInstanced(fIndexBuffer.get(), fNumIndicesPerInstance, instanceBuffer, in appendVSMesh()
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.h123 void appendMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance, in appendMesh() argument
126 this->appendGSMesh(instanceBuffer, instanceCount, baseInstance, out); in appendMesh()
128 this->appendVSMesh(instanceBuffer, instanceCount, baseInstance, out); in appendMesh()
241 void appendGSMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
243 void appendVSMesh(GrBuffer* instanceBuffer, int instanceCount, int baseInstance,
DGrCCCoverageProcessor_GSImpl.cpp349 void GrCCCoverageProcessor::appendGSMesh(GrBuffer* instanceBuffer, int instanceCount, in appendGSMesh() argument
358 mesh.setVertexData(instanceBuffer, baseInstance * 2); in appendGSMesh()
DGrCCCoverageProcessor_VSImpl.cpp467 void GrCCCoverageProcessor::appendVSMesh(GrBuffer* instanceBuffer, int instanceCount, in appendVSMesh() argument
471 mesh.setIndexedInstanced(fIndexBuffer.get(), fNumIndicesPerInstance, instanceBuffer, in appendVSMesh()
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp465 const GrBuffer* instanceBuffer) { in bindGeometry() argument
486 SkASSERT(instanceBuffer); in bindGeometry()
487 SkASSERT(!instanceBuffer->isCPUBacked()); in bindGeometry()
488 SkASSERT(!instanceBuffer->isMapped()); in bindGeometry()
491 static_cast<const GrVkVertexBuffer*>(instanceBuffer)); in bindGeometry()
656 const GrBuffer* instanceBuffer, in sendInstancedMeshToGpu() argument
660 this->bindGeometry(primProc, nullptr, vertexBuffer, instanceBuffer); in sendInstancedMeshToGpu()
672 const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument
676 this->bindGeometry(primProc, indexBuffer, vertexBuffer, instanceBuffer); in sendIndexedInstancedMeshToGpu()
DGrVkGpuCommandBuffer.h88 const GrBuffer* instanceBuffer);
120 const GrBuffer* instanceBuffer, int instanceCount,
126 const GrBuffer* instanceBuffer, int instanceCount,
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp517 const GrBuffer* instanceBuffer) { in bindGeometry() argument
538 SkASSERT(instanceBuffer); in bindGeometry()
539 SkASSERT(!instanceBuffer->isCPUBacked()); in bindGeometry()
540 SkASSERT(!instanceBuffer->isMapped()); in bindGeometry()
543 static_cast<const GrVkVertexBuffer*>(instanceBuffer)); in bindGeometry()
700 const GrBuffer* instanceBuffer, in sendInstancedMeshToGpu() argument
704 this->bindGeometry(primProc, nullptr, vertexBuffer, instanceBuffer); in sendInstancedMeshToGpu()
716 const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument
720 this->bindGeometry(primProc, indexBuffer, vertexBuffer, instanceBuffer); in sendIndexedInstancedMeshToGpu()
DGrVkGpuCommandBuffer.h88 const GrBuffer* instanceBuffer);
120 const GrBuffer* instanceBuffer, int instanceCount,
126 const GrBuffer* instanceBuffer, int instanceCount,
/external/skia/src/gpu/gl/
DGrGLGpu.h109 const GrBuffer* instanceBuffer, int instanceCount,
115 const GrBuffer* instanceBuffer, int instanceCount,
272 const GrBuffer* instanceBuffer,
DGrGLGpu.cpp1865 const GrBuffer* instanceBuffer, in setupGeometry() argument
1890 SkASSERT(instanceBuffer && !instanceBuffer->isMapped()); in setupGeometry()
1891 bindings[1].fBuffer = instanceBuffer; in setupGeometry()
1893 bindings[1].fBufferOffset = instanceBuffer->baseOffset() + baseInstance * instanceStride; in setupGeometry()
2661 const GrBuffer* instanceBuffer, int instanceCount, in sendInstancedMeshToGpu() argument
2666 this->setupGeometry(primProc, nullptr, vertexBuffer, 0, instanceBuffer, baseInstance + i); in sendInstancedMeshToGpu()
2677 int baseVertex, const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument
2683 instanceBuffer, baseInstance); in sendIndexedInstancedMeshToGpu()
/external/skqp/src/gpu/gl/
DGrGLGpu.h119 const GrBuffer* instanceBuffer, int instanceCount,
125 const GrBuffer* instanceBuffer, int instanceCount,
290 const GrBuffer* instanceBuffer,
DGrGLGpu.cpp1869 const GrBuffer* instanceBuffer, in setupGeometry() argument
1894 SkASSERT(instanceBuffer && !instanceBuffer->isMapped()); in setupGeometry()
1895 bindings[1].fBuffer = instanceBuffer; in setupGeometry()
1897 bindings[1].fBufferOffset = instanceBuffer->baseOffset() + baseInstance * instanceStride; in setupGeometry()
2686 const GrBuffer* instanceBuffer, int instanceCount, in sendInstancedMeshToGpu() argument
2691 this->setupGeometry(primProc, nullptr, vertexBuffer, 0, instanceBuffer, baseInstance + i); in sendInstancedMeshToGpu()
2702 int baseVertex, const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument
2708 instanceBuffer, baseInstance); in sendIndexedInstancedMeshToGpu()