Home
last modified time | relevance | path

Searched refs:positionLoc (Results 1 – 25 of 30) sorted by relevance

12

/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp370 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
389 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
390 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
410 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
500 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
517 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
534 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
564 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
620 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
637 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
[all …]
Des2fShaderInvarianceTests.cpp276 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input"); in iterate() local
287 gl.enableVertexAttribArray (positionLoc); in iterate()
288 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4), DE_NULL); in iterate()
290 gl.disableVertexAttribArray (positionLoc); in iterate()
318 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input"); in iterate() local
332 gl.enableVertexAttribArray (positionLoc); in iterate()
333 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4), DE_NULL); in iterate()
335 gl.disableVertexAttribArray (positionLoc); in iterate()
Des2fDepthStencilClearTests.cpp280 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position"); in renderGL() local
321 gl.enableVertexAttribArray (positionLoc); in renderGL()
347 gl.vertexAttribPointer (positionLoc, 3, GL_FLOAT, GL_FALSE, 0, &pos[0]); in renderGL()
374 gl.vertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, &pos[0]); in renderGL()
Des2fVertexTextureTests.cpp640 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
641 if (positionLoc != -1) in setupShaderInputs()
643 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
644 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
977 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
978 if (positionLoc != -1) in setupShaderInputs()
980 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
981 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
Des2fClippingTests.cpp542 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
551 ctx.enableVertexAttribArray (positionLoc); in testRender()
552 ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &m_points[0]); in testRender()
556 ctx.disableVertexAttribArray (positionLoc); in testRender()
681 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
689 ctx.enableVertexAttribArray (positionLoc); in testRender()
691 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].p0); in testRender()
695 ctx.disableVertexAttribArray (positionLoc); in testRender()
909 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
917 ctx.enableVertexAttribArray (positionLoc); in testRender()
[all …]
Des2fRasterizationTests.cpp196 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in drawPrimitives() local
204 gl.enableVertexAttribArray (positionLoc); in drawPrimitives()
205 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertexData[0]); in drawPrimitives()
212 gl.disableVertexAttribArray (positionLoc); in drawPrimitives()
637 const glw::GLint positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in iterate() local
643 gl.enableVertexAttribArray(positionLoc); in iterate()
644 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, position); in iterate()
650 gl.disableVertexAttribArray(positionLoc); in iterate()
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp373 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
392 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
393 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
413 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
503 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
520 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
537 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, triangle); in testPolygonOffset()
567 gl.disableVertexAttribArray (positionLoc); in testPolygonOffset()
622 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset() local
639 gl.enableVertexAttribArray (positionLoc); in testPolygonOffset()
[all …]
Des3fShaderInvarianceTests.cpp276 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input"); in iterate() local
287 gl.enableVertexAttribArray (positionLoc); in iterate()
288 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4), DE_NULL); in iterate()
290 gl.disableVertexAttribArray (positionLoc); in iterate()
318 const glw::GLint positionLoc = gl.getAttribLocation(shader.getProgram(), "a_input"); in iterate() local
332 gl.enableVertexAttribArray (positionLoc); in iterate()
333 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(tcu::Vec4), DE_NULL); in iterate()
335 gl.disableVertexAttribArray (positionLoc); in iterate()
Des3fVertexTextureTests.cpp740 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
741 if (positionLoc != -1) in setupShaderInputs()
743 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
744 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1075 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
1076 if (positionLoc != -1) in setupShaderInputs()
1078 glEnableVertexAttribArray(positionLoc); in setupShaderInputs()
1079 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1415 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() local
1416 if (positionLoc != -1) in setupShaderInputs()
[all …]
Des3fDepthStencilClearTests.cpp283 int positionLoc = gl.getAttribLocation(m_visProgram->getProgram(), "a_position"); in renderGL() local
324 gl.enableVertexAttribArray (positionLoc); in renderGL()
350 gl.vertexAttribPointer (positionLoc, 3, GL_FLOAT, GL_FALSE, 0, &pos[0]); in renderGL()
377 gl.vertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, &pos[0]); in renderGL()
Des3fClippingTests.cpp545 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
554 ctx.enableVertexAttribArray (positionLoc); in testRender()
555 ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &m_points[0]); in testRender()
559 ctx.disableVertexAttribArray (positionLoc); in testRender()
684 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
692 ctx.enableVertexAttribArray (positionLoc); in testRender()
694 …ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].p0); in testRender()
698 ctx.disableVertexAttribArray (positionLoc); in testRender()
913 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender() local
921 ctx.enableVertexAttribArray (positionLoc); in testRender()
[all …]
Des3fInstancedRenderingTests.cpp515 int positionLoc = glGetAttribLocation(program, "a_position"); in setupAndRender() local
516 glEnableVertexAttribArray(positionLoc); in setupAndRender()
517 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, &m_gridVertexPositions[0]); in setupAndRender()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp321 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in renderTo() local
340 gl.glVertexAttribBinding(positionLoc, 3); in renderTo()
341 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
342 gl.glEnableVertexAttribArray(positionLoc); in renderTo()
356 gl.glVertexAttribBinding(positionLoc, 3); in renderTo()
357 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
358 gl.glEnableVertexAttribArray(positionLoc); in renderTo()
617 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in renderTo() local
637 gl.glEnableVertexAttribArray(positionLoc); in renderTo()
641 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo()
[all …]
Des31fShaderTextureSizeTests.cpp444 const int positionLoc = gl.getAttribLocation(m_shader->getProgram(), "a_position"); in runShader() local
460 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in runShader()
461 gl.enableVertexAttribArray(positionLoc); in runShader()
478 gl.disableVertexAttribArray(positionLoc); in runShader()
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp315 const int positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in renderTo() local
334 gl.glVertexAttribBinding(positionLoc, 3); in renderTo()
335 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
336 gl.glEnableVertexAttribArray(positionLoc); in renderTo()
350 gl.glVertexAttribBinding(positionLoc, 3); in renderTo()
351 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
352 gl.glEnableVertexAttribArray(positionLoc); in renderTo()
576 const deInt32 positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
590 gl.glEnableVertexAttribArray(positionLoc); in iterate()
591 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, 0); in iterate()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp258 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos"); in drawTestPattern() local
291 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &fullscreenQuad[0]); in drawTestPattern()
293 gl.enableVertexAttribArray(positionLoc); in drawTestPattern()
295 gl.disableVertexAttribArray(positionLoc); in drawTestPattern()
641 const GLint positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_pos"); in iterate() local
667 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
672 gl.enableVertexAttribArray(positionLoc); in iterate()
675 gl.disableVertexAttribArray(positionLoc); in iterate()
683 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &gridVertices[0]); in iterate()
686 gl.enableVertexAttribArray(positionLoc); in iterate()
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp266 const GLint positionLoc = gl.getAttribLocation(patternProgram.getProgram(), "a_pos"); in drawTestPattern() local
299 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &fullscreenQuad[0]); in drawTestPattern()
301 gl.enableVertexAttribArray(positionLoc); in drawTestPattern()
303 gl.disableVertexAttribArray(positionLoc); in drawTestPattern()
653 const GLint positionLoc = gl.getAttribLocation(m_program->getProgram(), "a_pos"); in iterate() local
679 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
684 gl.enableVertexAttribArray(positionLoc); in iterate()
687 gl.disableVertexAttribArray(positionLoc); in iterate()
695 gl.vertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &gridVertices[0]); in iterate()
698 gl.enableVertexAttribArray(positionLoc); in iterate()
[all …]
Des3sDrawTests.cpp156 const deInt32 positionLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_position"); in iterate() local
199 gl.glEnableVertexAttribArray(positionLoc); in iterate()
200 gl.glVertexAttribPointer(positionLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
/external/angle/src/tests/gl_tests/
DStateChangeTest.cpp322 GLint positionLoc = glGetAttribLocation(program, "position"); in TEST_P() local
324 ASSERT_NE(-1, positionLoc); in TEST_P()
339 glEnableVertexAttribArray(positionLoc); in TEST_P()
340 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
377 GLint positionLoc = glGetAttribLocation(program, "position"); in TEST_P() local
379 ASSERT_NE(-1, positionLoc); in TEST_P()
387 glEnableVertexAttribArray(positionLoc); in TEST_P()
388 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P()
457 GLint positionLoc = glGetAttribLocation(program1, "position"); in TEST_P() local
459 ASSERT_NE(-1, positionLoc); in TEST_P()
[all …]
DInstancingTest.cpp631 GLint positionLoc = glGetAttribLocation(mProgram[0], "a_position"); in TEST_P() local
633 ASSERT_NE(-1, positionLoc); in TEST_P()
653 glVertexAttribFormat(positionLoc, 2, GL_FLOAT, GL_FALSE, 0); in TEST_P()
655 glEnableVertexAttribArray(positionLoc); in TEST_P()
659 const GLint instanceBinding = positionLoc; in TEST_P()
668 glVertexAttribBinding(positionLoc, positionBinding); in TEST_P()
685 glBindVertexBuffer(positionLoc, quadBuffer, 0, 2 * sizeof(kQuadVertices[0])); in TEST_P()
689 glVertexAttribBinding(positionLoc, positionLoc); in TEST_P()
DMultiviewDrawTest.cpp1893 GLint positionLoc; in TEST_P() local
1917 positionLoc = glGetAttribLocation(program, "vPosition"); in TEST_P()
1959 glBindAttribLocation(program, positionLoc, "vPosition"); in TEST_P()
DVertexAttributeTest.cpp1102 GLint positionLoc = glGetAttribLocation(program, "a_position"); in TEST_P() local
1103 ASSERT_NE(-1, positionLoc); in TEST_P()
1117 glEnableVertexAttribArray(positionLoc); in TEST_P()
1118 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P()
1123 glEnableVertexAttribArray(positionLoc); in TEST_P()
1124 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P()
/external/angle/src/tests/perf_tests/
DLinkProgramPerfTest.cpp165 GLint positionLoc = glGetAttribLocation(program, "position"); in drawBenchmark() local
166 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 8, nullptr); in drawBenchmark()
167 glEnableVertexAttribArray(positionLoc); in drawBenchmark()
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp352 int positionLoc = gl.getAttribLocation(programID, "dEQP_Position"); in execute() local
353 if (positionLoc == -1) in execute()
373 vertexArrays.push_back(va::Float(positionLoc, 4, numVerticesPerDraw, 0, &s_positions[0])); in execute()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp1162 int positionLoc = gl.getAttribLocation(vertexProgramID, "dEQP_Position"); in execute() local
1163 if (positionLoc == -1) in execute()
1187 vertexArrays.push_back(va::Float(positionLoc, 4, numVerticesPerDraw, 0, &s_positions[0])); in execute()

12