Home
last modified time | relevance | path

Searched refs:coordLoc (Results 1 – 14 of 14) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/performance/
Des3pRedundantStateChangeTests.cpp142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
145 gl.enableVertexAttribArray(coordLoc); in init()
149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
183 gl.enableVertexAttribArray(coordLoc); in init()
188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
224 gl.enableVertexAttribArray(coordLoc); in init()
228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
270 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
[all …]
Des3pStateChangeTests.cpp151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
154 gl.enableVertexAttribArray(coordLoc); in init()
158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
197 gl.enableVertexAttribArray(coordLoc); in init()
202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
243 gl.enableVertexAttribArray(coordLoc); in init()
247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
294 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
[all …]
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pRedundantStateChangeTests.cpp142 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
145 gl.enableVertexAttribArray(coordLoc); in init()
149 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
180 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
183 gl.enableVertexAttribArray(coordLoc); in init()
188 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
221 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
224 gl.enableVertexAttribArray(coordLoc); in init()
228 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
270 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
[all …]
Des2pStateChangeTests.cpp151 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
154 gl.enableVertexAttribArray(coordLoc); in init()
158 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
194 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
197 gl.enableVertexAttribArray(coordLoc); in init()
202 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
240 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
243 gl.enableVertexAttribArray(coordLoc); in init()
247 gl.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL); in init()
294 GLint coordLoc = gl.getAttribLocation(m_programs[0]->getProgram(), "a_coord"); in init()
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrContextUtil.cpp65 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coord"); in drawQuadWithVaoBuffers() local
86 if (coordLoc >= 0) in drawQuadWithVaoBuffers()
91 ctx.enableVertexAttribArray(coordLoc); in drawQuadWithVaoBuffers()
92 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, 0); in drawQuadWithVaoBuffers()
135 deInt32 coordLoc = ctx.getAttribLocation(program, "a_coord"); in drawQuadWithClientPointers() local
144 if (coordLoc >= 0) in drawQuadWithClientPointers()
146 ctx.enableVertexAttribArray(coordLoc); in drawQuadWithClientPointers()
147 ctx.vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, &coord[0]); in drawQuadWithClientPointers()
155 if (coordLoc >= 0) in drawQuadWithClientPointers()
156 ctx.disableVertexAttribArray(coordLoc); in drawQuadWithClientPointers()
/third_party/vk-gl-cts/modules/glshared/
DglsMemoryStressCase.cpp215 deUint32 coordLoc = -1; in render() local
220 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_coord"); in render()
222 TCU_CHECK(coordLoc != (deUint32)-1); in render()
227 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render()
230 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL)); in render()
244 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in render()
384 deUint32 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_coord"); in render() local
385 TCU_CHECK(coordLoc != (deUint32)-1); in render()
391 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render()
394 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, NULL)); in render()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglImageFormatTests.cpp485 GLuint coordLoc = gl.getAttribLocation(glProgram, "a_coord"); in invokeGLES() local
486 TCU_CHECK_MSG((int)coordLoc != -1, "Couldn't find attribute a_coord"); in invokeGLES()
493 GLU_CHECK_GLW_CALL(gl, enableVertexAttribArray(coordLoc)); in invokeGLES()
494 …GLU_CHECK_GLW_CALL(gl, vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, squareTriangleCoord… in invokeGLES()
497 GLU_CHECK_GLW_CALL(gl, disableVertexAttribArray(coordLoc)); in invokeGLES()
592 GLuint coordLoc = gl.getAttribLocation(glProgram, "pos_in"); in invokeGLES() local
593 TCU_CHECK_MSG((int)coordLoc != -1, "Couldn't find attribute pos_in"); in invokeGLES()
600 GLU_CHECK_GLW_CALL(gl, enableVertexAttribArray(coordLoc)); in invokeGLES()
601 …GLU_CHECK_GLW_CALL(gl, vertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, squareTriangleCoord… in invokeGLES()
604 GLU_CHECK_GLW_CALL(gl, disableVertexAttribArray(coordLoc)); in invokeGLES()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fReadPixelsTests.cpp111 GLuint coordLoc; in render() local
113 coordLoc = glGetAttribLocation(program.getProgram(), "a_coord"); in render()
116 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render()
118 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); in render()
121 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in render()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp303 GLuint coordLoc = (GLuint)-1; in renderTriangle() local
312 coordLoc = glGetAttribLocation(m_program->getProgram(), "a_position"); in renderTriangle()
313 TCU_CHECK(coordLoc != (GLuint)-1); in renderTriangle()
319 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in renderTriangle()
321 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, positions)); in renderTriangle()
327 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in renderTriangle()
Des3fReadPixelsTests.cpp164 GLuint coordLoc; in render() local
166 coordLoc = glGetAttribLocation(program.getProgram(), "i_coord"); in render()
169 GLU_CHECK_CALL(glEnableVertexAttribArray(coordLoc)); in render()
171 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords)); in render()
174 GLU_CHECK_CALL(glDisableVertexAttribArray(coordLoc)); in render()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp246 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); in iterate() local
251 glEnableVertexAttribArray(coordLoc); in iterate()
252 glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, &coords[0]); in iterate()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp240 const int coordLoc = glGetAttribLocation(program.getProgram(), "a_coords"); in iterate() local
245 glEnableVertexAttribArray(coordLoc); in iterate()
246 glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, &coords[0]); in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSimpleOperationTest.cpp1074 GLint coordLoc = glGetAttribLocation(program, "coord"); in TEST_P() local
1075 ASSERT_NE(-1, coordLoc); in TEST_P()
1087 glVertexAttribPointer(coordLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
1088 glEnableVertexAttribArray(coordLoc); in TEST_P()
DFramebufferFetchTest.cpp328 void render(GLuint coordLoc, GLboolean needsFramebufferFetchBarrier) in render() argument
345 glEnableVertexAttribArray(coordLoc); in render()
346 glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, nullptr); in render()