Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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.cpp810 int posLoc = gl.getAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
811 TCU_CHECK(posLoc >= 0); in iterate()
812 gl.enableVertexAttribArray(posLoc); in iterate()
813 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, &positions[0]); in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp653 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
654 ASSERT_NE(-1, posLoc); in TEST_P()
656 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
657 glEnableVertexAttribArray(posLoc); in TEST_P()
704 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
705 ASSERT_NE(-1, posLoc); in TEST_P()
707 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
708 glEnableVertexAttribArray(posLoc); in TEST_P()
2312 GLint posLoc = glGetAttribLocation(drawColor, essl1_shaders::PositionAttrib()); in TEST_P() local
2313 ASSERT_NE(-1, posLoc); in TEST_P()
[all …]
DVulkanPerformanceCounterTest.cpp202 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
203 ASSERT_NE(-1, posLoc); in TEST_P()
205 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
206 glEnableVertexAttribArray(posLoc); in TEST_P()
335 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
336 ASSERT_NE(-1, posLoc); in TEST_P()
338 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
339 glEnableVertexAttribArray(posLoc); in TEST_P()
2989 GLint posLoc = glGetAttribLocation(program, "position"); in TEST_P() local
2990 ASSERT_NE(-1, posLoc); in TEST_P()
[all …]
DSimpleOperationTest.cpp1071 GLint posLoc = glGetAttribLocation(program, "pos"); in TEST_P() local
1072 ASSERT_NE(-1, posLoc); in TEST_P()
1081 glVertexAttribPointer(posLoc, 2, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
1082 glEnableVertexAttribArray(posLoc); in TEST_P()
DStateChangeTest.cpp5394 GLint posLoc = glGetAttribLocation(program, "position"); in TEST_P() local
5395 ASSERT_NE(-1, posLoc); in TEST_P()
5404 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
5405 glEnableVertexAttribArray(posLoc); in TEST_P()
5998 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
5999 ASSERT_EQ(0, posLoc); in TEST_P()
6005 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
6006 glEnableVertexAttribArray(posLoc); in TEST_P()
6049 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
6050 ASSERT_EQ(0, posLoc); in TEST_P()
[all …]
DRobustResourceInitTest.cpp2151 GLint posLoc = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() local
2152 ASSERT_NE(-1, posLoc); in TEST_P()
2154 glEnableVertexAttribArray(posLoc); in TEST_P()
2157 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, reinterpret_cast<const void *>(500)); in TEST_P()
DVertexAttributeTest.cpp3301 GLint posLoc = glGetAttribLocation(program, "pos"); in TEST_P() local
3302 ASSERT_NE(-1, posLoc); in TEST_P()
3306 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, stride, nullptr); in TEST_P()
3307 glEnableVertexAttribArray(posLoc); in TEST_P()
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DMultiviewPerf.cpp358 const GLint posLoc = glGetAttribLocation(mProgram, "vPosition"); in initializeBenchmark() local
359 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, 0); in initializeBenchmark()
360 glEnableVertexAttribArray(posLoc); in initializeBenchmark()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp419 const int posLoc = gl.getAttribLocation(program, "a_position"); in iterate() local
436 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); in iterate()
456 gl.enableVertexAttribArray(posLoc); in iterate()
457 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
575 TCU_CHECK(posLoc >= 0); in render()
653 gl.enableVertexAttribArray(posLoc); in render()
655 gl.vertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, positionPtr); in render()
661 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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp310 GLint posLoc = glGetAttribLocation(program, "position"); in drawQuad() local
327 glVertexAttribPointer(posLoc, 3, GL_FLOAT, GL_FALSE, 0, vertices); in drawQuad()
328 glEnableVertexAttribArray(posLoc); in drawQuad()
332 glVertexAttribPointer(posLoc, 4, GL_FLOAT, GL_FALSE, 0, nullptr); in drawQuad()
333 glDisableVertexAttribArray(posLoc); in drawQuad()

12