Searched refs:triangleVertices (Results 1 – 2 of 2) sorted by relevance
83 float[] triangleVertices = { in onSurfaceCreated() local89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4); in onSurfaceCreated()92 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4) in onSurfaceCreated()95 mFloatBuffer.put(triangleVertices).position(0); in onSurfaceCreated()149 float[] triangleVertices = { in onSurfaceCreated() local155 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4) in onSurfaceCreated()158 mFloatBuffer.put(triangleVertices).position(0); in onSurfaceCreated()
995 private FloatBuffer triangleVertices; field in GLSurfaceViewFactory.GLSurfaceViewThread1048 triangleVertices = ByteBuffer in run()1051 triangleVertices.put(triangleVerticesData).position(0); in run()1202 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in drawFrame()1204 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()1209 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in drawFrame()1211 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()