/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | IndexDataManager.cpp | 102 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 in copyIndices() local 178 GLsizei numIndices = getNumIndices(restartIndices, i, count); copyIndices() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | composite.cpp | 30 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | composite.cpp | 30 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()
|
/third_party/spirv-tools/source/opt/ |
H A D | composite.cpp | 30 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()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 461 int numIndices = getNumIndices(); in init() local 463 DE_ASSERT(numIndices > 0); in init() 465 DE_ASSERT(m_endWithRestart || getIndex(numIndices-1) != restartIndex); // We don't want restarts at end unless the case is a special case. in init() 468 for (int i = 1; i < numIndices; i++) in init() 571 int numIndices = getNumIndices(); in draw() local 572 for (int i = 0; i < numIndices; i++) in draw() 617 int numIndices = getNumIndices(); in renderWithoutRestart() local 619 DE_ASSERT(numIndices >= 0); in renderWithoutRestart() 623 for (int indexArrayNdx = 0; indexArrayNdx <= numIndices; indexArrayNdx++) // \note Goes one "too far" in order to detect end of array as well. in renderWithoutRestart() 625 if (indexArrayNdx >= numIndices || getInde in renderWithoutRestart() [all...] |
H A D | es3fFragmentOutputTests.cpp | 557 const int numIndices = numQuads*6; in iterate() local 562 vector<deUint16> indices (numIndices); in iterate() 817 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, &indices[0]); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | renderer_utils.h | 289 uint32_t numIndices = 0; in LineLoopRestartIndexCountHelper() local 291 // numIndices is calculated. in LineLoopRestartIndexCountHelper() 298 numIndices++; in LineLoopRestartIndexCountHelper() 304 numIndices += 2; in LineLoopRestartIndexCountHelper() 311 numIndices++; in LineLoopRestartIndexCountHelper() 313 return numIndices; in LineLoopRestartIndexCountHelper()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderPerformanceMeasurer.cpp | 101 int numIndices = gridSizeX * gridSizeY * numIndicesPerQuad; in generateIndices() local 102 dst.resize(numIndices); in generateIndices() 263 GLsizei numIndices = (GLsizei)getNumIndices(m_gridSizeX, m_gridSizeY); 268 gl.drawElements(GL_TRIANGLES, numIndices, GL_UNSIGNED_SHORT, DE_NULL);
|
H A D | glsRandomShaderCase.cpp | 206 int numIndices = numQuads*6; in init() local 207 m_indices.resize(numIndices); in init()
|
H A D | glsBufferTestUtil.cpp | 751 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) 753 for (int i = 0; i < numIndices; ++i)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationCommonEdgeTests.cpp | 266 const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3*2 : 4); in test() local 272 gridIndices.reserve(numIndices); in test() 328 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationCommonEdgeTests.cpp | 266 const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3*2 : 4); in test() local 272 gridIndices.reserve(numIndices); in test() 328 DE_ASSERT(static_cast<int>(gridIndices.size()) == numIndices); in test()
|
/third_party/skia/src/gpu/ |
H A D | BufferWriter.h | 239 IndexWriter makeAdvance(int numIndices) const { in makeAdvance() 240 return {SkTAddOffset<void>(fPtr, numIndices * sizeof(uint16_t))}; in makeAdvance()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluDrawUtil.cpp | 128 IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices); 373 IndexBuffer::IndexBuffer (const RenderContext& context, IndexType indexType, int numIndices, const void* indices) in IndexBuffer() argument 380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer()
|
/third_party/skia/src/gpu/ops/ |
H A D | AALinearizingConvexPathRenderer.cpp | 59 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts() 249 int currentIndices = tess.numIndices();
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 562 static void execVertexFetch (T* dst, const T* src, const deUint8* indices, int numIndices) 564 for (int i = 0; i < numIndices; ++i)
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAAConvexTessellator.h | 52 int numIndices() const { return fIndices.count(); } in numIndices() function in GrAAConvexTessellator
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 1827 deUint32 numIndices, 2220 if (numIndices != 0) 2222 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); 2330 if (numIndices != 0) 2333 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0);
|
H A D | vktShaderRender.hpp | 522 deUint32 numIndices,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 1829 deUint32 numIndices, 2222 if (numIndices != 0) 2224 const VkDeviceSize indexBufferSize = numIndices * sizeof(deUint16); 2332 if (numIndices != 0) 2335 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1, 0, 0, 0);
|
H A D | vktShaderRender.hpp | 524 deUint32 numIndices,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 425 const deUint32 numIndices = m_drawTessellatedSphere ? deUint32(sizeof(sphereIndices)/sizeof(sphereIndices[0])) : deUint32(sizeof(triIndices)/sizeof(triIndices[0])); in iterate() local 1458 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate() 1464 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 136 MovePtr<Buffer> createUniformIndexBuffer (Context& context, int numIndices, const int* indices) in createUniformIndexBuffer() argument 138 MovePtr<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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 425 const deUint32 numIndices = m_drawTessellatedSphere ? deUint32(sizeof(sphereIndices)/sizeof(sphereIndices[0])) : deUint32(sizeof(triIndices)/sizeof(triIndices[0])); in iterate() local 1458 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate() 1464 vk.cmdDrawIndexed(*cmdBuffer, numIndices, 1u, 0, 0, 0); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 136 MovePtr<Buffer> createUniformIndexBuffer (Context& context, int numIndices, const int* indices) in createUniformIndexBuffer() argument 138 MovePtr<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()
|