Home
last modified time | relevance | path

Searched refs:mColorHandle (Results 1 – 3 of 3) sorted by relevance

/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DTriangle.java51 private int mColorHandle; field in Triangle
121 mColorHandle = GLES20.glGetUniformLocation(mProgram, "vColor"); in draw()
124 GLES20.glUniform4fv(mColorHandle, 1, color, 0); in draw()
DSquare.java53 private int mColorHandle; field in Square
129 mColorHandle = GLES20.glGetUniformLocation(mProgram, "vColor"); in draw()
132 GLES20.glUniform4fv(mColorHandle, 1, color, 0); in draw()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java205 private final int mColorHandle; field in Gles2ColoredTriangleList.Program
246 mColorHandle = GLES20.glGetUniformLocation(mProgramId, "uColor"); in Program()
274 GLES20.glUniform4fv(mColorHandle, 1 /* count */, color, 0 /* offset */); in bind()