Home
last modified time | relevance | path

Searched refs:triangleCount (Results 1 – 17 of 17) sorted by relevance

/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp77 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 …]
Des2pRedundantStateChangeTests.cpp51 …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…
Des2pStateChangeTests.cpp51 …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…
/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp78 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 …]
/external/swiftshader/src/Device/
DRenderer.cpp51 …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()
608 unsigned int triangleCount, in processPrimitiveVertices() argument
619 …tchIndices(triangleIndicesOut, topology, provokingVertexMode, LinearIndex(), start, triangleCount)) in processPrimitiveVertices()
629 …ology, provokingVertexMode, static_cast<const uint16_t *>(primitiveIndices), start, triangleCount)) in processPrimitiveVertices()
[all …]
DRenderer.hpp186 unsigned int triangleCount,
/external/swiftshader/src/Renderer/
DRenderer.cpp1118 …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 …]
/external/deqp/modules/glshared/
DglsStateChangePerfTestCases.cpp104 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()
DglsTextureBufferCase.cpp578 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()
DglsStateChangePerfTestCases.hpp55 …onst char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount);
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c342 const long triangleCount = longitudeCount * latitudeCount * 2; in createSuperShape() local
343 const long vertices = triangleCount * 3; in createSuperShape()
488 const long triangleCount = (yEnd - yBegin) * (xEnd - xBegin) * 2; in createGroundPlane() local
489 const long vertices = triangleCount * 3; in createGroundPlane()
/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp452 int triangleCount = m_random.getInt(minTriangleCount, maxTriangleCount); in iterate() local
454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) in iterate()
/external/deqp/modules/gles3/performance/
Des3pRedundantStateChangeTests.cpp51 …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…
Des3pStateChangeTests.cpp51 …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…
/external/skqp/experimental/nima/
DNimaActor.cpp198 uint32_t indexCount = fActorImage->triangleCount() * 3; in updateVertices()
/external/skqp/src/gpu/
DSkGpuDevice.cpp1625 int triangleCount = 0; in wireframeVertices() local
1629 triangleCount = n / 3; in wireframeVertices()
1632 triangleCount = n - 2; in wireframeVertices()
1643 indexCount = triangleCount * 6; in wireframeVertices()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp1049 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()