Searched refs:numIndexBuffers (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GlVboPerfTest.java | 42 final int[] numIndexBuffers = {1, 10, 100, 200, 400}; // per vertex buffer in testVboWithVaryingIndexBufferNumbers() local 43 float[] fpsVbo = new float[numIndexBuffers.length]; in testVboWithVaryingIndexBufferNumbers() 44 float[] fpsNonVbo = new float[numIndexBuffers.length]; in testVboWithVaryingIndexBufferNumbers() 46 for (int i = 0; i < numIndexBuffers.length; i++) { in testVboWithVaryingIndexBufferNumbers() 47 runRendering(0, true, true, numIndexBuffers[i]); in testVboWithVaryingIndexBufferNumbers() 49 runRendering(0, true, false, numIndexBuffers[i]); in testVboWithVaryingIndexBufferNumbers() 58 for (int i = 0; i < numIndexBuffers.length; i++) { in testVboWithVaryingIndexBufferNumbers() 59 msgIndex.append(numIndexBuffers[i]).append(" "); in testVboWithVaryingIndexBufferNumbers() 90 int numIndexBuffers) throws Exception { in runRendering() argument 97 intent.putExtra(GlPlanetsActivity.INTENT_EXTRA_NUM_INDEX_BUFFERS, numIndexBuffers); in runRendering()
|
D | Sphere.java | 52 public Sphere(int nSlices, float x, float y, float z, float r, int numIndexBuffers) { in Sphere() argument 67 mIndices = new ShortBuffer[numIndexBuffers]; in Sphere() 68 mNumIndices = new int[numIndexBuffers]; in Sphere() 70 int noIndicesPerBuffer = (mTotalIndices / numIndexBuffers / 6) * 6; in Sphere() 71 for (int i = 0; i < numIndexBuffers - 1; i++) { in Sphere() 74 mNumIndices[numIndexBuffers - 1] = mTotalIndices - noIndicesPerBuffer * in Sphere() 75 (numIndexBuffers - 1); in Sphere() 77 for (int i = 0; i < numIndexBuffers; i++) { in Sphere() 126 for (int i = 0; i < numIndexBuffers; i++) { in Sphere()
|