/external/deqp/framework/opengl/simplereference/ |
H A D | sglrContextUtil.cpp | 65 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coord"); local 86 if (coordLoc >= 0) 91 ctx.enableVertexAttribArray(coordLoc); 92 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, 0); 135 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coord"); local 144 if (coordLoc >= 0) 146 ctx.enableVertexAttribArray(coordLoc); 147 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, &coord[0]); 155 if (coordLoc >= 0) 156 ctx.disableVertexAttribArray(coordLoc); [all...] |
/external/deqp/modules/gles3/performance/ |
H A D | es3pRedundantStateChangeTests.cpp | 142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 145 gl.enableVertexAttribArray(coordLoc); 149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 183 gl.enableVertexAttribArray(coordLoc); 188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 224 gl.enableVertexAttribArray(coordLoc); 228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 270 GLint coordLoc [all...] |
H A D | es3pStateChangeTests.cpp | 151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 154 gl.enableVertexAttribArray(coordLoc); 158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 197 gl.enableVertexAttribArray(coordLoc); 202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 243 gl.enableVertexAttribArray(coordLoc); 247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 294 GLint coordLoc [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pRedundantStateChangeTests.cpp | 142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 145 gl.enableVertexAttribArray(coordLoc); 149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 183 gl.enableVertexAttribArray(coordLoc); 188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 224 gl.enableVertexAttribArray(coordLoc); 228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 270 GLint coordLoc [all...] |
H A D | es2pStateChangeTests.cpp | 151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 154 gl.enableVertexAttribArray(coordLoc); 158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 197 gl.enableVertexAttribArray(coordLoc); 202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); 243 gl.enableVertexAttribArray(coordLoc); 247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); 294 GLint coordLoc [all...] |
/external/deqp/modules/glshared/ |
H A D | glsMemoryStressCase.cpp | 222 deUint32 coordLoc = -1; local 227 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_coord"); 229 TCU_CHECK(coordLoc != (deUint32)-1); 234 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); 237 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL)); 251 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); 391 deUint32 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_coord"); local 392 TCU_CHECK(coordLoc != (deUint32)-1); 398 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); 401 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 111 GLuint coordLoc; local 113 coordLoc = glGetAttribLocation(program.getProgram(), "a_coord"); 116 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); 118 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); 121 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc));
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fPixelBufferObjectTests.cpp | 303 GLuint coordLoc = (GLuint)-1; local 312 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_position"); 313 TCU_CHECK(coordLoc != (GLuint)-1); 319 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); 321 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, positions)); 327 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc));
|
H A D | es3fReadPixelsTests.cpp | 164 GLuint coordLoc; local 166 coordLoc = glGetAttribLocation(program.getProgram(), "i_coord"); 169 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); 171 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); 174 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc));
|
/external/deqp/modules/egl/ |
H A D | teglImageFormatTests.cpp | 426 GLuint coordLoc = gl.getAttribLocation(glProgram, "a_coord"); local 427 TCU_CHECK_MSG((int)coordLoc != -1, "Couldn't find attribute a_coord"); 434 GLU_CHECK_GLW_CALL(gl, enableVertexAttribArray(coordLoc)); 435 GLU_CHECK_GLW_CALL(gl, vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, squareTriangleCoords)); 438 GLU_CHECK_GLW_CALL(gl, disableVertexAttribArray(coordLoc)); 501 GLuint coordLoc = gl.getAttribLocation(glProgram, "a_coord"); local 502 TCU_CHECK_MSG((int)coordLoc != -1, "Couldn't find attribute a_coord"); 527 GLU_CHECK_GLW_CALL(gl, enableVertexAttribArray(coordLoc)); 528 GLU_CHECK_GLW_CALL(gl, vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, squareTriangleCoords)); 546 GLU_CHECK_GLW_CALL(gl, disableVertexAttribArray(coordLoc)); 625 GLuint coordLoc = gl.getAttribLocation(glProgram, "a_coord"); local [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 239 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); local 244 glEnableVertexAttribArray(coordLoc); 245 glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, &coords[0]);
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 246 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); local 251 glEnableVertexAttribArray(coordLoc); 252 glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, &coords[0]);
|