Home
last modified time | relevance | path

Searched refs:posLoc (Results 1 – 21 of 21) 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.cpp221 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in setupRenderState() local
233 TCU_CHECK(posLoc >= 0); in setupRenderState()
237 gl.enableVertexAttribArray(posLoc); in setupRenderState()
238 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, &s_positions[0]); in setupRenderState()
Des2fUniformApiTests.cpp1697 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); in renderTest() local
1699 glEnableVertexAttribArray(posLoc); in renderTest()
1700 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.cpp696 GLint posLoc = gl().getAttribLocation(program, "pos"); in drawContainer() local
697 TCU_CHECK(posLoc >= 0); in drawContainer()
699 gl().enableVertexAttribArray(posLoc); in drawContainer()
703 gl().vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, s_vertices); in drawContainer()
706 gl().disableVertexAttribArray(posLoc); in drawContainer()
/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.cpp239 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); in iterate() local
242 glEnableVertexAttribArray(posLoc); in iterate()
243 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]); in iterate()
/external/deqp/modules/gles3/functional/
Des3fFlushFinishTests.cpp241 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in setupRenderState() local
253 TCU_CHECK(posLoc >= 0); in setupRenderState()
257 gl.enableVertexAttribArray(posLoc); in setupRenderState()
258 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.cpp1000 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
1008 gl.enableVertexAttribArray (posLoc); in iterate()
1009 gl.vertexAttribPointer (posLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
Des3fFragmentOutputTests.cpp809 int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
810 TCU_CHECK(posLoc >= 0); in iterate()
811 gl.enableVertexAttribArray(posLoc); in iterate()
812 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]); in iterate()
Des3fUniformApiTests.cpp2109 const int posLoc = glGetAttribLocation(program.getProgram(), "a_position"); in renderTest() local
2110 glEnableVertexAttribArray(posLoc); in renderTest()
2111 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in renderTest()
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp2264 int posLoc = gl.getAttribLocation(progVF.getProgram(), "a_position"); in iterate() local
2267 gl.disableVertexAttribArray(posLoc); in iterate()
2281 posLoc = gl.getAttribLocation(programA, "a_position"); in iterate()
2282 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, 0); in iterate()
2283 gl.enableVertexAttribArray(posLoc); in iterate()
2800 int posLoc = gl.getAttribLocation(programA, "a_position"); in iterate() local
2801 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, 0); in iterate()
2802 gl.enableVertexAttribArray(posLoc); in iterate()
2808 gl.disableVertexAttribArray(posLoc); in iterate()
2835 int posLoc = gl.getAttribLocation(progVF.getProgram(), "a_position"); in iterate() local
[all …]
/external/deqp/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp412 const int posLoc = gl.getAttribLocation(program, "a_position"); in iterate() local
428 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); in iterate()
442 gl.enableVertexAttribArray(posLoc); in iterate()
443 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
Des31fUniformLocationTests.cpp529 const deInt32 posLoc = gl.getAttribLocation(programID, "a_position"); in render() local
548 TCU_CHECK(posLoc >= 0); in render()
626 gl.enableVertexAttribArray(posLoc); in render()
627 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &position[0]); in render()
631 gl.disableVertexAttribArray(posLoc); in render()
Des31fTextureMultisampleTests.cpp358 const GLuint posLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in genMultisampleTexture() local
407 gl.vertexAttribPointer (posLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in genMultisampleTexture()
408 gl.enableVertexAttribArray (posLoc); in genMultisampleTexture()
415 gl.disableVertexAttribArray (posLoc); in genMultisampleTexture()
Des31fTessellationGeometryInteractionTests.cpp2896 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
2899 if (posLoc == -1) in iterate()
2916 gl.vertexAttrib4f(posLoc, 0.0f, 0.0f, 0.0f, 1.0f); in iterate()
/external/deqp/external/openglcts/modules/common/
DglcFragDepthTests.cpp360 int posLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in iterate() local
374 glu::VertexArrayBinding posBinding = glu::va::Float(posLoc, 4, 4, 0, &position[0]); in iterate()
/external/swiftshader/tests/GLESUnitTests/
Dunittests.cpp291 GLint posLoc = glGetAttribLocation(program, "position"); in drawQuad() local
308 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, vertices); in drawQuad()
309 glEnableVertexAttribArray(posLoc); in drawQuad()
313 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, nullptr); in drawQuad()
314 glDisableVertexAttribArray(posLoc); in drawQuad()
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp1700 GLint posLoc = thread.gl.getAttribLocation(m_program->program, "a_pos"); in exec() local
1702 …thread.newMessage() << "End -- " << posLoc << " = glGetAttribLocation()" << tcu::ThreadUtil::Messa… in exec()
1704 …thread.newMessage() << "Begin -- glEnableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil::… in exec()
1705 GLU_CHECK_GLW_CALL(thread.gl, enableVertexAttribArray(posLoc)); in exec()
1712 …thread.newMessage() << "Begin -- glVertexAttribPointer(" << posLoc << ", GL_BYTE, GL_TRUE, 0, 0)" … in exec()
1713 GLU_CHECK_GLW_CALL(thread.gl, vertexAttribPointer(posLoc, 2, GL_BYTE, GL_TRUE, 0, 0)); in exec()
1724 …thread.newMessage() << "Begin -- glDisableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil:… in exec()
1725 GLU_CHECK_GLW_CALL(thread.gl, disableVertexAttribArray(posLoc)); in exec()
1784 GLint posLoc = thread.gl.getAttribLocation(m_program->program, "a_pos"); in exec() local
1786 …thread.newMessage() << "End -- " << posLoc << " = glGetAttribLocation()" << tcu::ThreadUtil::Messa… in exec()
[all …]