OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gProgram
(Results
1 - 7
of
7
) sorted by null
/cts/tests/tests/opengl/libopengltest/
color_one.cpp
31
GLuint
gProgram
;
41
gProgram
= glCreateProgram();
42
LOGI("Program %d\n",
gProgram
);
45
glAttachShader(
gProgram
, vertexShader);
47
glAttachShader(
gProgram
, fragmentShader);
49
glBindAttribLocation(
gProgram
, 0, "vPosition");
50
glBindAttribLocation(
gProgram
, 1, "vColor");
51
glLinkProgram(
gProgram
);
53
glGetProgramiv(
gProgram
, GL_LINK_STATUS, &linkStatus);
56
glGetProgramiv(
gProgram
, GL_INFO_LOG_LENGTH, &bufLength)
[
all
...]
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
gl_code.cpp
121
GLuint
gProgram
;
131
gProgram
= createProgram(gVertexShader, gFragmentShader);
132
if (!
gProgram
) {
136
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
160
glUseProgram(
gProgram
);
/frameworks/native/opengl/tests/gl2_jni/jni/
gl_code.cpp
101
GLuint
gProgram
;
111
gProgram
= createProgram(gVertexShader, gFragmentShader);
112
if (!
gProgram
) {
116
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
140
glUseProgram(
gProgram
);
/frameworks/native/opengl/tests/gldual/jni/
gl_code.cpp
101
GLuint
gProgram
;
111
gProgram
= createProgram(gVertexShader, gFragmentShader);
112
if (!
gProgram
) {
116
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
140
glUseProgram(
gProgram
);
/frameworks/native/opengl/tests/gl2_basic/
gl2_basic.cpp
140
GLuint
gProgram
;
144
gProgram
= createProgram(gVertexShader, gFragmentShader);
145
if (!
gProgram
) {
148
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
167
glUseProgram(
gProgram
);
/frameworks/native/opengl/tests/gl2_yuvtex/
gl2_yuvtex.cpp
156
GLuint
gProgram
;
161
gProgram
= createProgram(gVertexShader, gFragmentShader);
162
if (!
gProgram
) {
165
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
169
gYuvTexSamplerHandle = glGetUniformLocation(
gProgram
, "yuvTexSampler");
266
glUseProgram(
gProgram
);
/frameworks/native/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp
140
GLuint
gProgram
;
167
gProgram
= createProgram(gVertexShader, gFragmentShader);
168
if (!
gProgram
) {
171
gvPositionHandle = glGetAttribLocation(
gProgram
, "vPosition");
243
glUseProgram(
gProgram
);
Completed in 697 milliseconds