/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 77 int triangleCount; member 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) in createIndexData() 274 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas() 276 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas() 278 int sign = (m_spec.triangleCount % 2 == 1 || i % 2 == 0 ? 1 : -1); in createAttributeDatas() 298 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas() 300 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas() 314 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); in createAttributeDatas() 316 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++) in createAttributeDatas() [all …]
|
D | es2pRedundantStateChangeTests.cpp | 51 …RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays,… 60 …e::RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArra… in RedundantStateChangeCase() argument 64 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) in RedundantStateChangeCase() 108 …RedundantStateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const c… 109 …: RedundantStateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), nam…
|
D | es2pStateChangeTests.cpp | 51 …StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool u… 61 StateChangeCase::StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool draw… in StateChangeCase() argument 65 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) in StateChangeCase() 117 …StateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name… 118 …: StateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, descri…
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharedRenderingPerfTests.cpp | 78 int triangleCount; member 178 data.reserve(config.triangleCount * 3 * 2); in createCoordData() 180 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createCoordData() 223 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) in createIndexData() 691 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, 0); in render() 694 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, &(m_indexData[0])); in render() 697 m_gl.drawArrays(GL_TRIANGLES, 0, m_config.triangleCount); in render() 988 …log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.d… in logTestConfig() 993 …sage << "Number of triangles rendered by each draw call: " << config.triangleCount << TestLog::En… in logTestConfig() 1097 basicConfig.triangleCount = 100; in init() [all …]
|
/third_party/skia/src/gpu/tessellate/ |
D | PathCurveTessellator.cpp | 172 int triangleCount = bufferSize / (sizeof(uint16_t) * 3); in WriteFixedIndexBufferBaseIndex() local 173 SkASSERT(triangleCount >= 1); in WriteFixedIndexBufferBaseIndex() 174 SkTArray<std::array<uint16_t, 3>> indexData(triangleCount); in WriteFixedIndexBufferBaseIndex() 185 int maxResolveLevel = SkPrevLog2(triangleCount + 1); in WriteFixedIndexBufferBaseIndex() 187 SkASSERT(NumCurveTrianglesAtResolveLevel(maxResolveLevel) == triangleCount); in WriteFixedIndexBufferBaseIndex() 206 SkASSERT(indexData.count() == triangleCount); in WriteFixedIndexBufferBaseIndex() 207 SkASSERT(nextIndex == baseIndex + triangleCount + 2); in WriteFixedIndexBufferBaseIndex()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultiDrawTest.cpp | 594 const GLint triangleCount = 4; in TEST_P() local 619 std::array<DrawArraysIndirectCommand, triangleCount> indirectData; in TEST_P() 621 for (auto i = 0; i < triangleCount; i++) in TEST_P() 645 reinterpret_cast<const void *>(static_cast<uintptr_t>(icSize * triangleCount)), 1, 0); in TEST_P() 650 glMultiDrawArraysIndirectEXT(GL_TRIANGLES, nullptr, triangleCount, 0); in TEST_P() 664 triangleCount - 2, 0); in TEST_P() 693 const GLint triangleCount = 4; in TEST_P() local 725 std::array<DrawElementsIndirectCommand, triangleCount> indirectData; in TEST_P() 727 for (auto i = 0; i < triangleCount; i++) in TEST_P() 751 reinterpret_cast<const void *>(static_cast<uintptr_t>(icSize * triangleCount)), 1, 0); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | Renderer.cpp | 51 …vokingVertexModeEXT provokingVertexMode, T indices, unsigned int start, unsigned int triangleCount) in setBatchIndices() argument 61 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 77 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 90 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 103 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 116 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 129 for(unsigned int i = 0; i < triangleCount; i++) in setBatchIndices() 609 unsigned int triangleCount, in processPrimitiveVertices() argument 620 …tchIndices(triangleIndicesOut, topology, provokingVertexMode, LinearIndex(), start, triangleCount)) in processPrimitiveVertices() 630 …ology, provokingVertexMode, static_cast<const uint16_t *>(primitiveIndices), start, triangleCount)) in processPrimitiveVertices() [all …]
|
D | Renderer.hpp | 186 unsigned int triangleCount,
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Renderer.cpp | 1118 …void Renderer::processPrimitiveVertices(int unit, unsigned int start, unsigned int triangleCount, … in processPrimitiveVertices() argument 1143 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1157 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1171 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1185 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1199 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1213 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1236 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1259 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() 1273 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices() [all …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 104 void genIndices (vector<GLushort>& indices, int triangleCount) in genIndices() argument 106 indices.reserve(triangleCount*3); in genIndices() 108 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genIndices() 116 void genCoords (vector<GLfloat>& coords, int triangleCount) in genCoords() argument 118 coords.reserve(triangleCount * 3 * 2); in genCoords() 120 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in genCoords() 211 …const char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount) in StateChangePerformanceCase() argument 217 , m_triangleCount (triangleCount) in StateChangePerformanceCase()
|
D | glsTextureBufferCase.cpp | 578 int triangleCount, in renderGL() argument 630 gl.drawElements(GL_TRIANGLES, triangleCount * 3, GL_UNSIGNED_BYTE, DE_NULL); in renderGL() 634 gl.drawArrays(GL_TRIANGLES, 0, triangleCount * 3); in renderGL() 658 int triangleCount, in renderReference() argument 702 …const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, rr::DrawIndices… in renderReference() 709 const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, 0); in renderReference() 767 const int triangleCount = 8; in render() local 777 renderGL(renderContext, renderBits, coordSeed, triangleCount, program, texture); in render() 781 …renderReference(renderBits, coordSeed, triangleCount, texture, maxTextureBufferSize, target, subpi… in render()
|
D | glsStateChangePerfTestCases.hpp | 55 …onst char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount);
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
D | es3pRedundantStateChangeTests.cpp | 51 …RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays,… 60 …e::RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArra… in RedundantStateChangeCase() argument 64 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) in RedundantStateChangeCase() 108 …RedundantStateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const c… 109 …: RedundantStateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), nam…
|
D | es3pStateChangeTests.cpp | 51 …StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool u… 61 StateChangeCase::StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool draw… in StateChangeCase() argument 65 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) in StateChangeCase() 117 …StateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name… 118 …: StateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, descri…
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPixelBufferObjectTests.cpp | 452 int triangleCount = m_random.getInt(minTriangleCount, maxTriangleCount); in iterate() local 454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultiExtTests.cpp | 702 const auto triangleCount = getTriangleCount(); in iterate() local 703 const auto imageDim = static_cast<deUint32>(deSqrt(static_cast<double>(triangleCount))); in iterate() 1118 : (isMosaic ? 1u : triangleCount)); in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 1049 const int triangleCount = m_gridSize * m_gridSize * 2; in ComputeShaderGeneratedCase() local 1053 DE_ASSERT(triangleCount % m_numDrawCmds == 0); in ComputeShaderGeneratedCase() 1054 DE_UNREF(triangleCount); in ComputeShaderGeneratedCase() 1348 const int triangleCount = m_gridSize * m_gridSize * 2; in createDrawCommand() local 1349 const deUint32 numDrawCallTris = triangleCount / m_numDrawCmds; in createDrawCommand()
|