/third_party/flutter/skia/src/gpu/ |
D | GrMesh.h | 48 void setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, int baseInstance, 51 sk_sp<const GrBuffer> instanceBuffer, int instanceCount, 68 const GrBuffer* instanceBuffer, int instanceCount, 74 const GrBuffer* instanceBuffer, 188 inline void GrMesh::setInstanced(sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setInstanced() argument 193 fInstanceBuffer = std::move(instanceBuffer); in setInstanced() 201 sk_sp<const GrBuffer> instanceBuffer, int instanceCount, in setIndexedInstanced() argument 208 fInstanceBuffer = std::move(instanceBuffer); in setIndexedInstanced()
|
/third_party/skia/experimental/graphite/src/ |
D | CommandBuffer.cpp | 52 sk_sp<Buffer> instanceBuffer, size_t instanceOffset) { in bindVertexBuffers() argument 54 instanceBuffer.get(), instanceOffset); in bindVertexBuffers() 58 if (instanceBuffer) { in bindVertexBuffers() 59 this->trackResource(std::move(instanceBuffer)); in bindVertexBuffers()
|
D | CommandBuffer.h | 67 sk_sp<Buffer> instanceBuffer, size_t instanceOffset); 112 const Buffer* instanceBuffer, size_t instanceOffset) = 0;
|
/third_party/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 100 sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument 127 this->bindInstanceBuffer(instanceBuffer.get(), 0); in onBindBuffers() 130 fActiveInstanceBuffer = std::move(instanceBuffer); in onBindBuffers() 144 void GrGLOpsRenderPass::bindInstanceBuffer(const GrBuffer* instanceBuffer, int baseInstance) { in bindInstanceBuffer() argument 148 SkASSERT(instanceBuffer); in bindInstanceBuffer() 149 SkASSERT(instanceBuffer->isCpuBuffer() || in bindInstanceBuffer() 150 !static_cast<const GrGpuBuffer*>(instanceBuffer)->isMapped()); in bindInstanceBuffer() 156 fAttribArrayState->set(fGpu, attrib.fLocation, instanceBuffer, attrib.fCPUType, in bindInstanceBuffer()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 632 const GrGpuBuffer* instanceBuffer) { in bindGeometry() argument 651 if (instanceBuffer) { in bindGeometry() 652 SkASSERT(instanceBuffer); in bindGeometry() 653 SkASSERT(!instanceBuffer->isMapped()); in bindGeometry() 656 static_cast<const GrVkVertexBuffer*>(instanceBuffer)); in bindGeometry() 841 const GrBuffer* instanceBuffer, in sendInstancedMeshToGpu() argument 846 SkASSERT(!instanceBuffer || !instanceBuffer->isCpuBuffer()); in sendInstancedMeshToGpu() 848 auto gpuInstanceBuffer = static_cast<const GrGpuBuffer*>(instanceBuffer); in sendInstancedMeshToGpu() 860 const GrBuffer* instanceBuffer, in sendIndexedInstancedMeshToGpu() argument 867 SkASSERT(!instanceBuffer || !instanceBuffer->isCpuBuffer()); in sendIndexedInstancedMeshToGpu() [all …]
|
D | GrVkGpuCommandBuffer.h | 138 const GrGpuBuffer* instanceBuffer); 173 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 178 const GrBuffer* instanceBuffer, int instanceCount,
|
/third_party/skia/tests/graphite/ |
D | CommandBufferTest.cpp | 156 sk_sp<Buffer> instanceBuffer = gpu->resourceProvider()->findOrCreateBuffer( in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local 158 auto instances = (InstanceData*)instanceBuffer->map(); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 165 instanceBuffer->unmap(); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 166 commandBuffer->bindVertexBuffers(nullptr, 0, instanceBuffer, 0); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DPipelineState.cpp | 154 sk_sp<const GrBuffer> instanceBuffer, in bindBuffers() argument 166 if (instanceBuffer) { in bindBuffers() 167 auto* d3dInstanceBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in bindBuffers() 174 std::move(instanceBuffer), fInstanceStride); in bindBuffers()
|
D | GrD3DCommandList.cpp | 372 sk_sp<const GrBuffer> instanceBuffer, in setVertexBuffers() argument 376 fCurrentInstanceBuffer != instanceBuffer.get() || in setVertexBuffers() 381 fCurrentInstanceBuffer = instanceBuffer.get(); in setVertexBuffers() 393 if (instanceBuffer) { in setVertexBuffers() 394 auto* d3dBuffer = static_cast<const GrD3DBuffer*>(instanceBuffer.get()); in setVertexBuffers() 396 views[numViews].SizeInBytes = instanceBuffer->size(); in setVertexBuffers() 398 this->addGrBuffer(std::move(instanceBuffer)); in setVertexBuffers()
|
D | GrD3DPipelineState.h | 53 sk_sp<const GrBuffer> instanceBuffer, sk_sp<const GrBuffer> vertexBuffer,
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrSampleMaskProcessor.cpp | 93 void GrSampleMaskProcessor::appendMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, in appendMesh() argument 102 mesh.setVertexData(std::move(instanceBuffer), baseInstance * 3); in appendMesh() 109 mesh.setInstanced(std::move(instanceBuffer), instanceCount, baseInstance, 4); in appendMesh()
|
D | GrSampleMaskProcessor.h | 23 void appendMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance,
|
D | GrVSCoverageProcessor.h | 23 void appendMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance,
|
D | GrGSCoverageProcessor.h | 30 void appendMesh(sk_sp<const GrGpuBuffer> instanceBuffer, int instanceCount, int baseInstance,
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 348 const GrBuffer* instanceBuffer) { 357 if (instanceBuffer) { 358 SkASSERT(!instanceBuffer->isCpuBuffer()); 359 SkASSERT(!static_cast<const GrGpuBuffer*>(instanceBuffer)->isMapped()); 361 const GrMtlBuffer* grMtlBuffer = static_cast<const GrMtlBuffer*>(instanceBuffer); 414 const GrBuffer* instanceBuffer, 417 this->bindGeometry(vertexBuffer, 0, instanceBuffer); 433 const GrBuffer* instanceBuffer, 437 this->bindGeometry(vertexBuffer, 0, instanceBuffer);
|
D | GrMtlGpuCommandBuffer.h | 102 const GrBuffer* instanceBuffer); 115 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 120 const GrBuffer* instanceBuffer, int instanceCount,
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | DrawVertexAndIndexBufferOOBValidationTests.cpp | 394 wgpu::Buffer instanceBuffer = CreateBuffer(instanceParams.bufferSize); in TEST_F() local 399 {1, instanceBuffer, instanceParams.bufferOffsetForEncoder, in TEST_F() 454 wgpu::Buffer instanceBuffer = CreateBuffer(5 * kFloat32x2Stride); in TEST_F() local 457 {1, instanceBuffer, 0, wgpu::kWholeSize}}; in TEST_F() 505 wgpu::Buffer instanceBuffer = CreateBuffer(instanceParams.bufferSize); in TEST_F() local 510 {1, instanceBuffer, instanceParams.bufferOffsetForEncoder, in TEST_F() 587 wgpu::Buffer instanceBuffer = CreateBuffer(instanceParams.bufferSize); in TEST_F() local 592 {1, instanceBuffer, instanceParams.bufferOffsetForEncoder, in TEST_F()
|
/third_party/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,
|
/third_party/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()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnGpuCommandBuffer.h | 103 const GrBuffer* instanceBuffer, int instanceCount, 109 const GrBuffer* instanceBuffer, int instanceCount,
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.mm | 321 sk_sp<const GrBuffer> instanceBuffer, 339 if (instanceBuffer) { 340 SkASSERT(!instanceBuffer->isCpuBuffer()); 341 SkASSERT(!static_cast<const GrGpuBuffer*>(instanceBuffer.get())->isMapped()); 342 this->setVertexBuffer(fActiveRenderCmdEncoder, instanceBuffer.get(), 0, inputBufferIndex++); 343 fActiveInstanceBuffer = std::move(instanceBuffer);
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlCommandBuffer.mm | 172 const skgpu::Buffer* instanceBuffer, 182 if (instanceBuffer) { 183 id<MTLBuffer> mtlBuffer = static_cast<const Buffer*>(instanceBuffer)->mtlBuffer();
|
/third_party/skia/src/gpu/mock/ |
D | GrMockOpsRenderPass.h | 43 void onBindBuffers(sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, in onBindBuffers() argument
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLGpu.h | 102 int baseVertex, const GrBuffer* instanceBuffer, int instanceCount, 107 const GrBuffer* instanceBuffer, int instanceCount, 303 const GrBuffer* instanceBuffer,
|