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