/external/skqp/src/gpu/ |
D | GrMesh.h | 43 void setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance, 62 const GrBuffer* instanceBuffer, int instanceCount, 68 const GrBuffer* instanceBuffer, 170 inline void GrMesh::setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setInstanced() argument 172 SkASSERT(instanceBuffer); in setInstanced() 176 fInstanceBuffer = std::move(instanceBuffer); in setInstanced() 184 sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setIndexedInstanced() argument 188 SkASSERT(instanceBuffer); in setIndexedInstanced() 192 fInstanceBuffer = std::move(instanceBuffer); in setIndexedInstanced()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 274 const GrBuffer* instanceBuffer) { 286 if (instanceBuffer) { 287 SkASSERT(!instanceBuffer->isCPUBacked()); 288 SkASSERT(!instanceBuffer->isMapped()); 290 auto mtlInstanceBuffer = static_cast<const GrMtlBuffer*>(instanceBuffer)->mtlBuffer(); 302 const GrBuffer* instanceBuffer, 305 this->bindGeometry(vertexBuffer, instanceBuffer); 321 const GrBuffer* instanceBuffer, 325 this->bindGeometry(vertexBuffer, instanceBuffer);
|
D | GrMtlGpuCommandBuffer.h | 93 void bindGeometry(const GrBuffer* vertexBuffer, const GrBuffer* instanceBuffer); 114 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 119 const GrBuffer* instanceBuffer, int instanceCount,
|
/external/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 85 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument 112 this->bindInstanceBuffer(instanceBuffer.get(), 0); in onBindBuffers() 115 fActiveInstanceBuffer = std::move(instanceBuffer); in onBindBuffers() 129 void GrGLOpsRenderPass::bindInstanceBuffer(const GrBuffer* instanceBuffer, int baseInstance) { in bindInstanceBuffer() argument 133 SkASSERT(instanceBuffer); in bindInstanceBuffer() 134 SkASSERT(instanceBuffer->isCpuBuffer() || in bindInstanceBuffer() 135 !static_cast<const GrGpuBuffer*>(instanceBuffer)->isMapped()); in bindInstanceBuffer() 141 fAttribArrayState->set(fGpu, attrib.fLocation, instanceBuffer, attrib.fCPUType, in bindInstanceBuffer()
|
D | GrGLOpsRenderPass.h | 61 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|
/external/skia/src/gpu/d3d/ |
D | GrD3DPipelineState.cpp | 150 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() argument 162 if (instanceBuffer) { in bindBuffers() 163 auto* d3dInstanceBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in bindBuffers() 170 std::move(instanceBuffer), fInstanceStride); in bindBuffers()
|
D | GrD3DCommandList.cpp | 388 sk_sp<const GrBuffer> instanceBuffer, in setVertexBuffers() argument 392 fCurrentInstanceBuffer != instanceBuffer.get() || in setVertexBuffers() 397 fCurrentInstanceBuffer = instanceBuffer.get(); in setVertexBuffers() 409 if (instanceBuffer) { in setVertexBuffers() 410 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in setVertexBuffers() 412 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers() 414 this->addGrBuffer(std::move(instanceBuffer)); in setVertexBuffers()
|
D | GrD3DOpsRenderPass.h | 46 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|
D | GrD3DPipelineState.h | 53 sk_sp<const GrBuffer> instanceBuffer, sk_sp<const GrBuffer> vertexBuffer,
|
D | GrD3DOpsRenderPass.cpp | 248 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument 258 fCurrentPipelineState->bindBuffers(fGpu, std::move(indexBuffer), std::move(instanceBuffer), in onBindBuffers()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCCoverageProcessor.h | 103 void appendMesh(sk_sp<GrBuffer> instanceBuffer, int instanceCount, int baseInstance, in appendMesh() argument 106 this->appendGSMesh(std::move(instanceBuffer), instanceCount, baseInstance, out); in appendMesh() 108 this->appendVSMesh(std::move(instanceBuffer), instanceCount, baseInstance, out); in appendMesh() 253 void appendGSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance, 255 void appendVSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance,
|
D | GrCCCoverageProcessor_GSImpl.cpp | 399 void GrCCCoverageProcessor::appendGSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in appendGSMesh() argument 408 mesh.setVertexData(std::move(instanceBuffer), baseInstance * 2); in appendGSMesh()
|
D | GrCCCoverageProcessor_VSImpl.cpp | 530 void GrCCCoverageProcessor::appendVSMesh(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in appendVSMesh() argument 535 mesh.setIndexedInstanced(fVSIndexBuffer, fVSNumIndicesPerInstance, std::move(instanceBuffer), in appendVSMesh()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 101 const GrBuffer* instanceBuffer); 136 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 141 const GrBuffer* instanceBuffer, int instanceCount,
|
D | GrVkGpuCommandBuffer.cpp | 598 const GrBuffer* instanceBuffer) { in bindGeometry() argument 618 if (instanceBuffer) { in bindGeometry() 619 SkASSERT(instanceBuffer); in bindGeometry() 620 SkASSERT(!instanceBuffer->isCPUBacked()); in bindGeometry() 621 SkASSERT(!instanceBuffer->isMapped()); in bindGeometry() 624 static_cast<const GrVkVertexBuffer*>(instanceBuffer)); in bindGeometry() 806 const GrBuffer* instanceBuffer, in sendInstancedMeshToGpu() argument 810 this->bindGeometry(nullptr, vertexBuffer, instanceBuffer); in sendInstancedMeshToGpu() 821 const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument 827 this->bindGeometry(indexBuffer, vertexBuffer, instanceBuffer); in sendIndexedInstancedMeshToGpu()
|
/external/skia/src/gpu/dawn/ |
D | GrDawnOpsRenderPass.cpp | 176 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument 183 if (instanceBuffer) { in onBindBuffers() 184 wgpu::Buffer instance = static_cast<const GrDawnBuffer*>(instanceBuffer.get())->get(); in onBindBuffers()
|
D | GrDawnOpsRenderPass.h | 45 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|
/external/skia/src/gpu/ |
D | GrOpsRenderPass.cpp | 176 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() argument 189 SkASSERT((DynamicStateStatus::kDisabled == fInstanceBufferStatus) != SkToBool(instanceBuffer)); in bindBuffers() 190 if (instanceBuffer) { in bindBuffers() 204 this->onBindBuffers(std::move(indexBuffer), std::move(instanceBuffer), std::move(vertexBuffer), in bindBuffers()
|
D | GrOpsRenderPass.h | 75 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 184 …virtual void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|
D | GrOpFlushState.h | 229 void bindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, 232 fOpsRenderPass->bindBuffers(std::move(indexBuffer), std::move(instanceBuffer),
|
/external/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.mm | 262 sk_sp<const GrBuffer> instanceBuffer, 274 if (instanceBuffer) { 275 SkASSERT(!instanceBuffer->isCpuBuffer()); 276 SkASSERT(!static_cast<const GrGpuBuffer*>(instanceBuffer.get())->isMapped()); 277 this->setVertexBuffer(fActiveRenderCmdEncoder, instanceBuffer.get(), 0, inputBufferIndex++); 278 fActiveInstanceBuffer = std::move(instanceBuffer);
|
D | GrMtlOpsRenderPass.h | 43 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|
/external/skia/src/gpu/mock/ |
D | GrMockOpsRenderPass.h | 43 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.h | 101 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 106 const GrBuffer* instanceBuffer, int instanceCount, 281 const GrBuffer* instanceBuffer,
|
/external/skia/src/gpu/vk/ |
D | GrVkOpsRenderPass.h | 75 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer,
|