Searched refs:GrDrawIndirectCommand (Results 1 – 10 of 10) sorted by relevance
14 struct GrDrawIndirectCommand { struct21 static_assert(sizeof(GrDrawIndirectCommand) == 16, "GrDrawIndirectCommand must be tightly packed"); argument42 GrDrawIndirectWriter(void* data) : fData(static_cast<GrDrawIndirectCommand*>(data)) {} in GrDrawIndirectWriter()65 GrDrawIndirectCommand* fData;
324 return this->GrBufferAllocPool::makeSpace(drawCount * sizeof(GrDrawIndirectCommand), 4, in makeSpace()329 this->GrBufferAllocPool::putBack(drawCount * sizeof(GrDrawIndirectCommand)); in putBack()
283 auto* cmds = reinterpret_cast<const GrDrawIndirectCommand*>( in drawIndirect()
70 if (sizeof(GrDrawIndirectCommand) * drawCount > sizeof(fStaticIndirectData)) { in makeDrawIndirectSpace()72 sizeof(GrDrawIndirectCommand) * drawCount, sizeof(fStaticIndirectData)); in makeDrawIndirectSpace()
282 drawCount, sizeof(GrDrawIndirectCommand))); in onDrawIndirect()290 offset += sizeof(GrDrawIndirectCommand); in onDrawIndirect()307 auto* cmds = reinterpret_cast<const GrDrawIndirectCommand*>(cpuBuffer->data() + offset); in multiDrawArraysANGLEOrWebGL()
442 auto* indirect = static_cast<const GrDrawIndirectCommand*>(target->peekStaticIndirectData()); in verifyBuffers()
385 sizeof(GrDrawIndirectCommand);
369 const size_t stride = sizeof(GrDrawIndirectCommand);
797 const size_t stride = sizeof(GrDrawIndirectCommand); in onDrawIndirect()
95 "$_src/gpu/GrDrawIndirectCommand.h",