/third_party/skia/src/gpu/gl/ |
D | GrGLOpsRenderPass.cpp | 263 static const void* buffer_offset_to_gl_address(const GrBuffer* drawIndirectBuffer, size_t offset) { in buffer_offset_to_gl_address() argument 264 if (drawIndirectBuffer->isCpuBuffer()) { in buffer_offset_to_gl_address() 265 return static_cast<const GrCpuBuffer*>(drawIndirectBuffer)->data() + offset; in buffer_offset_to_gl_address() 271 void GrGLOpsRenderPass::onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, in onDrawIndirect() argument 287 this->multiDrawArraysANGLEOrWebGL(drawIndirectBuffer, offset, drawCount); in onDrawIndirect() 291 fGpu->bindBuffer(GrGpuBufferType::kDrawIndirect, drawIndirectBuffer); in onDrawIndirect() 296 buffer_offset_to_gl_address(drawIndirectBuffer, offset), in onDrawIndirect() 304 buffer_offset_to_gl_address(drawIndirectBuffer, offset))); in onDrawIndirect() 309 void GrGLOpsRenderPass::multiDrawArraysANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, in multiDrawArraysANGLEOrWebGL() argument 312 SkASSERT(drawIndirectBuffer->isCpuBuffer()); in multiDrawArraysANGLEOrWebGL() [all …]
|
D | GrGLOpsRenderPass.h | 76 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override; 77 void multiDrawArraysANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, size_t offset, 79 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, 81 void multiDrawElementsANGLEOrWebGL(const GrBuffer* drawIndirectBuffer, size_t offset,
|
/third_party/skia/src/gpu/ |
D | GrOpsRenderPass.cpp | 268 void GrOpsRenderPass::drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndirect() argument 271 SkASSERT(drawIndirectBuffer->isCpuBuffer() || in drawIndirect() 272 !static_cast<const GrGpuBuffer*>(drawIndirectBuffer)->isMapped()); in drawIndirect() 281 SkASSERT(drawIndirectBuffer->isCpuBuffer()); in drawIndirect() 282 auto* cpuIndirectBuffer = static_cast<const GrCpuBuffer*>(drawIndirectBuffer); in drawIndirect() 291 this->onDrawIndirect(drawIndirectBuffer, bufferOffset, drawCount); in drawIndirect() 294 void GrOpsRenderPass::drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, in drawIndexedIndirect() argument 297 SkASSERT(drawIndirectBuffer->isCpuBuffer() || in drawIndexedIndirect() 298 !static_cast<const GrGpuBuffer*>(drawIndirectBuffer)->isMapped()); in drawIndexedIndirect() 308 SkASSERT(drawIndirectBuffer->isCpuBuffer()); in drawIndexedIndirect() [all …]
|
D | GrOpFlushState.h | 250 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndirect() argument 251 fOpsRenderPass->drawIndirect(drawIndirectBuffer, offset, drawCount); in drawIndirect() 253 void drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndexedIndirect() argument 254 fOpsRenderPass->drawIndexedIndirect(drawIndirectBuffer, offset, drawCount); in drawIndexedIndirect()
|
D | GrOpsRenderPass.h | 102 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, int drawCount); 110 void drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset,
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlOpsRenderPass.h | 54 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, 56 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset,
|
D | GrMtlOpsRenderPass.mm | 458 void GrMtlOpsRenderPass::onDrawIndirect(const GrBuffer* drawIndirectBuffer, 472 auto mtlIndirectBuffer = static_cast<const GrMtlBuffer*>(drawIndirectBuffer); 492 void GrMtlOpsRenderPass::onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, 508 auto mtlIndirectBuffer = static_cast<const GrMtlBuffer*>(drawIndirectBuffer);
|
/third_party/skia/src/gpu/vk/ |
D | GrVkOpsRenderPass.h | 88 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override; 89 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset,
|
D | GrVkOpsRenderPass.cpp | 784 void GrVkOpsRenderPass::onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, in onDrawIndirect() argument 786 SkASSERT(!drawIndirectBuffer->isCpuBuffer()); in onDrawIndirect() 801 fGpu, sk_ref_sp(drawIndirectBuffer), offset, currDrawCount, stride); in onDrawIndirect() 809 void GrVkOpsRenderPass::onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, in onDrawIndexedIndirect() argument 811 SkASSERT(!drawIndirectBuffer->isCpuBuffer()); in onDrawIndexedIndirect() 825 fGpu, sk_ref_sp(drawIndirectBuffer), offset, currDrawCount, stride); in onDrawIndexedIndirect()
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_query_buffer_object.txt | 281 glGenBuffers(1, &drawIndirectBuffer); 285 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, drawIndirectBuffer); 295 glBindBuffer(GL_QUERY_BUFFER_AMD, drawIndirectBuffer);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_query_buffer_object.txt | 281 glGenBuffers(1, &drawIndirectBuffer); 285 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, drawIndirectBuffer); 295 glBindBuffer(GL_QUERY_BUFFER_AMD, drawIndirectBuffer);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_query_buffer_object.txt | 300 glGenBuffers(1, &drawIndirectBuffer); 304 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, drawIndirectBuffer); 314 glBindBuffer(GL_QUERY_BUFFER, drawIndirectBuffer);
|
/third_party/openGLES/extensions/ARB/ |
D | ARB_query_buffer_object.txt | 310 glGenBuffers(1, &drawIndirectBuffer); 314 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, drawIndirectBuffer); 324 glBindBuffer(GL_QUERY_BUFFER, drawIndirectBuffer);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Context11.cpp | 103 gl::Buffer *drawIndirectBuffer = glState.getTargetBuffer(gl::BufferBinding::DrawIndirect); in ReadbackIndirectBuffer() local 104 ASSERT(drawIndirectBuffer); in ReadbackIndirectBuffer() 105 Buffer11 *storage = GetImplAs<Buffer11>(drawIndirectBuffer); in ReadbackIndirectBuffer()
|
D | Renderer11.cpp | 1936 gl::Buffer *drawIndirectBuffer = glState.getTargetBuffer(gl::BufferBinding::DrawIndirect); in drawArraysIndirect() local 1937 ASSERT(drawIndirectBuffer); in drawArraysIndirect() 1938 Buffer11 *storage = GetImplAs<Buffer11>(drawIndirectBuffer); in drawArraysIndirect() 1958 gl::Buffer *drawIndirectBuffer = glState.getTargetBuffer(gl::BufferBinding::DrawIndirect); in drawElementsIndirect() local 1959 ASSERT(drawIndirectBuffer); in drawElementsIndirect() 1960 Buffer11 *storage = GetImplAs<Buffer11>(drawIndirectBuffer); in drawElementsIndirect()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationES31.cpp | 470 Buffer *drawIndirectBuffer = state.getTargetBuffer(BufferBinding::DrawIndirect); in ValidateDrawIndirectBase() local 471 if (!drawIndirectBuffer) in ValidateDrawIndirectBase() 524 Buffer *drawIndirectBuffer = state.getTargetBuffer(BufferBinding::DrawIndirect); in ValidateDrawArraysIndirect() local 530 checkedSum.ValueOrDie() > static_cast<size_t>(drawIndirectBuffer->getSize())) in ValidateDrawArraysIndirect() 562 Buffer *drawIndirectBuffer = state.getTargetBuffer(BufferBinding::DrawIndirect); in ValidateDrawElementsIndirect() local 568 checkedSum.ValueOrDie() > static_cast<size_t>(drawIndirectBuffer->getSize())) in ValidateDrawElementsIndirect()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | StateManagerGL.cpp | 771 gl::Buffer *drawIndirectBuffer = in updateDrawIndirectBufferBinding() local 773 if (drawIndirectBuffer != nullptr) in updateDrawIndirectBufferBinding() 775 const BufferGL *bufferGL = GetImplAs<BufferGL>(drawIndirectBuffer); in updateDrawIndirectBufferBinding()
|