Home
last modified time | relevance | path

Searched refs:mVertexBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DRenderPatch.java41 private final ByteBuffer mVertexBuffer; field in RenderPatch
76 mVertexBuffer = ByteBuffer.allocateDirect(pointCount * VERTEX_STRIDE); in RenderPatch()
77 mVertexBuffer.order(ByteOrder.nativeOrder()); in RenderPatch()
87 mVertexBuffer.putFloat((float) (dimension * Math.sin(angle))); in RenderPatch()
88 mVertexBuffer.putFloat((float) (dimension * Math.cos(angle))); in RenderPatch()
89 mVertexBuffer.putFloat(0.0f); in RenderPatch()
97 mVertexBuffer.putFloat(0.0f); in RenderPatch()
98 mVertexBuffer.putFloat(0.0f); in RenderPatch()
99 mVertexBuffer.putFloat(0.0f); in RenderPatch()
126 …if (mVertexBuffer.remaining() != 0 || mTextureBuffer.remaining() != 0 || mIndexBuffer.remaining() … in RenderPatch()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java74 mVertexBuffer = vbb.asIntBuffer(); in Cube()
75 mVertexBuffer.put(vertices); in Cube()
76 mVertexBuffer.position(0); in Cube()
92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw()
97 private IntBuffer mVertexBuffer; field in Cube
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java102 private FloatBuffer mVertexBuffer; field in TestView.Grid
126 mVertexBuffer = mVertexByteBuffer.asFloatBuffer(); in Grid()
180 mVertexBuffer.position(index * VERTEX_SIZE / FLOAT_SIZE); in set()
181 mVertexBuffer.put(x); in set()
182 mVertexBuffer.put(y); in set()
183 mVertexBuffer.put(z); in set()
204 mVertexBuffer = null; in createBufferObjects()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java124 private final FloatBuffer mVertexBuffer = createNativeFloatBuffer(8); field in ColorFade
315 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers()
334 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, mVertexBuffer.capacity() * 4, in initGLBuffers()
335 mVertexBuffer, GLES20.GL_STATIC_DRAW); in initGLBuffers()