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

  /cts/tests/tests/openglperf/src/android/openglperf/cts/
Sphere.java 42 private int[] mNumIndices;
68 mNumIndices = new int[numIndexBuffers];
72 mNumIndices[i] = noIndicesPerBuffer;
74 mNumIndices[numIndexBuffers - 1] = mTotalIndices - noIndicesPerBuffer *
78 mIndices[i] = ByteBuffer.allocateDirect(mNumIndices[i] * SHORT_SIZE)
101 short[] indexBuffer = new short[max(mNumIndices)];
108 if (index >= mNumIndices[bufferNum]) {
110 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]);
123 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]);
144 return mNumIndices;
    [all...]
PlanetsRenderer.java 56 private final int mNumIndices;
110 mNumIndices = mNumSpheres * mParam.mNumIndicesPerVertex;
128 mVboIndices = new int[mNumIndices];
406 GLES20.glGenBuffers(mNumIndices, mVboIndices, 0);

Completed in 117 milliseconds