Home
last modified time | relevance | path

Searched refs:drawNdx (Results 1 – 15 of 15) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp174 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() local
186 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexData() local
404 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createArrayBuffers() local
428 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in createIndexBuffer() local
434 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_dynamicIndexData[drawNdx * m_… in createIndexBuffer()
622 for (int drawNdx = 0; drawNdx < m_spec.drawCallCount; drawNdx++) in renderUnbatched() local
628 gl.bindBuffer(GL_ARRAY_BUFFER, m_unbatchedDynamicBuffers[attribNdx][drawNdx]); in renderUnbatched()
633 …L_BYTE, GL_TRUE, 0, &(m_dynamicAttributeDatas[attribNdx][m_spec.triangleCount * 3 * drawNdx * 4])); in renderUnbatched()
642 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_unbatchedDynamicIndexBuffers[drawNdx]); in renderUnbatched()
652 …ANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, &(m_dynamicIndexData[drawNdx * m_spec.triangle… in renderUnbatched()
/third_party/vk-gl-cts/modules/egl/
DteglPartialUpdateTests.cpp248 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() local
250 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
252 if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER) in render()
302 else if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_CLEAR) in render()
332 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() local
334 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
335 …if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawN… in render()
479 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in getDamageRegion() local
481 const ColoredRect& rect = frame.draws[drawNdx].rect; in getDamageRegion()
DteglBufferAgeTests.cpp260 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() local
262 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
263 if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER) in render()
313 else if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_CLEAR) in render()
343 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() local
345 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
346 …if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawNdx].… in render()
DteglSwapBuffersWithDamageTests.cpp190 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in render() local
192 const ColoredRect& coloredRect = frame.draws[drawNdx].rect; in render()
194 if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_RENDER) in render()
244 else if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_CLEAR) in render()
671 for (size_t drawNdx = 0; drawNdx < frame.draws.size(); drawNdx++) in getDamageRegion() local
673 const ColoredRect& rect = frame.draws[drawNdx].rect; in getDamageRegion()
DteglRenderTests.cpp802 for (int drawNdx = 0; drawNdx < drawsPerCtx; drawNdx++) in executeForContexts() local
804 … DrawPrimitiveOp& drawOp = drawOps[iterNdx*numContexts*drawsPerCtx + ctxNdx*drawsPerCtx + drawNdx]; in executeForContexts()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp562 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
564 …m_device->cmdDrawIndexed(*m_cmdBuffer, 4u, 1u, (drawNdx + subpassNdx % m_squareCount) * 4u, 0u, 0u… in draw()
566 m_device->cmdDraw(*m_cmdBuffer, 4u, 1u, (drawNdx + subpassNdx % m_squareCount) * 4u, 0u); in draw()
1636 for (deUint32 drawNdx = 0u; drawNdx < m_squareCount; ++drawNdx) in imageData() local
1637 …rRefColor(unusedQuarterNdx, vertexPerPrimitive * drawNdx, layerNdx, false), pointSize, layerNdx, d… in imageData()
1648 for (deUint32 drawNdx = 0u; drawNdx < m_squareCount; ++drawNdx) in imageData() local
1649 …uarterRefColor(unusedQuarterNdx, vertexPerPrimitive * drawNdx, layerNdx, false), layerNdx, drawNdx in imageData()
2091 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
2151 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
2159 (drawNdx + subpassNdx % m_squareCount) * 4u, // deUint32 firstIndex; in draw()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
DvktMultiViewRenderTests.cpp562 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
564 …m_device->cmdDrawIndexed(*m_cmdBuffer, 4u, 1u, (drawNdx + subpassNdx % m_squareCount) * 4u, 0u, 0u… in draw()
566 m_device->cmdDraw(*m_cmdBuffer, 4u, 1u, (drawNdx + subpassNdx % m_squareCount) * 4u, 0u); in draw()
1636 for (deUint32 drawNdx = 0u; drawNdx < m_squareCount; ++drawNdx) in imageData() local
1637 …rRefColor(unusedQuarterNdx, vertexPerPrimitive * drawNdx, layerNdx, false), pointSize, layerNdx, d… in imageData()
1648 for (deUint32 drawNdx = 0u; drawNdx < m_squareCount; ++drawNdx) in imageData() local
1649 …uarterRefColor(unusedQuarterNdx, vertexPerPrimitive * drawNdx, layerNdx, false), layerNdx, drawNdx in imageData()
2091 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
2151 for (deUint32 drawNdx = 0u; drawNdx < drawCountPerSubpass; ++drawNdx) in draw() local
2159 (drawNdx + subpassNdx % m_squareCount) * 4u, // deUint32 firstIndex; in draw()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderDrawParametersTests.cpp215 for (int drawNdx = 0; drawNdx < numIndirectDraws; ++drawNdx) in drawReferenceImage() local
218 const Vec2 offset = perInstanceOffset[instanceNdx] + perDrawOffset[drawNdx]; in drawReferenceImage()
219 const Vec4& color = allColors[isMultiDraw() ? drawNdx : instanceNdx]; in drawReferenceImage()
DvktDrawIndirectTest.cpp426 for (deUint32 drawNdx = 0; drawNdx < m_drawCount; drawNdx++) in draw() local
435 …m_vk.cmdDrawIndirectCount(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stri… in draw()
440 …m_vk.cmdDrawIndirect(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_strideInB… in draw()
448 …edIndirectCount(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_strideInBuffer, in draw()
453 …m_vk.cmdDrawIndexedIndirect(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_st… in draw()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawShaderDrawParametersTests.cpp215 for (int drawNdx = 0; drawNdx < numIndirectDraws; ++drawNdx) in drawReferenceImage() local
218 const Vec2 offset = perInstanceOffset[instanceNdx] + perDrawOffset[drawNdx]; in drawReferenceImage()
219 const Vec4& color = allColors[isMultiDraw() ? drawNdx : instanceNdx]; in drawReferenceImage()
DvktDrawIndirectTest.cpp426 for (deUint32 drawNdx = 0; drawNdx < m_drawCount; drawNdx++) in draw() local
435 …m_vk.cmdDrawIndirectCount(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_stri… in draw()
440 …m_vk.cmdDrawIndirect(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_strideInB… in draw()
448 …edIndirectCount(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_strideInBuffer, in draw()
453 …m_vk.cmdDrawIndexedIndirect(cmdBuffer, m_indirectBuffer->object(), m_offsetInBuffer + drawNdx*m_st… in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp672 for (deUint32 drawNdx = 0; drawNdx < m_parameters.partCount; ++drawNdx) in iterate() local
674 …const deUint32 startValue = static_cast<deUint32>(tfBufBindingOffsets[drawNdx] / sizeof(deUint32)); in iterate()
675 const deUint32 numPoints = static_cast<deUint32>(tfBufBindingSizes[drawNdx] / sizeof(deUint32)); in iterate()
677 …kBuffersEXT(*cmdBuffer, 0, 1, &*tfBuf, &tfBufBindingOffsets[drawNdx], &tfBufBindingSizes[drawNdx]); in iterate()
756 for (size_t drawNdx = 0; drawNdx < m_parameters.partCount; ++drawNdx) in iterate() local
758 const deUint32 startValue = static_cast<deUint32>(chunkOffsetsList[drawNdx] / sizeof(deUint32)); in iterate()
759 const deUint32 numPoints = static_cast<deUint32>(chunkSizesList[drawNdx] / sizeof(deUint32)); in iterate()
760 const deUint32 countBuffersCount = (drawNdx == 0) ? 0 : 1; in iterate()
771 …uffer, 0, countBuffersCount, (drawNdx == 0) ? DE_NULL : &*tfcBuf, (drawNdx == 0) ? DE_NULL : &tfcB… in iterate()
775 vk.cmdEndTransformFeedbackEXT(*cmdBuffer, 0, 1, &*tfcBuf, &tfcBufBindingOffsets[drawNdx]); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp672 for (deUint32 drawNdx = 0; drawNdx < m_parameters.partCount; ++drawNdx) in iterate() local
674 …const deUint32 startValue = static_cast<deUint32>(tfBufBindingOffsets[drawNdx] / sizeof(deUint32)); in iterate()
675 const deUint32 numPoints = static_cast<deUint32>(tfBufBindingSizes[drawNdx] / sizeof(deUint32)); in iterate()
677 …kBuffersEXT(*cmdBuffer, 0, 1, &*tfBuf, &tfBufBindingOffsets[drawNdx], &tfBufBindingSizes[drawNdx]); in iterate()
756 for (size_t drawNdx = 0; drawNdx < m_parameters.partCount; ++drawNdx) in iterate() local
758 const deUint32 startValue = static_cast<deUint32>(chunkOffsetsList[drawNdx] / sizeof(deUint32)); in iterate()
759 const deUint32 numPoints = static_cast<deUint32>(chunkSizesList[drawNdx] / sizeof(deUint32)); in iterate()
760 const deUint32 countBuffersCount = (drawNdx == 0) ? 0 : 1; in iterate()
771 …uffer, 0, countBuffersCount, (drawNdx == 0) ? DE_NULL : &*tfcBuf, (drawNdx == 0) ? DE_NULL : &tfcB… in iterate()
775 vk.cmdEndTransformFeedbackEXT(*cmdBuffer, 0, 1, &*tfcBuf, &tfcBufBindingOffsets[drawNdx]); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp1099 for (int drawNdx = 0; drawNdx < 4; drawNdx++) in iterate() local
1101 data[0] = drawNdx; in iterate()
1104 if (isBitSet(m_testParams.m_beginSequenceBits, drawNdx)) in iterate()
1109 if (isBitSet(m_testParams.m_endSequenceBits, drawNdx)) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp1099 for (int drawNdx = 0; drawNdx < 4; drawNdx++) in iterate() local
1101 data[0] = drawNdx; in iterate()
1104 if (isBitSet(m_testParams.m_beginSequenceBits, drawNdx)) in iterate()
1109 if (isBitSet(m_testParams.m_endSequenceBits, drawNdx)) in iterate()