Searched defs:posLoc (Results 1 - 15 of 15) sorted by relevance

/external/deqp/framework/opengl/simplereference/
H A DsglrContextUtil.cpp64 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/accuracy/
H A Des2aVaryingInterpolationTests.cpp238 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/gles2/functional/
H A Des2fDepthRangeTests.cpp165 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 Des2fFlushFinishTests.cpp221 const int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local
233 TCU_CHECK(posLoc >= 0);
237 gl.enableVertexAttribArray(posLoc);
238 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, &s_positions[0]);
H A Des2fUniformApiTests.cpp1707 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/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp245 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 Des3fFragDepthTests.cpp370 int posLoc = gl.getAttribLocation(program.getProgram(), "a_position"); local
389 glu::VertexArrayBinding posBinding = glu::va::Float(posLoc, 4, 4, 0, &position[0]);
H A Des3fShaderBuiltinVarTests.cpp979 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 Des3fFragmentOutputTests.cpp809 int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); local
810 TCU_CHECK(posLoc >= 0);
811 gl.enableVertexAttribArray(posLoc);
812 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]);
H A Des3fUniformApiTests.cpp2119 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 Des31fAdvancedBlendTests.cpp412 const int posLoc = gl.getAttribLocation(program, "a_position"); local
428 TCU_CHECK(posLoc >= 0 && colorLoc >= 0);
442 gl.enableVertexAttribArray(posLoc);
443 gl.vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, DE_NULL);
H A Des31fTextureMultisampleTests.cpp346 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);
/external/deqp/modules/glshared/
H A DglsScissorTests.cpp86 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 DglsLifetimeTests.cpp534 GLint posLoc = gl().getAttribLocation(program, "pos"); local
535 TCU_CHECK(posLoc >= 0);
537 gl().enableVertexAttribArray(posLoc);
541 gl().vertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, s_vertices);
544 gl().disableVertexAttribArray(posLoc);
/external/deqp/modules/egl/
H A DteglGLES2SharingThreadedTests.cpp1700 GLint posLoc = thread.gl.getAttribLocation(m_program->program, "a_pos"); local
1702 thread.newMessage() << "End -- " << posLoc << " = glGetAttribLocation()" << tcu::ThreadUtil::Message::End;
1704 thread.newMessage() << "Begin -- glEnableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil::Message::End;
1705 GLU_CHECK_GLW_CALL(thread.gl, enableVertexAttribArray(posLoc));
1712 thread.newMessage() << "Begin -- glVertexAttribPointer(" << posLoc << ", GL_BYTE, GL_TRUE, 0, 0)" << tcu::ThreadUtil::Message::End;
1713 GLU_CHECK_GLW_CALL(thread.gl, vertexAttribPointer(posLoc, 2, GL_BYTE, GL_TRUE, 0, 0));
1724 thread.newMessage() << "Begin -- glDisableVertexAttribArray(" << posLoc << ")" << tcu::ThreadUtil::Message::End;
1725 GLU_CHECK_GLW_CALL(thread.gl, disableVertexAttribArray(posLoc));
1784 GLint posLoc = thread.gl.getAttribLocation(m_program->program, "a_pos"); local
1786 thread.newMessage() << "End -- " << posLoc << "
[all...]

Completed in 868 milliseconds