/external/eigen/demos/opengl/ |
icosphere.h | 20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } 25 std::vector<Eigen::Vector3f> mVertices;
|
icosphere.cpp | 40 mVertices.push_back(Map<Vector3f>(vdata[i])); 85 ids1[k] = mVertices.size(); 87 mVertices.push_back( (mVertices[e0]+mVertices[e1]).normalized() ); 108 glVertexPointer(3, GL_FLOAT, 0, mVertices[0].data()); 109 glNormalPointer(GL_FLOAT, 0, mVertices[0].data());
|
quaternion_demo.h | 66 std::vector<Vector3f> mVertices;
|
quaternion_demo.cpp | 258 glVertexPointer(3, GL_FLOAT, 0, mVertices[0].data()); 262 glDrawArrays(GL_TRIANGLES, 0, mVertices.size());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapMeshActivity.java | 40 private float[] mVertices; 51 mVertices = new float[] { 73 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); 78 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); 82 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
|
BitmapMeshLayerActivity.java | 41 private float[] mVertices; 52 mVertices = new float[] { 72 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); 75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
|
Alpha8BitmapActivity.java | 44 private final float[] mVertices; 62 mVertices = new float[] { 92 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, mBitmapPaint);
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
Sphere.java | 40 private FloatBuffer mVertices; 65 mVertices = ByteBuffer.allocateDirect(nVertices * 5 * FLOAT_SIZE) 98 mVertices.put(vLineBuffer, 0, vLineBuffer.length); 125 mVertices.position(0); 132 return mVertices;
|
TextureTestRenderer.java | 58 private final FloatBuffer mVertices; 67 mVertices = ByteBuffer.allocateDirect(mVerticesData.length 69 mVertices.put(mVerticesData).position(0); 100 gl.glVertexPointer(3, GL10.GL_FLOAT, GEOMETRY_STRIDE, mVertices); 101 gl.glTexCoordPointer(2, GL10.GL_FLOAT, GEOMETRY_STRIDE, mVertices
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
SurfaceTextureRenderer.java | 51 private FloatBuffer mVertices; 94 mVertices = ByteBuffer.allocateDirect(mVerticesData.length 96 mVertices.put(mVerticesData).position(0); 122 mVertices.position(VERTICES_DATA_POS_OFFSET); 124 VERTICES_DATA_STRIDE_BYTES, mVertices); 129 mVertices.position(VERTICES_DATA_UV_OFFSET); 131 VERTICES_DATA_STRIDE_BYTES, mVertices);
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 74 mVertices = ByteBuffer.allocateDirect(mVerticesData.length 76 mVertices.put(mVerticesData).position(0); 102 mVertices.position(VERTICES_DATA_POS_OFFSET); 104 VERTICES_DATA_STRIDE_BYTES, mVertices); 109 mVertices.position(VERTICES_DATA_UV_OFFSET); 111 VERTICES_DATA_STRIDE_BYTES, mVertices); 289 private FloatBuffer mVertices;
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererOneColorBufferTest.java | 39 private FloatBuffer mVertices; 66 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4) 68 mVertices.put(mVerticesData).position(0); 84 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4) 86 mVertices.put(mVerticesData).position(0); 197 GLES20.glVertexAttribPointer(0, 3, GLES20.GL_FLOAT, false, 0, mVertices);
|
NativeRendererOneColorBufferTest.java | 39 private FloatBuffer mVertices;
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
MyGLSurfaceView.java | 86 mVertices = ByteBuffer.allocateDirect(mVerticesData.length 88 mVertices.put(mVerticesData).position(0); 114 mVertices.position(VERTICES_DATA_POS_OFFSET); 116 VERTICES_DATA_STRIDE_BYTES, mVertices); 121 mVertices.position(VERTICES_DATA_UV_OFFSET); 123 VERTICES_DATA_STRIDE_BYTES, mVertices); 301 private FloatBuffer mVertices;
|
/frameworks/base/libs/hwui/ |
Patch.h | 64 TextureVertex* mVertices;
|
Patch.cpp | 39 mVertices = new TextureVertex[maxVertices]; 56 delete[] mVertices; 149 TextureVertex* vertex = mVertices; 205 mVertices, GL_DYNAMIC_DRAW); 209 sizeof(TextureVertex) * verticesCount, mVertices);
|
DisplayListOp.h | 879 mVertices(vertices), mColors(colors) {} 883 mVertices, mColors, getPaint(renderer)); 901 float* mVertices; [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.h | 115 GLfloat mVertices[4][2]; 122 return &mVertices[0][0];
|
Layer.cpp | 669 tr.transform(mesh->mVertices[0], win.left, win.top); 670 tr.transform(mesh->mVertices[1], win.left, win.bottom); 671 tr.transform(mesh->mVertices[2], win.right, win.bottom); 672 tr.transform(mesh->mVertices[3], win.right, win.top); 674 mesh->mVertices[i][1] = hw_h - mesh->mVertices[i][1]; [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 62 static final float mVertices[] = { 104 ByteBuffer vbb = ByteBuffer.allocateDirect(mVertices.length * 4); // Float => 4 bytes 107 mVertexBuffer.put(mVertices);
|