HomeSort by relevance Sort by last modified time
    Searched defs:mIndexBuffer (Results 1 - 22 of 22) sorted by null

  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Buffer.h 54 StaticIndexBuffer *mIndexBuffer;
  /frameworks/base/opengl/tests/gldual/src/com/android/gldual/
TriangleRenderer.java 130 mIndexBuffer = ibb.asShortBuffer();
147 mIndexBuffer.put((short) i);
151 mIndexBuffer.position(0);
158 GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
164 private ShortBuffer mIndexBuffer;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Cube.java 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length);
85 mIndexBuffer.put(indices);
86 mIndexBuffer.position(0);
94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer);
99 private ByteBuffer mIndexBuffer;
StaticTriangleRenderer.java 228 mIndexBuffer = ibb.asShortBuffer();
251 mIndexBuffer.put((short) i);
256 mIndexBuffer.position(0);
265 GL_UNSIGNED_SHORT, mIndexBuffer);
272 private ShortBuffer mIndexBuffer;
TriangleRenderer.java 196 mIndexBuffer = ibb.asShortBuffer();
219 mIndexBuffer.put((short) i);
224 mIndexBuffer.position(0);
233 GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
240 private ShortBuffer mIndexBuffer;
MatrixPaletteRenderer.java 83 private CharBuffer mIndexBuffer;
113 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
137 mIndexBuffer.put(i++, a);
138 mIndexBuffer.put(i++, c);
139 mIndexBuffer.put(i++, b);
141 mIndexBuffer.put(i++, b);
142 mIndexBuffer.put(i++, c);
143 mIndexBuffer.put(i++, d);
195 mIndexBuffer.position(0);
196 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW)
    [all...]
CubeMapActivity.java 251 private CharBuffer mIndexBuffer;
281 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
305 mIndexBuffer.put(i++, a);
306 mIndexBuffer.put(i++, c);
307 mIndexBuffer.put(i++, b);
309 mIndexBuffer.put(i++, b);
310 mIndexBuffer.put(i++, c);
311 mIndexBuffer.put(i++, d);
351 mIndexBuffer.position(0);
352 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW)
    [all...]
  /development/samples/BrowserPlugin/src/com/android/sampleplugin/graphics/
Cube.java 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length);
85 mIndexBuffer.put(indices);
86 mIndexBuffer.position(0);
94 gl.glDrawElements(gl.GL_TRIANGLES, 36, gl.GL_UNSIGNED_BYTE, mIndexBuffer);
99 private ByteBuffer mIndexBuffer;
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
IndexDataManager.h 49 IDirect3DIndexBuffer9 *mIndexBuffer;
  /frameworks/base/libs/rs/
