Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 25 of 29) 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/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcomposite.cpp30 uint32_t numIndices = static_cast<uint32_t>(extIndices.size()) - extOffset; in ExtInsMatch() local
31 if (numIndices != insInst->NumInOperands() - 2) return false; in ExtInsMatch()
32 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsMatch()
44 uint32_t numIndices = std::min(extNumIndices, insNumIndices); in ExtInsConflict() local
45 for (uint32_t i = 0; i < numIndices; ++i) in ExtInsConflict()
/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.cpp1283 uint32_t numIndices, in DrawIndexedInstance() argument
1299 …AR_API_EVENT(DrawIndexedInstancedEvent(pDC->drawId, topology, numIndices, indexOffset, baseVertex,… in DrawIndexedInstance()
1301 uint32_t maxIndicesPerDraw = MaxVertsPerDraw(pDC, numIndices, topology); in DrawIndexedInstance()
1303 uint32_t remainingIndices = numIndices; in DrawIndexedInstance()
1354 pDC->FeWork.desc.draw.numIndices = numIndicesForDraw; in DrawIndexedInstance()
1379 AR_API_END(APIDrawIndexed, numIndices * numInstances); in DrawIndexedInstance()
1393 uint32_t numIndices, in SwrDrawIndexed() argument
1398 DrawIndexedInstance(hContext, topology, numIndices, indexOffset, baseVertex); in SwrDrawIndexed()
1413 uint32_t numIndices, in SwrDrawIndexedInstanced() argument
1419 …DrawIndexedInstance(hContext, topology, numIndices, indexOffset, baseVertex, numInstances, startIn… in SwrDrawIndexedInstanced()
Dapi.h538 uint32_t numIndices,
554 uint32_t numIndices,
Dcontext.h174 uint32_t numIndices; // DrawIndexed: Number of indices for draw. member
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp264 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test() local
270 gridIndices.reserve(numIndices); in test()
326 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.cpp93 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
276 int currentIndices = tess.numIndices(); in onPrepareDraws()
DGrAAConvexTessellator.h52 int numIndices() const { return fIndices.count(); } in numIndices() function
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp93 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts()
276 int currentIndices = tess.numIndices(); in onPrepareDraws()
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/shaderrender/
DvktShaderRender.cpp1765 deUint32 numIndices, in render() argument
2158 if (numIndices != 0) in render()
2160 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); in render()
2258 if (numIndices != 0) in render()
2261 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0); in render()
DvktShaderRender.hpp511 deUint32 numIndices,
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp394 …const deUint32 numIndices = m_drawTessellatedSphere ? deUint32(sizeof(sphereIndices)/sizeof(… in iterate() local
1369 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
1375 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp136 MovePtr<Buffer> createUniformIndexBuffer (Context& context, int numIndices, const int* indices) in createUniformIndexBuffer() argument
138 …<Buffer> buffer (new Buffer(context, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, sizeof(int)*numIndices)); in createUniformIndexBuffer()
141 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