Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/src/OpenGL/libGLESv2/
DIndexDataManager.cpp102 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; in copyIndices()
109 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
116 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
117 GLsizei numTriangles = (numIndices - 2); in copyIndices()
125 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
131 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
132 GLsizei numTriangles = (numIndices - 2); in copyIndices()
151 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices()
157 GLsizei numIndices = getNumIndices(restartIndices, i, count); in copyIndices() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp446 int numIndices = getNumIndices(); in init() local
448 DE_ASSERT(numIndices > 0); in init()
450 …DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts… in init()
453 for (int i = 1; i < numIndices; i++) in init()
556 int numIndices = getNumIndices(); in draw() local
557 for (int i = 0; i < numIndices; i++) in draw()
602 int numIndices = getNumIndices(); in renderWithoutRestart() local
604 DE_ASSERT(numIndices >= 0); in renderWithoutRestart()
608 …for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too f… in renderWithoutRestart()
610 …if (indexArrayNdx >= numIndices || getIndex(indexArrayNdx) == restartIndex) // \note Handle end of… in renderWithoutRestart()
[all …]
Des3fFragmentOutputTests.cpp557 const int numIndices = numQuads*6; in iterate() local
562 vector<deUint16> indices (numIndices); in iterate()
816 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]); in iterate()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; in generateIndices() local
102 dst.resize(numIndices); in generateIndices()
261 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); in render() local
266 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL); in render()
DglsRandomShaderCase.cpp206 int numIndices = numQuads*6; in init() local
207 m_indices.resize(numIndices); in init()
DglsBufferTestUtil.cpp751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
753 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp1201 uint32_t numIndices, in DrawIndexedInstance() argument
1217 …AR_API_EVENT(DrawIndexedInstancedEvent(pDC->drawId, topology, numIndices, indexOffset, baseVertex,… in DrawIndexedInstance()
1219 uint32_t maxIndicesPerDraw = MaxVertsPerDraw(pDC, numIndices, topology); in DrawIndexedInstance()
1221 uint32_t remainingIndices = numIndices; in DrawIndexedInstance()
1273 pDC->FeWork.desc.draw.numIndices = numIndicesForDraw; in DrawIndexedInstance()
1297 AR_API_END(APIDrawIndexed, numIndices * numInstances); in DrawIndexedInstance()
1311 uint32_t numIndices, in SwrDrawIndexed() argument
1316 DrawIndexedInstance(hContext, topology, numIndices, indexOffset, baseVertex); in SwrDrawIndexed()
1331 uint32_t numIndices, in SwrDrawIndexedInstanced() argument
1337 …DrawIndexedInstance(hContext, topology, numIndices, indexOffset, baseVertex, numInstances, startIn… in SwrDrawIndexedInstanced()
Dapi.h487 uint32_t numIndices,
503 uint32_t numIndices,
Dcontext.h175 uint32_t numIndices; // DrawIndexed: Number of indices for draw. member
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp261 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test() local
267 gridIndices.reserve(numIndices); in test()
323 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js232 retval.numIndices = indices.length;
311 retval.numIndices = indexData.length;
507 obj.numIndices = indexArray.length;
/external/deqp/framework/opengl/
DgluDrawUtil.cpp128 …IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indi…
373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const … in IndexBuffer() argument
380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp108 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
273 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexPathRenderer.cpp708 for (int i = 0; i < tess.numIndices(); ++i) { in extract_lines_only_verts()
821 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex); in prepareLinesOnlyDraws()
831 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1); in prepareLinesOnlyDraws()
DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } in numIndices() function
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp108 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
273 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexPathRenderer.cpp708 for (int i = 0; i < tess.numIndices(); ++i) { in extract_lines_only_verts()
821 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex); in prepareLinesOnlyDraws()
831 mesh.setIndexed(indexBuffer, tess.numIndices(), firstIndex, 0, tess.numPts() - 1); in prepareLinesOnlyDraws()
DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } in numIndices() function
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) in execVertexFetch() argument
564 for (int i = 0; i < numIndices; ++i) in execVertexFetch()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Devents.proto122 uint32_t numIndices;
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp413 …const deUint32 numIndices = m_drawTessellatedSphere ? deUint32(sizeof(sphereIndices)/sizeof(… in iterate() local
1680 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
1686 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2280 deUint32 numIndices, in render() argument
2786 if (numIndices != 0) in render()
2788 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); in render()
2909 if (numIndices != 0) in render()
2912 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0); in render()
DvktShaderRender.hpp511 deUint32 numIndices,
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp135 MovePtr<Buffer> createUniformIndexBuffer (Context& context, int numIndices, const int* indices) in createUniformIndexBuffer() argument
137 …<Buffer> buffer (new Buffer(context, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, sizeof(int)*numIndices)); in createUniformIndexBuffer()
140 for (int ndx = 0; ndx < numIndices; ++ndx) in createUniformIndexBuffer()
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp96 …const glw::Functions& gl, deUint32 program, const char* varPrefix, int numIndices, const int* indi… in uploadUniformIndices() argument
98 for (int varNdx = 0; varNdx < numIndices; varNdx++) in uploadUniformIndices()

12