/frameworks/native/libs/renderengine/ |
D | Mesh.cpp | 30 mVertices.resize(1); in Mesh() 31 mVertices[0] = 0.0f; in Mesh() 45 mVertices.resize(1); in Mesh() 46 mVertices[0] = 0.0f; in Mesh() 54 mVertices.resize(stride * vertexCount); in Mesh() 63 return mVertices.data(); in getPositions() 66 return mVertices.data(); in getPositions() 70 return mVertices.data() + mVertexSize; in getTexCoords() 73 return mVertices.data() + mVertexSize; in getTexCoords() 77 return mVertices.data() + mVertexSize + mTexCoordsSize; in getCropCoords() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapMeshActivity.java | 40 private float[] mVertices; field in BitmapMeshActivity.BitmapMeshView 51 mVertices = new float[] { in BitmapMeshView() 73 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); in onDraw() 78 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); in onDraw() 82 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
|
D | BitmapMeshLayerActivity.java | 41 private float[] mVertices; field in BitmapMeshLayerActivity.BitmapMeshView 52 mVertices = new float[] { in BitmapMeshView() 72 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); in onDraw() 75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
|
D | Alpha8BitmapActivity.java | 44 private final float[] mVertices; field in Alpha8BitmapActivity.BitmapsView 62 mVertices = new float[] { in BitmapsView() 92 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, mBitmapPaint); in onDraw()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 86 mVertices = ByteBuffer.allocateDirect(mVerticesData.length in MyRenderer() 88 mVertices.put(mVerticesData).position(0); in MyRenderer() 114 mVertices.position(VERTICES_DATA_POS_OFFSET); in onDrawFrame() 116 VERTICES_DATA_STRIDE_BYTES, mVertices); in onDrawFrame() 121 mVertices.position(VERTICES_DATA_UV_OFFSET); in onDrawFrame() 123 VERTICES_DATA_STRIDE_BYTES, mVertices); in onDrawFrame() 301 private FloatBuffer mVertices; field in MyRenderer
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | Mesh.h | 105 std::vector<float> mVertices; variable
|