/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPolygonOffsetTests.cpp | 373 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 …]
|
D | es3fShaderInvarianceTests.cpp | 276 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()
|
D | es3fVertexTextureTests.cpp | 740 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 …]
|
D | es3fDepthStencilClearTests.cpp | 283 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()
|
D | es3fClippingTests.cpp | 545 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 …]
|
D | es3fInstancedRenderingTests.cpp | 515 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()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fPolygonOffsetTests.cpp | 370 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 …]
|
D | es2fShaderInvarianceTests.cpp | 276 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()
|
D | es2fDepthStencilClearTests.cpp | 280 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()
|
D | es2fVertexTextureTests.cpp | 640 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()
|
D | es2fClippingTests.cpp | 542 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 …]
|
D | es2fRasterizationTests.cpp | 196 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()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 321 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 …]
|
D | es31fShaderTextureSizeTests.cpp | 444 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()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 315 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 …]
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 258 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 …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | InstancingTest.cpp | 407 GLint positionLoc = glGetAttribLocation(mProgram[0], "a_position"); in TEST_P() local 409 ASSERT_NE(-1, positionLoc); in TEST_P() 429 glVertexAttribFormat(positionLoc, 2, GL_FLOAT, GL_FALSE, 0); in TEST_P() 431 glEnableVertexAttribArray(positionLoc); in TEST_P() 435 const GLint instanceBinding = positionLoc; in TEST_P() 444 glVertexAttribBinding(positionLoc, positionBinding); in TEST_P() 461 glBindVertexBuffer(positionLoc, quadBuffer, 0, 2 * sizeof(kQuadVertices[0])); in TEST_P() 465 glVertexAttribBinding(positionLoc, positionLoc); in TEST_P()
|
D | StateChangeTest.cpp | 295 GLint positionLoc = glGetAttribLocation(program, "position"); in TEST_P() local 297 ASSERT_NE(-1, positionLoc); in TEST_P() 312 glEnableVertexAttribArray(positionLoc); in TEST_P() 313 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P() 350 GLint positionLoc = glGetAttribLocation(program, "position"); in TEST_P() local 352 ASSERT_NE(-1, positionLoc); in TEST_P() 360 glEnableVertexAttribArray(positionLoc); in TEST_P() 361 glVertexAttribPointer(positionLoc, 3, GL_FLOAT, GL_FALSE, 0, nullptr); in TEST_P() 395 GLint positionLoc = glGetAttribLocation(program1, "position"); in TEST_P() local 397 ASSERT_NE(-1, positionLoc); in TEST_P() [all …]
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 266 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 …]
|
D | es3sDrawTests.cpp | 156 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()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | StateChangeTest.cpp | 322 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 …]
|
D | InstancingTest.cpp | 623 GLint positionLoc = glGetAttribLocation(mProgram[0], "a_position"); in TEST_P() local 625 ASSERT_NE(-1, positionLoc); in TEST_P() 645 glVertexAttribFormat(positionLoc, 2, GL_FLOAT, GL_FALSE, 0); in TEST_P() 647 glEnableVertexAttribArray(positionLoc); in TEST_P() 651 const GLint instanceBinding = positionLoc; in TEST_P() 660 glVertexAttribBinding(positionLoc, positionBinding); in TEST_P() 677 glBindVertexBuffer(positionLoc, quadBuffer, 0, 2 * sizeof(kQuadVertices[0])); in TEST_P() 681 glVertexAttribBinding(positionLoc, positionLoc); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | LinkProgramPerfTest.cpp | 165 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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | LinkProgramPerfTest.cpp | 165 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcTextureCompatibilityTests.cpp | 359 const auto positionLoc = gl.getAttribLocation(program, "in_position"); in setVertexArrayObjects() local 374 gl.enableVertexAttribArray(positionLoc); in setVertexArrayObjects() 377 gl.vertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, 0); in setVertexArrayObjects()
|