OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mColorHandle
(Results
1 - 13
of
13
) sorted by null
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
Triangle.java
51
private int
mColorHandle
;
121
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "vColor");
124
GLES20.glUniform4fv(
mColorHandle
, 1, color, 0);
Square.java
53
private int
mColorHandle
;
129
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "vColor");
132
GLES20.glUniform4fv(
mColorHandle
, 1, color, 0);
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
Triangle.java
53
private int
mColorHandle
;
125
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "vColor");
128
GLES20.glUniform4fv(
mColorHandle
, 1, color, 0);
Square.java
55
private int
mColorHandle
;
135
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "vColor");
138
GLES20.glUniform4fv(
mColorHandle
, 1, color, 0);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
RectangleRenderable.java
42
private int
mColorHandle
;
95
mColorHandle
= GLES20.glGetAttribLocation(mProgramHandle, "a_Color");
118
GLES20.glVertexAttribPointer(
mColorHandle
, COLOUR_DATA_SIZE, GLES20.GL_FLOAT, false,
121
GLES20.glEnableVertexAttribArray(
mColorHandle
);
ConeRenderable.java
47
private int
mColorHandle
;
122
mColorHandle
= GLES20.glGetAttribLocation(mProgramHandle, "a_Color");
156
GLES20.glVertexAttribPointer(
mColorHandle
, COLOUR_DATA_SIZE, GLES20.GL_FLOAT, false,
159
GLES20.glEnableVertexAttribArray(
mColorHandle
);
RingRenderable.java
46
private int
mColorHandle
;
130
mColorHandle
= GLES20.glGetAttribLocation(mProgramHandle, "a_Color");
164
GLES20.glVertexAttribPointer(
mColorHandle
, COLOUR_DATA_SIZE, GLES20.GL_FLOAT, false,
167
GLES20.glEnableVertexAttribArray(
mColorHandle
);
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/util/
Gles2ColoredTriangleList.java
130
*
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "uColor");
205
private final int
mColorHandle
;
246
mColorHandle
= GLES20.glGetUniformLocation(mProgramId, "uColor");
274
GLES20.glUniform4fv(
mColorHandle
, 1 /* count */, color, 0 /* offset */);
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/util/
Gles2ColoredTriangleList.java
130
*
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "uColor");
205
private final int
mColorHandle
;
246
mColorHandle
= GLES20.glGetUniformLocation(mProgramId, "uColor");
274
GLES20.glUniform4fv(
mColorHandle
, 1 /* count */, color, 0 /* offset */);
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
Gles2ColoredTriangleList.java
130
*
mColorHandle
= GLES20.glGetUniformLocation(mProgram, "uColor");
205
private final int
mColorHandle
;
246
mColorHandle
= GLES20.glGetUniformLocation(mProgramId, "uColor");
274
GLES20.glUniform4fv(
mColorHandle
, 1 /* count */, color, 0 /* offset */);
/packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java
322
private int
mColorHandle
;
400
mColorHandle
= glGetAttribLocation(mProgram, "a_color");
402
glEnableVertexAttribArray(
mColorHandle
);
424
glVertexAttribPointer(
mColorHandle
, COLOR_PLANES_PER_VERTEX,
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Swarm.java
67
private int
mColorHandle
;
168
mColorHandle
= GLES20.glGetAttribLocation(mProgram, "a_Color");
169
GLES20.glEnableVertexAttribArray(
mColorHandle
);
170
GLES20.glVertexAttribPointer(
mColorHandle
, FLOATS_PER_COLOR, GLES20.GL_FLOAT, false, colorStride, mColorBuffer);
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java
200
int
mColorHandle
= GLES20.glGetAttribLocation(mProgramObject, "vColor");
201
GLES20.glVertexAttribPointer(
mColorHandle
, 4, GLES20.GL_FLOAT, false, 0, mColor);
Completed in 935 milliseconds