Home
last modified time | relevance | path

Searched refs:mVertices (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/renderengine/
DMesh.cpp30 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/
DBitmapMeshActivity.java40 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()
DBitmapMeshLayerActivity.java41 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()
DAlpha8BitmapActivity.java44 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/
DMyGLSurfaceView.java86 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/
DMesh.h105 std::vector<float> mVertices; variable