Home
last modified time | relevance | path

Searched refs:mTriangleVertices (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java88 mTriangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length * 4) in Renderer()
131 mTriangleVertices.position(0); in onDrawFrame()
132 mTriangleVertices.put(mTriangleVerticesData2).position(0); in onDrawFrame()
134 … GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 6*4, mTriangleVertices); in onDrawFrame()
136 mTriangleVertices.put(mTriangleVerticesData2).position(2); in onDrawFrame()
137 … GLES20.glVertexAttribPointer(mvColorHandle, 4, GLES20.GL_FLOAT, false, 6*4, mTriangleVertices); in onDrawFrame()
245 private FloatBuffer mTriangleVertices; field in TestLatencyView.Renderer
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java120 mTriangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length in GLES20TriangleRenderer()
122 mTriangleVertices.put(mTriangleVerticesData).position(0); in GLES20TriangleRenderer()
152 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in onDrawFrame()
154 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()
156 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in onDrawFrame()
160 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()
330 private FloatBuffer mTriangleVertices; field in GLDepthTestActivity.GLES20TriangleRenderer
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java59 mTriangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length * 4) in Renderer()
61 mTriangleVertices.put(mTriangleVerticesData).position(0); in Renderer()
70 … GLES20.glVertexAttribPointer(mvPositionHandle, 2, GLES20.GL_FLOAT, false, 0, mTriangleVertices); in onDrawFrame()
153 private FloatBuffer mTriangleVertices; field in GL2JavaView.Renderer
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java142 mTriangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length in CamRenderer()
144 mTriangleVertices.put(mTriangleVerticesData).position(0); in CamRenderer()
207 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in onDrawFrame()
209 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()
214 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in onDrawFrame()
216 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()
448 private FloatBuffer mTriangleVertices; field in CamRenderer
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java291 private FloatBuffer mTriangleVertices; field in VideoDumpView.VideoDumpRenderer
352 mTriangleVertices = ByteBuffer.allocateDirect( in VideoDumpRenderer()
355 mTriangleVertices.put(mTriangleVerticesData).position(0); in VideoDumpRenderer()
400 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in onDrawFrame()
402 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()
409 mTriangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in onDrawFrame()
411 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, mTriangleVertices); in onDrawFrame()