Searched refs:mColorHandle (Results 1 – 3 of 3) sorted by relevance
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | Triangle.java | 51 private int mColorHandle; field in Triangle 121 mColorHandle = GLES20.glGetUniformLocation(mProgram, "vColor"); in draw() 124 GLES20.glUniform4fv(mColorHandle, 1, color, 0); in draw()
|
D | Square.java | 53 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/ |
D | Gles2ColoredTriangleList.java | 205 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()
|