Home
last modified time | relevance | path

Searched refs:triangleCount (Results 1 – 18 of 18) 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/Renderer/
DRenderer.cpp1117 …void Renderer::processPrimitiveVertices(int unit, unsigned int start, unsigned int triangleCount, … in processPrimitiveVertices() argument
1142 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1156 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1170 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1184 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1198 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1212 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1235 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1258 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1272 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
701 …const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, rr::DrawIndices… in renderReference()
708 const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, 0); in renderReference()
766 const int triangleCount = 8; in render() local
776 renderGL(renderContext, renderBits, coordSeed, triangleCount, program, texture); in render()
777 renderReference(renderBits, coordSeed, triangleCount, texture, maxTextureBufferSize, target); in render()
DglsStateChangePerfTestCases.hpp55 …onst char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount);
/external/swiftshader/src/Device/
DRenderer.cpp990 …void Renderer::processPrimitiveVertices(int unit, unsigned int start, unsigned int triangleCount, … in processPrimitiveVertices() argument
1015 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1029 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1043 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1057 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1071 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1094 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1117 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1131 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
1145 for(unsigned int i = 0; i < triangleCount; i++) in processPrimitiveVertices()
[all …]
/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/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/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/skia/experimental/nima/
DNimaActor.cpp198 uint32_t indexCount = fActorImage->triangleCount() * 3; in updateVertices()
/external/skqp/experimental/nima/
DNimaActor.cpp198 uint32_t indexCount = fActorImage->triangleCount() * 3; in updateVertices()
/external/skia/src/gpu/
DSkGpuDevice.cpp1465 int triangleCount = 0; in wireframeVertices() local
1469 triangleCount = n / 3; in wireframeVertices()
1472 triangleCount = n - 2; in wireframeVertices()
1483 indexCount = triangleCount * 6; in wireframeVertices()
/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.cpp1045 const int triangleCount = m_gridSize * m_gridSize * 2; in ComputeShaderGeneratedCase() local
1049 DE_ASSERT(triangleCount % m_numDrawCmds == 0); in ComputeShaderGeneratedCase()
1050 DE_UNREF(triangleCount); in ComputeShaderGeneratedCase()
1344 const int triangleCount = m_gridSize * m_gridSize * 2; in createDrawCommand() local
1345 const deUint32 numDrawCallTris = triangleCount / m_numDrawCmds; in createDrawCommand()