Searched refs:mTextureBuffer (Results 1 – 3 of 3) sorted by relevance
42 private final ByteBuffer mTextureBuffer; field in RenderPatch79 mTextureBuffer = ByteBuffer.allocateDirect(pointCount * TEXTURE_STRIDE); in RenderPatch()80 mTextureBuffer.order(ByteOrder.nativeOrder()); in RenderPatch()91 mTextureBuffer.putFloat((float) (0.5 + 0.5 * Math.sin(angle))); in RenderPatch()92 mTextureBuffer.putFloat((float) (0.5 - 0.5 * Math.cos(angle))); in RenderPatch()100 mTextureBuffer.putFloat(0.5f); in RenderPatch()101 mTextureBuffer.putFloat(0.5f); in RenderPatch()126 …if (mVertexBuffer.remaining() != 0 || mTextureBuffer.remaining() != 0 || mIndexBuffer.remaining() … in RenderPatch()131 mTextureBuffer.position(0); in RenderPatch()144 return mTextureBuffer; in getTextureBuffer()
80 private final FloatBuffer mTextureBuffer; field in ImageGLWallpaper99 mTextureBuffer = ByteBuffer.allocateDirect(TEXTURES.length * BYTES_PER_FLOAT) in ImageGLWallpaper()102 mTextureBuffer.put(TEXTURES); in ImageGLWallpaper()103 mTextureBuffer.position(0); in ImageGLWallpaper()120 mTextureBuffer.position(0); in setupAttributes()122 false, 0, mTextureBuffer); in setupAttributes()
89 final FloatBuffer mTextureBuffer; field in FireflyRenderer118 mTextureBuffer = tbb.asFloatBuffer(); in FireflyRenderer()119 mTextureBuffer.put(mTextCoords); in FireflyRenderer()120 mTextureBuffer.position(0); in FireflyRenderer()407 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTextureBuffer); in draw()