/external/deqp/modules/gles3/functional/ |
D | es3fPolygonOffsetTests.cpp | 373 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 400 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 409 gl.vertexAttrib4f (colorLoc, 1.0f, 0.0f, 0.0f, 1.0f); in testPolygonOffset() 501 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 518 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() 620 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 648 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 654 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() 665 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 671 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() [all …]
|
D | es3fPixelBufferObjectTests.cpp | 304 GLuint colorLoc = (GLuint)-1; in renderTriangle() local 315 colorLoc = glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTriangle() 316 TCU_CHECK(colorLoc != (GLuint)-1); in renderTriangle() 318 GLU_CHECK_CALL(glEnableVertexAttribArray(colorLoc)); in renderTriangle() 322 GLU_CHECK_CALL(glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, colors)); in renderTriangle() 326 GLU_CHECK_CALL(glDisableVertexAttribArray(colorLoc)); in renderTriangle()
|
D | es3fShaderInvarianceTests.cpp | 277 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() local 286 gl.uniform4fv (colorLoc, 1, color.getPtr()); in iterate() 319 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() local 330 gl.uniform4fv (colorLoc, 1, color.getPtr()); in iterate()
|
D | es3fDepthStencilClearTests.cpp | 282 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color"); in renderGL() local 349 gl.uniform4f (colorLoc, 0.0f, 0.0f, c, 1.0f); in renderGL() 385 gl.uniform4f (colorLoc, 0.0f, c, 0.0f, 1.0f); in renderGL()
|
D | es3fClippingTests.cpp | 547 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 557 ctx.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testRender() 685 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 693 ctx.enableVertexAttribArray (colorLoc); in testRender() 695 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].c0); in testRender() 699 ctx.disableVertexAttribArray (colorLoc); in testRender() 914 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 922 ctx.enableVertexAttribArray (colorLoc); in testRender() 924 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].c0); in testRender() 927 ctx.disableVertexAttribArray (colorLoc); in testRender() [all …]
|
D | es3fFragDepthTests.cpp | 371 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate() local 391 gl.uniform4fv(colorLoc, 1, color.getPtr()); in iterate()
|
D | es3fRasterizationTests.cpp | 363 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() local 372 gl.enableVertexAttribArray (colorLoc); in drawPrimitives() 373 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives() 377 gl.disableVertexAttribArray (colorLoc); in drawPrimitives()
|
/external/deqp/modules/gles2/functional/ |
D | es2fPolygonOffsetTests.cpp | 370 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 397 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 406 gl.vertexAttrib4f (colorLoc, 1.0f, 0.0f, 0.0f, 1.0f); in testPolygonOffset() 498 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 515 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() 617 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local 645 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 651 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() 662 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset() 668 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset() [all …]
|
D | es2fDepthRangeTests.cpp | 164 const int colorLoc = glGetUniformLocation(program.getProgram(), "u_color"); in iterate() local 194 glUniform4f(colorLoc, 0.0f, 0.0f, 1.0f, 1.0f); in iterate() 218 glUniform4f(colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 314 const int colorLoc = glGetUniformLocation(program.getProgram(), "u_color"); in iterate() local 339 glUniform4f(colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in iterate() 365 glUniform4fv(colorLoc, 1, color.getPtr()); in iterate()
|
D | es2fShaderInvarianceTests.cpp | 277 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() local 286 gl.uniform4fv (colorLoc, 1, color.getPtr()); in iterate() 319 const glw::GLint colorLoc = gl.getUniformLocation(shader.getProgram(), "u_color"); in iterate() local 330 gl.uniform4fv (colorLoc, 1, color.getPtr()); in iterate()
|
D | es2fDepthStencilClearTests.cpp | 279 int colorLoc = gl.getUniformLocation(m_visProgram->getProgram(), "u_color"); in renderGL() local 346 gl.uniform4f (colorLoc, 0.0f, 0.0f, c, 1.0f); in renderGL() 382 gl.uniform4f (colorLoc, 0.0f, c, 0.0f, 1.0f); in renderGL()
|
D | es2fClippingTests.cpp | 544 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 554 ctx.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testRender() 682 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 690 ctx.enableVertexAttribArray (colorLoc); in testRender() 692 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].c0); in testRender() 696 ctx.disableVertexAttribArray (colorLoc); in testRender() 910 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local 918 ctx.enableVertexAttribArray (colorLoc); in testRender() 920 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].c0); in testRender() 923 ctx.disableVertexAttribArray (colorLoc); in testRender() [all …]
|
D | es2fRasterizationTests.cpp | 197 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() local 206 gl.enableVertexAttribArray (colorLoc); in drawPrimitives() 207 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives() 211 gl.disableVertexAttribArray (colorLoc); in drawPrimitives() 636 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in iterate() local 643 gl.enableVertexAttribArray(colorLoc); in iterate() 644 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, color); in iterate() 647 gl.disableVertexAttribArray(colorLoc); in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 322 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local 344 gl.glVertexAttribBinding(colorLoc, 3); in renderTo() 345 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo() 346 gl.glEnableVertexAttribArray(colorLoc); in renderTo() 618 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local 638 gl.glEnableVertexAttribArray(colorLoc); in renderTo() 642 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo() 646 gl.glVertexAttribBinding(colorLoc, colorOffsetBinding); in renderTo() 892 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local 920 …gl.glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, glw::GLsizei(2 * sizeof(tcu::Vec4)), DE_… in renderTo() [all …]
|
D | es31fAdvancedBlendTests.cpp | 413 const int colorLoc = gl.getAttribLocation(program, "a_color"); in iterate() local 428 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); in iterate() 447 gl.enableVertexAttribArray(colorLoc); in iterate() 448 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
|
D | es31fDrawTests.cpp | 1497 const deInt32 colorLoc = gl.getAttribLocation(m_shaderProgram->getProgram(), "a_color"); in renderTo() local 1507 …gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 8 * (int)sizeof(float), ((const deUint8… in renderTo() 1509 gl.enableVertexAttribArray(colorLoc); in renderTo() 1512 DE_ASSERT(colorLoc != -1); in renderTo()
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 316 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local 338 gl.glVertexAttribBinding(colorLoc, 3); in renderTo() 339 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo() 340 gl.glEnableVertexAttribArray(colorLoc); in renderTo()
|
/external/deqp/modules/egl/ |
D | teglImageFormatTests.cpp | 504 GLuint colorLoc = gl.getUniformLocation(glProgram, "u_color"); in invokeGLES2() local 505 TCU_CHECK_MSG((int)colorLoc != (int)-1, "Couldn't find uniform u_color"); in invokeGLES2() 539 GLU_CHECK_GLW_CALL(gl, uniform4f(colorLoc, color.x(), color.y(), color.z(), color.w())); in invokeGLES2() 628 GLuint colorLoc = gl.getUniformLocation(glProgram, "u_color"); in invokeGLES2() local 629 TCU_CHECK_MSG((int)colorLoc != (int)-1, "Couldn't find uniform u_color"); in invokeGLES2() 660 GLU_CHECK_GLW_CALL(gl, uniform4f(colorLoc, color.x(), color.y(), color.z(), color.w())); in invokeGLES2()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcFragDepthTests.cpp | 361 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate() local 376 gl.uniform4fv(colorLoc, 1, color.getPtr()); in iterate()
|