/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | DrawElementsTest.cpp | 87 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); in TEST_P() local 88 ASSERT_NE(-1, posLocation); in TEST_P() 98 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P() 99 glEnableVertexAttribArray(posLocation); in TEST_P() 122 GLint posLocation = glGetAttribLocation(programDrawRed, essl3_shaders::PositionAttrib()); in TEST_P() local 123 ASSERT_NE(-1, posLocation); in TEST_P() 134 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P() 135 glEnableVertexAttribArray(posLocation); in TEST_P() 322 GLint posLocation = glGetAttribLocation(program, essl3_shaders::PositionAttrib()); in TEST_P() local 323 ASSERT_NE(-1, posLocation); in TEST_P() 472 GLint posLocation = glGetAttribLocation(program, "a_pos"); TEST_P() local [all...] |
H A D | ClientArraysTest.cpp | 88 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); in TEST_P() local 89 ASSERT_NE(-1, posLocation); in TEST_P() 99 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P() 100 glEnableVertexAttribArray(posLocation); in TEST_P()
|
H A D | WebGLCompatibilityTest.cpp | 1321 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); in TEST_P() local 1322 ASSERT_NE(-1, posLocation); in TEST_P() 1326 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 4, vertices.data()); in TEST_P() 1327 glEnableVertexAttribArray(posLocation); in TEST_P() 1353 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); in TEST_P() local 1354 ASSERT_NE(-1, posLocation); in TEST_P() 1364 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P() 1365 glEnableVertexAttribArray(posLocation); in TEST_P() 1558 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); in TEST_P() local 1559 ASSERT_NE(-1, posLocation); in TEST_P() 1682 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local 1748 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local 1809 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local 1862 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local 2293 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local 2600 GLint posLocation = glGetAttribLocation(program.get(), "a_pos"); TEST_P() local [all...] |
H A D | ProgramBinaryTest.cpp | 601 GLint posLocation = glGetAttribLocation(loadedProgram, "a_position"); in TEST_P() local 602 ASSERT_NE(-1, posLocation); in TEST_P() 607 glVertexAttribPointer(posLocation, 3, GL_FLOAT, GL_FALSE, 0, 0); in TEST_P() 608 glEnableVertexAttribArray(posLocation); in TEST_P()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglSwapBuffersTests.cpp | 329 deUint32 posLocation; in executeForConfig() local 334 posLocation = gl.getAttribLocation(program, "a_pos"); in executeForConfig() 335 gl.enableVertexAttribArray(posLocation); in executeForConfig() 378 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions1); in executeForConfig() 393 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions2); in executeForConfig() 408 gl.disableVertexAttribArray(posLocation); in executeForConfig()
|
H A D | teglGetFrameTimestampsTests.cpp | 591 deUint32 posLocation; in executeForConfig() local 596 posLocation = gl.getAttribLocation(program, "a_pos"); in executeForConfig() 597 gl.enableVertexAttribArray(posLocation); in executeForConfig() 616 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, posSelect ? positions1 : positions2); in executeForConfig() 672 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, posSelect ? positions1 : positions2); in executeForConfig() 734 gl.disableVertexAttribArray(posLocation); in executeForConfig()
|
H A D | teglNativeColorMappingTests.cpp | 232 deUint32 posLocation; in render() local 236 posLocation = gl.getAttribLocation(program, "a_pos"); in render() 237 gl.enableVertexAttribArray(posLocation); in render() 243 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions); in render()
|
H A D | teglNativeCoordMappingTests.cpp | 242 deUint32 posLocation; in render() local 245 posLocation = gl.getAttribLocation(program, "a_pos"); in render() 246 gl.enableVertexAttribArray(posLocation); in render() 247 gl.vertexAttribPointer(posLocation, 2, GL_FLOAT, GL_FALSE, 0, positions); in render()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTessellationGeometryInteractionTests.cpp | 279 const int posLocation = gl.getAttribLocation(program.getProgram(), "a_position"); in iterate() local 287 if (posLocation == -1) in iterate() 294 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate() 295 gl.enableVertexAttribArray(posLocation); in iterate() 581 const int posLocation = gl.getAttribLocation(program.getProgram(), "a_position"); in iterate() local 587 if (posLocation == -1) in iterate() 592 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate() 593 gl.enableVertexAttribArray(posLocation); in iterate() 1040 const int posLocation = gl.getAttribLocation(m_feedbackProgram->getProgram(), "a_position"); 1043 if (posLocation [all...] |
H A D | es31fMultisampleShaderRenderCase.cpp | 555 const deInt32 posLocation = gl.getAttribLocation(m_textureSamplerProgram->getProgram(), "a_position"); 576 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 577 gl.enableVertexAttribArray(posLocation); 606 const deInt32 posLocation = gl.getAttribLocation(m_textureSamplerProgram->getProgram(), "a_position"); 633 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 634 gl.enableVertexAttribArray(posLocation);
|
H A D | es31fDrawTests.cpp | 823 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); in renderTo() local 862 ctx.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo() 863 ctx.vertexAttribDivisor(posLocation, 0); in renderTo() 864 ctx.enableVertexAttribArray(posLocation); in renderTo() 2320 deInt32 posLocation = gl.getAttribLocation(programID, "a_position"); 2347 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 2348 gl.vertexAttribDivisor(posLocation, 0); 2349 gl.enableVertexAttribArray(posLocation); 2496 const deInt32 posLocation = gl.getAttribLocation(programID, "a_position"); 2511 gl.vertexAttribPointer(posLocation, [all...] |
H A D | es31fTextureMultisampleTests.cpp | 1444 const int posLocation = gl.getAttribLocation(m_drawShader->getProgram(), "a_position"); 1488 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 1489 gl.enableVertexAttribArray(posLocation); 1510 gl.disableVertexAttribArray(posLocation); 1527 const int posLocation = gl.getAttribLocation(m_samplerShader->getProgram(), "a_position"); 1551 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 1552 gl.enableVertexAttribArray(posLocation); 1568 gl.disableVertexAttribArray(posLocation);
|
H A D | es31fPrimitiveBoundingBoxTests.cpp | 914 const glw::GLint posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 918 TCU_CHECK(posLocation != -1); 958 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, (int)(VA_NUM_ATTRIB_VECS * sizeof(float[4])), glu::BufferOffsetAsPointer(4 * VA_POS_VEC_NDX * sizeof(float))); 960 gl.enableVertexAttribArray(posLocation); 3749 const int posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 3758 gl.enableVertexAttribArray(posLocation); 3759 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 4 * (int)sizeof(float), NULL); 3954 const glw::GLint posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 3964 TCU_CHECK(posLocation != -1); 3982 gl.vertexAttribPointer(posLocation, [all...] |
H A D | es31fGeometryShaderTests.cpp | 5633 const int posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 5636 if (posLocation == -1) 5644 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 5645 gl.enableVertexAttribArray(posLocation); 5957 const int posLocation = gl.getAttribLocation(m_program->getProgram(), "a_position"); 5959 if (posLocation == -1) 5965 gl.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 5966 gl.enableVertexAttribArray(posLocation);
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sDrawTests.cpp | 184 const deInt32 posLocation = gl.glGetAttribLocation(programID, "a_position"); 216 gl.glVertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); 217 gl.glEnableVertexAttribArray(posLocation);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawTests.cpp | 687 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); in renderTo() local 723 ctx.vertexAttribPointer(posLocation, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in renderTo() 724 ctx.vertexAttribDivisor(posLocation, 0); in renderTo() 725 ctx.enableVertexAttribArray(posLocation); in renderTo()
|