rsMesh.h 35 // Either mIndexBuffer, mPrimitiveBuffer or both could have a NULL reference
38 ObjectBaseRef<Allocation> mIndexBuffer;
69 mHal.state.primitives[index]->mIndexBuffer.set(idx);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BlobCache.java 109 private MappedByteBuffer mIndexBuffer;
270 mIndexBuffer = mIndexChannel.map(FileChannel.MapMode.READ_WRITE,
272 mIndexBuffer.order(ByteOrder.LITTLE_ENDIAN);
344 mIndexBuffer.position(0);
345 mIndexBuffer.put(mIndexHeader);
351 mIndexBuffer.position(hashStart);
354 mIndexBuffer.put(zero, 0, todo);
395 mIndexBuffer.putLong(mSlotOffset, key);
396 mIndexBuffer.putInt(mSlotOffset + 8, mActiveBytes);
541 long candidateKey = mIndexBuffer.getLong(offset)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 59 private ShortBuffer mIndexBuffer;
80 mIndexBuffer = ibb.asShortBuffer();
111 mIndexBuffer.put((short) 0);
112 mIndexBuffer.put((short) 1);
113 mIndexBuffer.put((short) 2);
116 mIndexBuffer.put((short) 5);
117 mIndexBuffer.put((short) 4);
118 mIndexBuffer.put((short) 3);
121 mIndexBuffer.put((short) 2);
122 mIndexBuffer.put((short) 5)
    [all...]
GyroscopeTestActivity.java 248 private ShortBuffer mIndexBuffer;
271 mIndexBuffer = ByteBuffer.allocateDirect(NUM_INDICES * 2)
276 mIndexBuffer.put((short) 0);
277 mIndexBuffer.put((short) 1);
278 mIndexBuffer.put((short) 2);
279 mIndexBuffer.put((short) 0);
280 mIndexBuffer.put((short) 2);
281 mIndexBuffer.put((short) 3);
284 mIndexBuffer.put((short) 7);
285 mIndexBuffer.put((short) 6)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLWorld.java 46 mIndexBuffer = bb.asShortBuffer();
57 shape.putIndices(mIndexBuffer);
76 mIndexBuffer.position(0);
82 gl.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
97 private ShortBuffer mIndexBuffer;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
Grid.java 58 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
82 mIndexBuffer.put(i++, a);
83 mIndexBuffer.put(i++, b);
84 mIndexBuffer.put(i++, c);
86 mIndexBuffer.put(i++, b);
87 mIndexBuffer.put(i++, c);
88 mIndexBuffer.put(i++, d);
129 GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
135 private CharBuffer mIndexBuffer;
SpriteTextRenderer.java 302 mIndexBuffer = ibb.asShortBuffer();
317 mIndexBuffer.put((short) i);
322 mIndexBuffer.position(0);
331 GL10.GL_UNSIGNED_SHORT, mIndexBuffer);
346 private ShortBuffer mIndexBuffer;
  /development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java 160 private ByteBuffer mIndexBuffer;
198 mIndexBuffer = ByteBuffer.allocateDirect(indices.length);
199 mIndexBuffer.put(indices);
200 mIndexBuffer.position(0);
209 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer);
  /development/samples/Compass/src/com/example/android/compass/
CompassActivity.java 53 private ByteBuffer mIndexBuffer;
123 gl.glDrawElements(GL_LINES, 6, GL_UNSIGNED_BYTE, mIndexBuffer);
200 mIndexBuffer = ByteBuffer.allocateDirect(indices.length);
201 mIndexBuffer.put(indices);
202 mIndexBuffer.position(0);
  /development/samples/GlobalTime/src/com/android/globaltime/
Shape.java 54 protected Buffer mIndexBuffer;
138 return mIndexBuffer.capacity() / 3;
140 return mIndexBuffer.capacity() - 2;
148 * and mIndexBuffer.
166 this.mIndexBuffer = shortIndexBuffer;
172 * and mIndexBuffer.
190 this.mIndexBuffer = intIndexBuffer;
266 mNumIndices > 0 ? mNumIndices : mIndexBuffer.capacity(),
268 mIndexBuffer);
  /frameworks/base/opengl/tests/testViewport/src/com/android/test/
TestView.java 103 private CharBuffer mIndexBuffer;
133 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount)
157 mIndexBuffer.put(i++, a);
158 mIndexBuffer.put(i++, c);
159 mIndexBuffer.put(i++, b);
161 mIndexBuffer.put(i++, b);
162 mIndexBuffer.put(i++, c);
163 mIndexBuffer.put(i++, d);
200 mIndexBuffer.position(0);
201 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer.capacity() * CHAR_SIZE, mIndexBuffer, GL11.GL_STATIC_DRAW)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
NinePatchTexture.java 160 private ByteBuffer mIndexBuffer;
348 mIndexBuffer = allocateDirectNativeOrderBuffer(mIdxCount);
352 mIndexBuffer.put(index, 0, idxCount).position(0);
376 mIndexBuffer.capacity(),
377 mIndexBuffer, GL11.GL_STATIC_DRAW);
382 mIndexBuffer = null;
  /packages/apps/Nfc/src/com/android/nfc/
FireflyRenderThread.java 91 ShortBuffer mIndexBuffer;
136 mIndexBuffer = ibb.asShortBuffer();
137 mIndexBuffer.put(mIndices);
138 mIndexBuffer.position(0);
387 mIndexBuffer);

Completed in 513 milliseconds