Home
last modified time | relevance | path

Searched refs:drawIndirectBuffer (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp263 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 …]
DGrGLOpsRenderPass.h76 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/
DGrOpsRenderPass.cpp268 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 …]
DGrOpFlushState.h250 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()
DGrOpsRenderPass.h102 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/
DGrMtlOpsRenderPass.h54 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset,
56 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset,
DGrMtlOpsRenderPass.mm458 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/
DGrVkOpsRenderPass.h88 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override;
89 void onDrawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset,
DGrVkOpsRenderPass.cpp784 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/
DAMD_query_buffer_object.txt281 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/
DAMD_query_buffer_object.txt281 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/
DARB_query_buffer_object.txt300 glGenBuffers(1, &drawIndirectBuffer);
304 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, drawIndirectBuffer);
314 glBindBuffer(GL_QUERY_BUFFER, drawIndirectBuffer);
/third_party/openGLES/extensions/ARB/
DARB_query_buffer_object.txt310 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/
DContext11.cpp103 gl::Buffer *drawIndirectBuffer = glState.getTargetBuffer(gl::BufferBinding::DrawIndirect); in ReadbackIndirectBuffer() local
104 ASSERT(drawIndirectBuffer); in ReadbackIndirectBuffer()
105 Buffer11 *storage = GetImplAs<Buffer11>(drawIndirectBuffer); in ReadbackIndirectBuffer()
DRenderer11.cpp1936 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/
DvalidationES31.cpp470 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/
DStateManagerGL.cpp771 gl::Buffer *drawIndirectBuffer = in updateDrawIndirectBufferBinding() local
773 if (drawIndirectBuffer != nullptr) in updateDrawIndirectBufferBinding()
775 const BufferGL *bufferGL = GetImplAs<BufferGL>(drawIndirectBuffer); in updateDrawIndirectBufferBinding()