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

  /external/eigen/demos/opengl/
icosphere.cpp 41 mIndices.push_back(new std::vector<int>);
42 std::vector<int>& indices = *mIndices.back();
50 while(mIndices.size()<levels)
56 while (level>=int(mIndices.size()))
58 return *mIndices[level];
65 const std::vector<int>& indices = *mIndices.back();
66 mIndices.push_back(new std::vector<int>);
67 std::vector<int>& refinedIndices = *mIndices.back();
102 while (level>=int(mIndices.size()))
112 glDrawElements(GL_TRIANGLES, mIndices[level]->size(), GL_UNSIGNED_INT, &(mIndices[level]->at(0)))
    [all...]
icosphere.h 26 std::vector<std::vector<int>*> mIndices;
quaternion_demo.h 68 std::vector<int> mIndices;
  /external/chromium_org/third_party/angle/samples/angle/simple_instancing/
SimpleInstancing.cpp 103 mIndices.push_back(0);
104 mIndices.push_back(1);
105 mIndices.push_back(2);
106 mIndices.push_back(0);
107 mIndices.push_back(2);
108 mIndices.push_back(3);
164 mDrawElementsInstancedANGLE(GL_TRIANGLES, mIndices.size(), GL_UNSIGNED_SHORT, mIndices.data(), mInstances.size());
193 std::vector<GLushort> mIndices;
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
Sphere.java 41 private ShortBuffer[] mIndices;
67 mIndices = new ShortBuffer[numIndexBuffers];
78 mIndices[i] = ByteBuffer.allocateDirect(mNumIndices[i] * SHORT_SIZE)
110 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]);
123 mIndices[bufferNum].put(indexBuffer, 0, mNumIndices[bufferNum]);
127 mIndices[i].position(0);
140 return mIndices;
  /development/samples/Snake/src/com/example/android/snake/
BackgroundView.java 36 private final short[] mIndices =
70 mFillColors, 0, mIndices,
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java 60 private short[] mIndices = { 0, 1, 2, 0, 2, 3 };
70 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2);
73 mIndexBuffer.put(mIndices);
88 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2);
91 mIndexBuffer.put(mIndices);
204 GLES20.glDrawElements(GLES20.GL_TRIANGLES, mIndices.length,
NativeRendererOneColorBufferTest.java 54 private short[] mIndices = { 0, 1, 2, 0, 2, 3 };
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Vertices.java 38 private final short[] mIndices = { 0, 1, 2, 3, 4, 1 };
88 mTexs, 0, null, 0, mIndices, 0, 6, mPaint);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DisplayModifier.java 440 private int[] mIndices;
445 mIndices = new int[totalModifiers];
476 int modifierMapIndex = mIndices.length - 1;
480 mIndices[modifierMapIndex]++;
483 if (mIndices[modifierMapIndex] < map.size()) {
493 mIndices[modifierMapIndex] = 0;
521 int displayModifierIndex = mIndices[mapIndex];

Completed in 1600 milliseconds