/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
IndexBuffer.cpp | 41 mIndexBuffer = renderer->createIndexBuffer(); 49 if (mIndexBuffer) 51 delete mIndexBuffer; 57 return mIndexBuffer->getIndexType(); 62 return mIndexBuffer->getBufferSize(); 67 return mIndexBuffer->getSerial(); 72 if (!mIndexBuffer->mapBuffer(mWritePosition, size, outMappedMemory)) 86 return mIndexBuffer->unmapBuffer(); 91 return mIndexBuffer; 106 return mIndexBuffer->discard() [all...] |
IndexBuffer9.cpp | 18 mIndexBuffer = NULL; 26 if (mIndexBuffer) 28 mIndexBuffer->Release(); 29 mIndexBuffer = NULL; 35 if (mIndexBuffer) 37 mIndexBuffer->Release(); 38 mIndexBuffer = NULL; 74 HRESULT result = mRenderer->createIndexBuffer(bufferSize, usageFlags, format, &mIndexBuffer); 97 if (mIndexBuffer) 102 HRESULT result = mIndexBuffer->Lock(offset, size, &mapPtr, lockFlags) [all...] |
IndexBuffer9.h | 45 IDirect3DIndexBuffer9 *mIndexBuffer;
|
IndexBuffer.h | 80 IndexBuffer* mIndexBuffer;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
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...] |
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...] |
/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;
|
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...] |
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...] |
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;
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
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;
|
/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;
|
/frameworks/native/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...] |
/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;
|
/frameworks/native/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;
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 46 private CharBuffer mIndexBuffer; 110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) 136 mIndexBuffer.put(i++, a); 137 mIndexBuffer.put(i++, b); 138 mIndexBuffer.put(i++, c); 140 mIndexBuffer.put(i++, b); 141 mIndexBuffer.put(i++, c); 142 mIndexBuffer.put(i++, d); 247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); 265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BlobCache.java | 110 private MappedByteBuffer mIndexBuffer; 272 mIndexBuffer = mIndexChannel.map(FileChannel.MapMode.READ_WRITE, 274 mIndexBuffer.order(ByteOrder.LITTLE_ENDIAN); 346 mIndexBuffer.position(0); 347 mIndexBuffer.put(mIndexHeader); 353 mIndexBuffer.position(hashStart); 356 mIndexBuffer.put(zero, 0, todo); 407 mIndexBuffer.putLong(mSlotOffset, key); 408 mIndexBuffer.putInt(mSlotOffset + 8, mActiveBytes); 556 long candidateKey = mIndexBuffer.getLong(offset) [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
BlobCache.java | 109 private MappedByteBuffer mIndexBuffer; 271 mIndexBuffer = mIndexChannel.map(FileChannel.MapMode.READ_WRITE, 273 mIndexBuffer.order(ByteOrder.LITTLE_ENDIAN); 345 mIndexBuffer.position(0); 346 mIndexBuffer.put(mIndexHeader); 352 mIndexBuffer.position(hashStart); 355 mIndexBuffer.put(zero, 0, todo); 396 mIndexBuffer.putLong(mSlotOffset, key); 397 mIndexBuffer.putInt(mSlotOffset + 8, mActiveBytes); 542 long candidateKey = mIndexBuffer.getLong(offset) [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererOneColorBufferTest.java | 40 private ShortBuffer mIndexBuffer; 72 mIndexBuffer = ibb.asShortBuffer(); 73 mIndexBuffer.put(mIndices); 74 mIndexBuffer.position(0); 90 mIndexBuffer = ibb.asShortBuffer(); 91 mIndexBuffer.put(mIndices); 92 mIndexBuffer.position(0); 205 GLES20.GL_UNSIGNED_SHORT, mIndexBuffer);
|
NativeRendererOneColorBufferTest.java | 40 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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 197 private ByteBuffer mIndexBuffer; 387 mIndexBuffer = allocateDirectNativeOrderBuffer(mIdxCount); 391 mIndexBuffer.put(index, 0, idxCount).position(0); 401 mIndexBufferName = canvas.uploadBuffer(mIndexBuffer); 406 mIndexBuffer = null;
|