Home
last modified time | relevance | path

Searched refs:drawCount (Results 1 – 25 of 92) sorted by relevance

1234

/external/skia/src/gpu/
DGrBufferAllocPool.h323 GrDrawIndirectWriter makeSpace(int drawCount, sk_sp<const GrBuffer>* buffer, size_t* offset) { in makeSpace() argument
324 return this->GrBufferAllocPool::makeSpace(drawCount * sizeof(GrDrawIndirectCommand), 4, in makeSpace()
328 void putBack(int drawCount) { in putBack() argument
329 this->GrBufferAllocPool::putBack(drawCount * sizeof(GrDrawIndirectCommand)); in putBack()
332 GrDrawIndexedIndirectWriter makeIndexedSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeIndexedSpace() argument
335 drawCount * sizeof(GrDrawIndexedIndirectCommand), 4, buffer, offset); in makeIndexedSpace()
338 void putBackIndexed(int drawCount) { in putBackIndexed() argument
339 this->GrBufferAllocPool::putBack(drawCount * sizeof(GrDrawIndexedIndirectCommand)); in putBackIndexed()
DGrOpFlushState.h142 GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeDrawIndirectSpace() argument
144 return fDrawIndirectPool.makeSpace(drawCount, buffer, offset); in makeDrawIndirectSpace()
146 GrDrawIndexedIndirectWriter makeDrawIndexedIndirectSpace(int drawCount, in makeDrawIndexedIndirectSpace() argument
149 return fDrawIndirectPool.makeIndexedSpace(drawCount, buffer, offset); in makeDrawIndexedIndirectSpace()
153 void putBackIndirectDraws(int drawCount) final { fDrawIndirectPool.putBack(drawCount); } in putBackIndirectDraws() argument
154 void putBackIndexedIndirectDraws(int drawCount) final { in putBackIndexedIndirectDraws() argument
155 fDrawIndirectPool.putBackIndexed(drawCount); in putBackIndexedIndirectDraws()
251 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndirect() argument
252 fOpsRenderPass->drawIndirect(drawIndirectBuffer, offset, drawCount); in drawIndirect()
254 void drawIndexedIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) { in drawIndexedIndirect() argument
[all …]
DGrDrawIndirectCommand.h57 GrDrawIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset()
92 GrDrawIndexedIndirectWriter makeOffset(int drawCount) const { return {fData + drawCount}; } in makeOffset()
DGrOpsRenderPass.h102 void drawIndirect(const GrBuffer* drawIndirectBuffer, size_t bufferOffset, int drawCount);
111 int drawCount);
193 virtual void onDrawIndirect(const GrBuffer*, size_t offset, int drawCount) { in onDrawIndirect() argument
196 virtual void onDrawIndexedIndirect(const GrBuffer*, size_t offset, int drawCount) { in onDrawIndexedIndirect() argument
DGrOpsRenderPass.cpp269 int drawCount) { in drawIndirect() argument
285 for (int i = 0; i < drawCount; ++i) { in drawIndirect()
291 this->onDrawIndirect(drawIndirectBuffer, bufferOffset, drawCount); in drawIndirect()
295 int drawCount) { in drawIndexedIndirect() argument
312 for (int i = 0; i < drawCount; ++i) { in drawIndexedIndirect()
319 this->onDrawIndexedIndirect(drawIndirectBuffer, bufferOffset, drawCount); in drawIndexedIndirect()
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp257 int drawCount) { in onDrawIndirect() argument
272 this->multiDrawArraysANGLEOrWebGL(drawIndirectBuffer, offset, drawCount); in onDrawIndirect()
278 if (drawCount > 1 && fGpu->glCaps().multiDrawType() == MultiDrawType::kMultiDrawIndirect) { in onDrawIndirect()
282 drawCount, sizeof(GrDrawIndirectCommand))); in onDrawIndirect()
286 for (int i = 0; i < drawCount; ++i) { in onDrawIndirect()
295 size_t offset, int drawCount) { in multiDrawArraysANGLEOrWebGL() argument
309 while (drawCount) { in multiDrawArraysANGLEOrWebGL()
310 int countInBatch = std::min(drawCount, kMaxDrawCountPerBatch); in multiDrawArraysANGLEOrWebGL()
326 drawCount -= countInBatch; in multiDrawArraysANGLEOrWebGL()
332 int drawCount) { in onDrawIndexedIndirect() argument
[all …]
DGrGLOpsRenderPass.h70 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override;
72 int drawCount);
74 int drawCount) override;
76 int drawCount);
/external/skia/src/gpu/mock/
DGrMockOpTarget.h68 GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer, in makeDrawIndirectSpace() argument
70 if (sizeof(GrDrawIndirectCommand) * drawCount > sizeof(fStaticIndirectData)) { in makeDrawIndirectSpace()
72 sizeof(GrDrawIndirectCommand) * drawCount, sizeof(fStaticIndirectData)); in makeDrawIndirectSpace()
81 GrDrawIndexedIndirectWriter makeDrawIndexedIndirectSpace(int drawCount, in makeDrawIndexedIndirectSpace() argument
84 if (sizeof(GrDrawIndexedIndirectCommand) * drawCount > sizeof(fStaticIndirectData)) { in makeDrawIndexedIndirectSpace()
86 sizeof(GrDrawIndexedIndirectCommand) * drawCount, sizeof(fStaticIndirectData)); in makeDrawIndexedIndirectSpace()
/external/angle/src/tests/gl_tests/
DDrawBaseVertexBaseInstanceTest.cpp326 const GLsizei drawCount = kCountX / 2; in doMultiDrawArraysInstancedBaseInstance() local
327 const std::vector<GLsizei> counts(drawCount, countPerDraw); in doMultiDrawArraysInstancedBaseInstance()
328 const std::vector<GLsizei> firsts(drawCount, 0); in doMultiDrawArraysInstancedBaseInstance()
329 const std::vector<GLsizei> instanceCounts(drawCount, 2); in doMultiDrawArraysInstancedBaseInstance()
330 std::vector<GLuint> baseInstances(drawCount); in doMultiDrawArraysInstancedBaseInstance()
331 for (size_t i = 0; i < drawCount; i++) in doMultiDrawArraysInstancedBaseInstance()
337 drawCount); in doMultiDrawArraysInstancedBaseInstance()
376 const GLsizei drawCount = kCountX * kCountY / 2; in doMultiDrawElementsInstancedBaseVertexBaseInstance() local
377 const std::vector<GLsizei> counts(drawCount, 6); in doMultiDrawElementsInstancedBaseVertexBaseInstance()
378 const std::vector<GLsizei> instanceCounts(drawCount, 2); in doMultiDrawElementsInstancedBaseVertexBaseInstance()
[all …]
/external/deqp/modules/gles2/functional/
Des2fVertexArrayTest.cpp101 spec.drawCount = counts[countNdx]; in init()
171 spec.drawCount = counts[countNdx]; in init()
242 spec.drawCount = counts[countNdx]; in init()
310 spec.drawCount = counts[countNdx]; in init()
373 spec.drawCount = counts[countNdx]; in init()
438 spec.drawCount = counts[countNdx]; in init()
526 spec.drawCount = 256; in init()
647 spec.drawCount = 256; in init()
706 spec.drawCount = 256; in init()
797 spec.drawCount = 256; in init()
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.h59 void onDrawIndirect(const GrBuffer*, size_t offset, int drawCount) override;
60 void onDrawIndexedIndirect(const GrBuffer*, size_t offset, int drawCount) override;
DGrD3DOpsRenderPass.cpp277 void GrD3DOpsRenderPass::onDrawIndirect(const GrBuffer* buffer, size_t offset, int drawCount) { in onDrawIndirect() argument
281 fGpu->currentCommandList()->executeIndirect(cmdSig, drawCount, in onDrawIndirect()
287 int drawCount) { in onDrawIndexedIndirect() argument
291 fGpu->currentCommandList()->executeIndirect(cmdSig, drawCount, in onDrawIndexedIndirect()
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.h53 int drawCount) override;
55 int drawCount) override;
DGrMtlOpsRenderPass.mm362 int drawCount) {
370 while (drawCount >= 1) {
378 drawCount--;
386 int drawCount) {
398 while (drawCount >= 1) {
409 drawCount--;
/external/deqp/modules/gles2/stress/
Des2sVertexArrayTests.cpp102 spec.drawCount = counts[countNdx]; in init()
172 spec.drawCount = counts[countNdx]; in init()
243 spec.drawCount = counts[countNdx]; in init()
311 spec.drawCount = counts[countNdx]; in init()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayTest.cpp100 spec.drawCount = counts[countNdx]; in init()
205 spec.drawCount = counts[countNdx]; in init()
308 spec.drawCount = counts[countNdx]; in init()
409 spec.drawCount = counts[countNdx]; in init()
503 spec.drawCount = counts[countNdx]; in init()
619 spec.drawCount = counts[countNdx]; in init()
739 spec.drawCount = 256; in init()
860 spec.drawCount = 256; in init()
919 spec.drawCount = 256; in init()
1010 spec.drawCount = 256; in init()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.h88 void onDrawIndirect(const GrBuffer* drawIndirectBuffer, size_t offset, int drawCount) override;
90 int drawCount) override;
/external/vulkan-validation-layers/layers/
Dbest_practices.cpp357 uint32_t drawCount, uint32_t stride) { in PreCallValidateCmdDrawIndirect() argument
360 if (drawCount == 0) { in PreCallValidateCmdDrawIndirect()
369 uint32_t drawCount, uint32_t stride) { in PreCallValidateCmdDrawIndexedIndirect() argument
372 if (drawCount == 0) { in PreCallValidateCmdDrawIndexedIndirect()
Dbest_practices.h78 …awIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount,
81 uint32_t drawCount, uint32_t stride);
Ddrawdispatch.cpp410 uint32_t drawCount, uint32_t stride) { in PreCallValidateCmdDrawMeshTasksIndirectNV() argument
422 if (drawCount > 1) { in PreCallValidateCmdDrawMeshTasksIndirectNV()
425 drawCount, offset, buffer_state); in PreCallValidateCmdDrawMeshTasksIndirectNV()
431 … VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { in PreCallRecordCmdDrawMeshTasksIndirectNV() argument
/external/angle/src/libANGLE/
DVertexAttribute.cpp152 size_t ComputeVertexBindingElementCount(GLuint divisor, size_t drawCount, size_t instanceCount) in ComputeVertexBindingElementCount() argument
167 return drawCount; in ComputeVertexBindingElementCount()
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp570 CmdDrawIndirect(vk::Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) in CmdDrawIndirect() argument
573 , drawCount(drawCount) in CmdDrawIndirect()
580 for(auto drawId = 0u; drawId < drawCount; drawId++) in play()
592 uint32_t drawCount; member in __anon37a6868d0111::CmdDrawIndirect
599 …CmdDrawIndexedIndirect(vk::Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t strid… in CmdDrawIndexedIndirect() argument
602 , drawCount(drawCount) in CmdDrawIndexedIndirect()
609 for(auto drawId = 0u; drawId < drawCount; drawId++) in play()
621 uint32_t drawCount; member in __anon37a6868d0111::CmdDrawIndexedIndirect
1658 void CommandBuffer::drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t … in drawIndirect() argument
1660 addCommand<::CmdDrawIndirect>(buffer, offset, drawCount, stride); in drawIndirect()
[all …]
DVkCommandBuffer.hpp133 void drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
134 void drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
/external/deqp/modules/gles3/stress/
Des3sVertexArrayTests.cpp103 spec.drawCount = counts[countNdx]; in init()
208 spec.drawCount = counts[countNdx]; in init()
311 spec.drawCount = counts[countNdx]; in init()
412 spec.drawCount = counts[countNdx]; in init()
/external/skia/src/gpu/ops/
DGrMeshDrawOp.h203 virtual GrDrawIndirectWriter makeDrawIndirectSpace(int drawCount, sk_sp<const GrBuffer>* buffer,
210 virtual GrDrawIndexedIndirectWriter makeDrawIndexedIndirectSpace(int drawCount,

1234