Searched refs:numIndices (Results 1 - 21 of 21) sorted by relevance

/external/deqp/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp446 int numIndices = getNumIndices(); local
448 DE_ASSERT(numIndices > 0);
450 DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts at end unless the case is a special case.
453 for (int i = 1; i < numIndices; i++)
556 int numIndices = getNumIndices(); local
557 for (int i = 0; i < numIndices; i++)
602 int numIndices = getNumIndices(); local
604 DE_ASSERT(numIndices >= 0);
608 for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too far" in order to detect end of array as well.
610 if (indexArrayNdx >= numIndices || getInde
[all...]
H A Des3fFragmentOutputTests.cpp557 const int numIndices = numQuads*6; local
562 vector<deUint16> indices (numIndices);
816 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]);
/external/deqp/modules/glshared/
H A DglsShaderPerformanceMeasurer.cpp101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; local
102 dst.resize(numIndices);
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY);
266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL);
H A DglsRandomShaderCase.cpp206 int numIndices = numQuads*6; local
207 m_indices.resize(numIndices);
H A DglsBufferTestUtil.cpp751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices)
753 for (int i = 0; i < numIndices; ++i)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dapi.h481 /// @param numIndices - Number of indices to read sequentially from index buffer.
487 uint32_t numIndices,
495 /// @param numIndices - Number of indices to read sequentially from index buffer.
503 uint32_t numIndices,
H A Dapi.cpp1193 /// @param numIndices - Number of indices to read sequentially from index buffer.
1201 uint32_t numIndices,
1217 AR_API_EVENT(DrawIndexedInstancedEvent(pDC->drawId, topology, numIndices, indexOffset, baseVertex, numInstances, startInstance));
1219 uint32_t maxIndicesPerDraw = MaxVertsPerDraw(pDC, numIndices, topology);
1221 uint32_t remainingIndices = numIndices;
1273 pDC->FeWork.desc.draw.numIndices = numIndicesForDraw;
1297 AR_API_END(APIDrawIndexed, numIndices * numInstances);
1305 /// @param numIndices - Number of indices to read sequentially from index buffer.
1311 uint32_t numIndices,
1316 DrawIndexedInstance(hContext, topology, numIndices, indexOffse
[all...]
H A Dcontext.h175 uint32_t numIndices; // DrawIndexed: Number of indices for draw. member in union:DRAW_WORK::__anon15550
/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DI.js157 // numIndices The number of indices in the indexObject
232 retval.numIndices = indices.length;
248 // numIndices The number of indices in the indexObject
311 retval.numIndices = indexData.length;
342 // numIndices The number of indices in the indexObject
507 obj.numIndices = indexArray.length;
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp261 const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3*2 : 4); local
267 gridIndices.reserve(numIndices);
323 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices);
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp128 IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices);
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices) argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage);
/external/skia/src/gpu/ops/
H A DGrAALinearizingConvexPathRenderer.cpp101 for (int i = 0; i < tess.numIndices(); ++i) {
260 int currentIndices = tess.numIndices();
H A DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } function in class:GrAAConvexTessellator
H A DGrAAConvexPathRenderer.cpp702 for (int i = 0; i < tess.numIndices(); ++i) {
808 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex);
818 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1);
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices)
564 for (int i = 0; i < numIndices; ++i)
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.hpp494 deUint32 numIndices,
H A DvktShaderRender.cpp2258 deUint32 numIndices,
2764 if (numIndices != 0)
2766 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16);
2887 if (numIndices != 0)
2890 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0);
/external/deqp/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp96 static void uploadUniformIndices (const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indices) argument
98 for (int varNdx = 0; varNdx < numIndices; varNdx++)
H A Des31fTessellationTests.cpp1709 const int numIndices = gridWidth*gridHeight * (m_primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3*2 : m_primitiveType == TESSPRIMITIVETYPE_QUADS ? 4 : -1);
1718 gridIndices.reserve(numIndices);
1779 DE_ASSERT((int)gridIndices.size() == numIndices);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp135 MovePtr<Buffer> createUniformIndexBuffer (Context& context, int numIndices, const int* indices) argument
137 MovePtr<Buffer> buffer (new Buffer(context, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, sizeof(int)*numIndices));
140 for (int ndx = 0; ndx < numIndices; ++ndx)
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp126 const deUint32 numIndices = static_cast<deUint32>(m_vertexData.size()); local
134 for (deUint32 i = 0; i < numIndices; ++i)

Completed in 559 milliseconds