Searched refs:mColorHandle (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | RenderPatchOpenGLTest.java | 59 private int mColorHandle; field in RenderPatchOpenGLTest 94 mColorHandle = GLES20.glGetUniformLocation(mProgram, "uColor"); in ensureInited() 140 GLES20.glUniform4fv(mColorHandle, 1, getColor(), 0); in draw()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 67 private int mColorHandle; field in Swarm 168 mColorHandle = GLES20.glGetAttribLocation(mProgram, "a_Color"); in draw() 169 GLES20.glEnableVertexAttribArray(mColorHandle); in draw() 170 …GLES20.glVertexAttribPointer(mColorHandle, FLOATS_PER_COLOR, GLES20.GL_FLOAT, false, colorStride, … in draw()
|