/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
VertexBuffer.cpp | 45 mVertexBuffer = renderer->createVertexBuffer(); 50 delete mVertexBuffer; 55 return mVertexBuffer->getSerial(); 60 return mVertexBuffer->getBufferSize(); 65 if (mVertexBuffer->getBufferSize() == 0) 67 return mVertexBuffer->initialize(size, mDynamic); 71 return mVertexBuffer->setBufferSize(size); 87 return mVertexBuffer->discard(); 94 if (!mVertexBuffer->getSpaceRequired(attrib, count, instances, &spaceRequired)) 110 if (!mVertexBuffer->storeVertexAttributes(attrib, start, count, instances, mWritePosition) [all...] |
VertexBuffer9.cpp | 26 mVertexBuffer = NULL; 39 if (mVertexBuffer) 41 mVertexBuffer->Release(); 42 mVertexBuffer = NULL; 48 if (mVertexBuffer) 50 mVertexBuffer->Release(); 51 mVertexBuffer = NULL; 64 HRESULT result = mRenderer->createVertexBuffer(size, flags, &mVertexBuffer); 87 if (mVertexBuffer) 105 HRESULT result = mVertexBuffer->Lock(offset, mapSize, &mapPtr, lockFlags) [all...] |
VertexBuffer9.h | 50 IDirect3DVertexBuffer9 *mVertexBuffer;
|
VertexBuffer.h | 91 VertexBuffer* mVertexBuffer;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Cube.java | 74 mVertexBuffer = vbb.asIntBuffer(); 75 mVertexBuffer.put(vertices); 76 mVertexBuffer.position(0); 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); 97 private IntBuffer mVertexBuffer;
|
MatrixPaletteRenderer.java | 82 private FloatBuffer mVertexBuffer; 106 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); 167 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); 168 mVertexBuffer.put(x); 169 mVertexBuffer.put(y); 170 mVertexBuffer.put(z); 171 mVertexBuffer.put(u); 172 mVertexBuffer.put(v); 173 mVertexBuffer.put(w0); 174 mVertexBuffer.put(w1) [all...] |
CubeMapActivity.java | 250 private FloatBuffer mVertexBuffer; 274 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); 327 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); 328 mVertexBuffer.put(x); 329 mVertexBuffer.put(y); 330 mVertexBuffer.put(z); 331 mVertexBuffer.put(nx); 332 mVertexBuffer.put(ny); 333 mVertexBuffer.put(nz); 355 mVertexBuffer = null [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
Cube.java | 74 mVertexBuffer = vbb.asIntBuffer(); 75 mVertexBuffer.put(vertices); 76 mVertexBuffer.position(0); 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); 97 private IntBuffer mVertexBuffer;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 42 mVertexBuffer = bb.asIntBuffer(); 51 vertex.put(mVertexBuffer, mColorBuffer); 68 vertex.update(mVertexBuffer, transform); 75 mVertexBuffer.position(0); 80 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); 95 private IntBuffer mVertexBuffer;
|
/frameworks/base/graphics/java/android/renderscript/ |
Path.java | 38 Allocation mVertexBuffer; 46 mVertexBuffer = vtx; 53 return mVertexBuffer;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 48 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 106 mVertexBuffer.put(posIndex, x); 107 mVertexBuffer.put(posIndex + 1, y); 108 mVertexBuffer.put(posIndex + 2, z); 117 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); 133 private FloatBuffer mVertexBuffer;
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
RotationVectorDemo.java | 158 private FloatBuffer mVertexBuffer; 188 mVertexBuffer = vbb.asFloatBuffer(); 189 mVertexBuffer.put(vertices); 190 mVertexBuffer.position(0); 207 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer);
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
TestView.java | 102 private FloatBuffer mVertexBuffer; 126 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); 180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); 181 mVertexBuffer.put(x); 182 mVertexBuffer.put(y); 183 mVertexBuffer.put(z); 204 mVertexBuffer = null;
|
/external/replicaisland/src/com/replica/replicaisland/ |
Grid.java | 48 private Buffer mVertexBuffer; 87 mVertexBuffer = mFixedVertexBuffer; 98 mVertexBuffer = mFloatVertexBuffer; 220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); 258 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); 346 final int vertexSize = mVertexBuffer.capacity() * mCoordinateSize; 349 mVertexBuffer.position(0); 351 mVertexBuffer, GL11.GL_STATIC_DRAW);
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 51 private FloatBuffer mVertexBuffer; 121 gl.glVertexPointer(3, GL_FLOAT, 0, mVertexBuffer); 190 mVertexBuffer = vbb.asFloatBuffer(); 191 mVertexBuffer.put(vertices); 192 mVertexBuffer.position(0);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
GenericWaveRS.java | 53 private ScriptField_Vertex mVertexBuffer; 132 mVertexBuffer = new ScriptField_Vertex(mRS, mPointData.length / 4); 136 meshBuilder.addVertexAllocation(mVertexBuffer.getAllocation()); 143 mPointAlloc = mVertexBuffer.getAllocation(); 145 mScript.bind_gPoints(mVertexBuffer);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 246 private FloatBuffer mVertexBuffer; 251 mVertexBuffer = ByteBuffer.allocateDirect(NUM_VERTICES * 3 * 4) 268 mVertexBuffer.put(coordinates[i]); 323 mVertexBuffer.position(0); 329 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer);
|
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 83 final FloatBuffer mVertexBuffer; 106 mVertexBuffer = vbb.asFloatBuffer(); 107 mVertexBuffer.put(mVertices); 108 mVertexBuffer.position(0); 406 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5RS.java | 62 private com.android.musicvis.vis5.ScriptField_Vertex mVertexBuffer; 258 mVertexBuffer = new com.android.musicvis.vis5.ScriptField_Vertex(mRS, mPointData.length / 4); 261 meshBuilder.addVertexAllocation(mVertexBuffer.getAllocation()); 272 mPointAlloc = mVertexBuffer.getAllocation(); 274 mScript.bind_gPoints(mVertexBuffer);
|
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 102 private final FloatBuffer mVertexBuffer = createNativeFloatBuffer(8); 267 GLES10.glVertexPointer(2, GLES10.GL_FLOAT, 0, mVertexBuffer); 291 setVStretchQuad(mVertexBuffer, mDisplayWidth, mDisplayHeight, ar); 296 setVStretchQuad(mVertexBuffer, mDisplayWidth, mDisplayHeight, ag); 301 setVStretchQuad(mVertexBuffer, mDisplayWidth, mDisplayHeight, ab); 337 GLES10.glVertexPointer(2, GLES10.GL_FLOAT, 0, mVertexBuffer); 341 setHStretchQuad(mVertexBuffer, mDisplayWidth, mDisplayHeight, ag);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 55 private ScriptField_Vertex mVertexBuffer; 159 mScript.bind_Verticies(mVertexBuffer); 197 mVertexBuffer = new ScriptField_Vertex(mRS, mVerticies * 2); 200 meshBuilder.addVertexAllocation(mVertexBuffer.getAllocation());
|