HomeSort by relevance Sort by last modified time
    Searched refs:numIndexBuffers (Results 1 - 2 of 2) sorted by null

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

Completed in 364 milliseconds