Home
last modified time | relevance | path

Searched refs:posLoc (Results 1 – 18 of 18) sorted by relevance

/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp64 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/
Des2fDepthRangeTests.cpp165 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()
Des2fFlushFinishTests.cpp220 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()
Des2fUniformApiTests.cpp1707 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/
DglsScissorTests.cpp86 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()
DglsLifetimeTests.cpp531 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/
Des3fFlushFinishTests.cpp229 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()
Des3fFragDepthTests.cpp370 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()
Des3fShaderBuiltinVarTests.cpp979 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()
Des3fFragmentOutputTests.cpp744 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()
Des3fUniformApiTests.cpp2119 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/
Des3aVaryingInterpolationTests.cpp245 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/
Des2aVaryingInterpolationTests.cpp238 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/
Des31fAdvancedBlendTests.cpp375 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()
Des31fUniformLocationTests.cpp530 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()
Des31fTextureMultisampleTests.cpp346 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()
Des31fTessellationGeometryInteractionTests.cpp2861 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/
DteglGLES2SharingThreadedTests.cpp1693 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 …]