/external/deqp/framework/opengl/simplereference/ |
H A D | sglrContextUtil.cpp | 64 deInt32 posLoc = ctx.getAttribLocation(program, "a_position"); local 75 TCU_CHECK(posLoc >= 0); 80 ctx.enableVertexAttribArray(posLoc); 81 ctx.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, 0); 134 deInt32 posLoc = ctx.getAttribLocation(program, "a_position"); local 138 TCU_CHECK(posLoc >= 0); 140 ctx.enableVertexAttribArray(posLoc); 141 ctx.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 152 if (posLoc >= 0) 153 ctx.disableVertexAttribArray(posLoc); [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fDepthRangeTests.cpp | 165 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 173 glEnableVertexAttribArray(posLoc); 197 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &constDepthCoord); 200 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &varyingDepthCoord); 220 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 315 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 323 glEnableVertexAttribArray(posLoc); 340 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 366 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]);
|
H A D | es2fFlushFinishTests.cpp | 220 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local 232 TCU_CHECK(posLoc >= 0); 236 gl.enableVertexAttribArray(posLoc); 237 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, &s_positions[0]);
|
H A D | es2fUniformApiTests.cpp | 1707 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 1709 glEnableVertexAttribArray(posLoc); 1710 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]);
|
/external/deqp/modules/glshared/ |
H A D | glsScissorTests.cpp | 86 const deInt32 posLoc = gl.getAttribLocation(program, "a_position"); local 89 gl.enableVertexAttribArray(posLoc); 90 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 94 gl.disableVertexAttribArray(posLoc); 100 const deInt32 posLoc = gl.getAttribLocation(program, "a_position"); local 102 TCU_CHECK(posLoc >= 0); 105 gl.enableVertexAttribArray(posLoc); 106 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertices[0]); 110 gl.disableVertexAttribArray(posLoc);
|
H A D | glsLifetimeTests.cpp | 531 GLint posLoc = gl().getAttribLocation(program, "pos"); local 532 TCU_CHECK(posLoc >= 0); 534 gl().enableVertexAttribArray(posLoc); 538 gl().vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, s_vertices); 541 gl().disableVertexAttribArray(posLoc);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 238 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 241 glEnableVertexAttribArray(posLoc); 242 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aVaryingInterpolationTests.cpp | 245 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 248 glEnableVertexAttribArray(posLoc); 249 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fFlushFinishTests.cpp | 229 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local 241 TCU_CHECK(posLoc >= 0); 245 gl.enableVertexAttribArray(posLoc); 246 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, &s_positions[0]);
|
H A D | es3fFragDepthTests.cpp | 370 int posLoc = gl.getAttribLocation(program.getProgram(), "a_position"); local 389 glu::VertexArrayBinding posBinding = glu::va::Float(posLoc, 4, 4, 0, &position[0]);
|
H A D | es3fShaderBuiltinVarTests.cpp | 979 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local 987 gl.enableVertexAttribArray (posLoc); 988 gl.vertexAttribPointer (posLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL);
|
H A D | es3fFragmentOutputTests.cpp | 744 int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local 745 TCU_CHECK(posLoc >= 0); 746 gl.enableVertexAttribArray(posLoc); 747 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
|
H A D | es3fUniformApiTests.cpp | 2119 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); local 2120 glEnableVertexAttribArray(posLoc); 2121 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fAdvancedBlendTests.cpp | 375 const int posLoc = gl.getAttribLocation(program, "a_position"); local 391 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); 405 gl.enableVertexAttribArray(posLoc); 406 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL);
|
H A D | es31fUniformLocationTests.cpp | 530 const deInt32 posLoc = gl.getAttribLocation(programID, "a_position"); 549 TCU_CHECK(posLoc >= 0); 627 gl.enableVertexAttribArray(posLoc); 628 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); 632 gl.disableVertexAttribArray(posLoc);
|
H A D | es31fTextureMultisampleTests.cpp | 346 const GLuint posLoc = gl.getAttribLocation(program.getProgram(), "a_position"); local 395 gl.vertexAttribPointer (posLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 396 gl.enableVertexAttribArray (posLoc); 403 gl.disableVertexAttribArray (posLoc);
|
H A D | es31fTessellationGeometryInteractionTests.cpp | 2861 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); 2864 if (posLoc == -1) 2881 gl.vertexAttrib4f(posLoc, 0.0f, 0.0f, 0.0f, 1.0f);
|
/external/deqp/modules/egl/ |
H A D | teglGLES2SharingThreadedTests.cpp | 1693 GLint posLoc = glGetAttribLocation(m_program->program, "a_pos"); local 1695 thread.newMessage() << "End -- " << posLoc << " = glGetAttribLocation()" << tcu::ThreadUtil::Message::End; 1697 thread.newMessage() << "Begin -- glEnableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil::Message::End; 1698 GLU_CHECK_CALL(glEnableVertexAttribArray(posLoc)); 1705 thread.newMessage() << "Begin -- glVertexAttribPointer(" << posLoc << ", GL_BYTE, GL_TRUE, 0, 0)" << tcu::ThreadUtil::Message::End; 1706 GLU_CHECK_CALL(glVertexAttribPointer(posLoc, 2, GL_BYTE, GL_TRUE, 0, 0)); 1717 thread.newMessage() << "Begin -- glDisableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil::Message::End; 1718 GLU_CHECK_CALL(glDisableVertexAttribArray(posLoc)); 1775 GLint posLoc = glGetAttribLocation(m_program->program, "a_pos"); local 1777 thread.newMessage() << "End -- " << posLoc << " [all...] |