/external/deqp/modules/gles2/performance/ |
es2pDrawCallBatchingTests.cpp | 77 int triangleCount; 176 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) 188 for (int triangleNdx = 0; triangleNdx < m_spec.triangleCount; triangleNdx++) 274 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); 276 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++) 278 int sign = (m_spec.triangleCount % 2 == 1 || i % 2 == 0 ? 1 : -1); 298 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); 300 for (int i = 0; i < 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount; i++) 314 data.reserve(4 * 3 * m_spec.triangleCount * m_spec.drawCallCount); 316 for (int i = 0; i < m_spec.triangleCount * m_spec.drawCallCount; i++ [all...] |
es2pRedundantStateChangeTests.cpp | 51 RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description); 60 RedundantStateChangeCase::RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description) 64 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) 108 RedundantStateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name, const char* description)\ 109 : RedundantStateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, description)\ [all...] |
es2pStateChangeTests.cpp | 51 StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description); 61 StateChangeCase::StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description) 65 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) 117 StateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name, const char* description)\ 118 : StateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, description)\ [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/ |
UnweightedMeshSpawnShapeValue.java | 14 private int positionOffset, vertexSize, vertexCount, triangleCount; 32 triangleCount = indices.length/3; 55 int triangleIndex = MathUtils.random(triangleCount-1)*3;
|
/external/deqp/modules/egl/ |
teglGLES2SharedRenderingPerfTests.cpp | 78 int triangleCount; 178 data.reserve(config.triangleCount * 3 * 2); 180 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) 223 for (int triangleNdx = 0; triangleNdx < config.triangleCount; triangleNdx++) 691 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, 0); 694 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, &(m_indexData[0])); 697 m_gl.drawArrays(GL_TRIANGLES, 0, m_config.triangleCount); 991 log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::EndMessage; 996 log << TestLog::Message << "Number of triangles rendered by each draw call: " << config.triangleCount << TestLog::EndMessage; 1100 basicConfig.triangleCount = 100 [all...] |
/external/deqp/modules/glshared/ |
glsStateChangePerfTestCases.cpp | 104 void genIndices (vector<GLushort>& indices, int triangleCount) 106 indices.reserve(triangleCount*3); 108 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) 116 void genCoords (vector<GLfloat>& coords, int triangleCount) 118 coords.reserve(triangleCount * 3 * 2); 120 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++) 211 StateChangePerformanceCase::StateChangePerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount) 217 , m_triangleCount (triangleCount)
|
glsStateChangePerfTestCases.hpp | 55 StateChangePerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount);
|
glsTextureBufferCase.cpp | 578 int triangleCount, 630 gl.drawElements(GL_TRIANGLES, triangleCount * 3, GL_UNSIGNED_BYTE, DE_NULL); 634 gl.drawArrays(GL_TRIANGLES, 0, triangleCount * 3); 658 int triangleCount, 701 const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, rr::DrawIndices(texture.getRefBuffer().getPtr(), rr::INDEXTYPE_UINT8)); 708 const rr::PrimitiveList primitives(rr::PRIMITIVETYPE_TRIANGLES, triangleCount * 3, 0); 766 const int triangleCount = 8; 776 renderGL(renderContext, renderBits, coordSeed, triangleCount, program, texture); 777 renderReference(renderBits, coordSeed, triangleCount, texture, maxTextureBufferSize, target); [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 206 const long triangleCount = longitudeCount * latitudeCount * 2; 207 const long vertices = triangleCount * 3; 350 const long triangleCount = (yEnd - yBegin) * (xEnd - xBegin) * 2; 351 const long vertices = triangleCount * 3;
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
demo.c | 342 const long triangleCount = longitudeCount * latitudeCount * 2; 343 const long vertices = triangleCount * 3; 488 const long triangleCount = (yEnd - yBegin) * (xEnd - xBegin) * 2; 489 const long vertices = triangleCount * 3; [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig/softbody/ |
btSoftBody.i | 37 * triangleCount: the amount of triangle (size per triangle = 3 * sizeof(short)) 178 void getIndices(short *buffer, int triangleCount) { 181 for (int i = 0; i < triangleCount; i++) {
|
/frameworks/native/opengl/tests/angeles/ |
demo.c | 206 const long triangleCount = longitudeCount * latitudeCount * 2; 207 const long vertices = triangleCount * 3; 350 const long triangleCount = (yEnd - yBegin) * (xEnd - xBegin) * 2; 351 const long vertices = triangleCount * 3;
|
/external/deqp/modules/gles3/functional/ |
es3fPixelBufferObjectTests.cpp | 452 int triangleCount = m_random.getInt(minTriangleCount, maxTriangleCount); 454 for (int triangleNdx = 0; triangleNdx < triangleCount; triangleNdx++)
|
/external/deqp/modules/gles3/performance/ |
es3pRedundantStateChangeTests.cpp | 51 RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description); 60 RedundantStateChangeCase::RedundantStateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description) 64 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) 108 RedundantStateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name, const char* description)\ 109 : RedundantStateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, description)\ [all...] |
es3pStateChangeTests.cpp | 51 StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description); 61 StateChangeCase::StateChangeCase (Context& context, int drawCallCount, int triangleCount, bool drawArrays, bool useIndexBuffer, const char* name, const char* description) 65 DRAWTYPE_INDEXED_USER_PTR), drawCallCount, triangleCount) 117 StateChangeCase_ ## NAME (Context& context, int drawCallCount, int triangleCount, const char* name, const char* description)\ 118 : StateChangeCase(context, drawCallCount, triangleCount, (DRAWARRAYS), (INDEXBUFFER), name, description)\ [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonSpriteBatch.java | 753 final int triangleCount = count / SPRITE_SIZE * 6;
756 else if (triangleIndex + triangleCount > triangles.length || vertexIndex + count > vertices.length) //
762 for (int n = triangleIndex + triangleCount; triangleIndex < n; triangleIndex += 6, vertex += 4) {
[all...] |
/external/skia/src/gpu/ |
SkGpuDevice.cpp | [all...] |
/external/deqp/modules/gles31/functional/ |
es31fDrawTests.cpp | [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
btSoftBody.java | [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/ |
softbody_wrap.cpp | [all...] |