Home
last modified time | relevance | path

Searched refs:colorLoc (Results 1 – 23 of 23) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp371 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local
398 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
407 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()
621 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local
649 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
655 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset()
666 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
672 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset()
[all …]
Des2fDepthRangeTests.cpp164 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()
Des2fShaderInvarianceTests.cpp277 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()
Des2fDepthStencilClearTests.cpp279 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()
Des2fClippingTests.cpp544 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 …]
Des2fRasterizationTests.cpp197 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()
638 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in iterate() local
645 gl.enableVertexAttribArray(colorLoc); in iterate()
646 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, color); in iterate()
649 gl.disableVertexAttribArray(colorLoc); in iterate()
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp374 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local
401 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
410 gl.vertexAttrib4f (colorLoc, 1.0f, 0.0f, 0.0f, 1.0f); in testPolygonOffset()
504 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local
521 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset()
623 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset() local
651 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
657 gl.vertexAttrib4f (colorLoc, 0.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset()
668 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testPolygonOffset()
674 gl.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 0.0f, 1.0f); in testPolygonOffset()
[all …]
Des3fPixelBufferObjectTests.cpp304 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()
Des3fShaderInvarianceTests.cpp277 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()
Des3fDepthStencilClearTests.cpp282 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()
Des3fClippingTests.cpp547 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 …]
Des3fFragDepthTests.cpp371 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate() local
391 gl.uniform4fv(colorLoc, 1, color.getPtr()); in iterate()
Des3fRasterizationTests.cpp363 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/gles31/functional/
Des31fVertexAttributeBindingTests.cpp322 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 …]
Des31fAdvancedBlendTests.cpp419 const int colorLoc = gl.getAttribLocation(program, "a_color"); in iterate() local
435 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); in iterate()
460 gl.enableVertexAttribArray(colorLoc); in iterate()
461 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
Des31fDrawTests.cpp1501 const deInt32 colorLoc = gl.getAttribLocation(m_shaderProgram->getProgram(), "a_color"); in renderTo() local
1511 …gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 8 * (int)sizeof(float), glu::BufferOffs… in renderTo()
1513 gl.enableVertexAttribArray(colorLoc); in renderTo()
1516 DE_ASSERT(colorLoc != -1); in renderTo()
/external/angle/src/tests/gl_tests/
DBufferDataTest.cpp444 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
445 ASSERT_NE(-1, colorLoc); in TEST_P()
448 glVertexAttribPointer(colorLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in TEST_P()
449 glEnableVertexAttribArray(colorLoc); in TEST_P()
519 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
520 ASSERT_NE(-1, colorLoc); in TEST_P()
523 glVertexAttribPointer(colorLoc, 3, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in TEST_P()
524 glEnableVertexAttribArray(colorLoc); in TEST_P()
706 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
707 ASSERT_NE(-1, colorLoc); in TEST_P()
[all …]
DStateChangeTest.cpp938 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
939 ASSERT_NE(-1, colorLoc); in TEST_P()
949 glVertexAttribPointer(colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in TEST_P()
950 glEnableVertexAttribArray(colorLoc); in TEST_P()
1668 GLint colorLoc = glGetAttribLocation(program, "color"); in simpleDrawWithBuffer() local
1669 ASSERT_NE(-1, colorLoc); in simpleDrawWithBuffer()
1672 glVertexAttribPointer(colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, nullptr); in simpleDrawWithBuffer()
1673 glEnableVertexAttribArray(colorLoc); in simpleDrawWithBuffer()
3608 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
3609 ASSERT_NE(-1, colorLoc); in TEST_P()
[all …]
DMultiviewDrawTest.cpp1897 GLint colorLoc; in TEST_P() local
1912 colorLoc = glGetAttribLocation(program, "vColor"); in TEST_P()
1913 glVertexAttribDivisor(colorLoc, 2); in TEST_P()
1914 glVertexAttribPointer(colorLoc, 4, GL_UNSIGNED_BYTE, GL_FALSE, 0, 0); in TEST_P()
1915 glEnableVertexAttribArray(colorLoc); in TEST_P()
1961 glBindAttribLocation(program, colorLoc, "vColor"); in TEST_P()
DVertexAttributeTest.cpp1104 GLint colorLoc = glGetAttribLocation(program, "a_color"); in TEST_P() local
1105 ASSERT_NE(-1, colorLoc); in TEST_P()
1119 SetupColorsForUnitQuad(colorLoc, kFloatRed, GL_STREAM_DRAW, &colorBuffers[0]); in TEST_P()
1125 SetupColorsForUnitQuad(colorLoc, kFloatGreen, GL_STATIC_DRAW, &colorBuffers[1]); in TEST_P()
3236 GLint colorLoc = glGetAttribLocation(program, "color"); in TEST_P() local
3237 ASSERT_NE(-1, colorLoc); in TEST_P()
3241 glVertexAttribPointer(colorLoc, 2, GL_FLOAT, GL_FALSE, stride, in TEST_P()
3243 glEnableVertexAttribArray(colorLoc); in TEST_P()
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp316 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/external/openglcts/modules/common/
DglcFragDepthTests.cpp361 int colorLoc = gl.getUniformLocation(program.getProgram(), "u_color"); in iterate() local
376 gl.uniform4fv(colorLoc, 1, color.getPtr()); in iterate()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp507 GLuint colorLoc = gl.getUniformLocation(glProgram, "u_color"); in invokeGLES2() local
508 TCU_CHECK_MSG((int)colorLoc != (int)-1, "Couldn't find uniform u_color"); in invokeGLES2()
542 GLU_CHECK_GLW_CALL(gl, uniform4f(colorLoc, color.x(), color.y(), color.z(), color.w())); in invokeGLES2()
631 GLuint colorLoc = gl.getUniformLocation(glProgram, "u_color"); in invokeGLES2() local
632 TCU_CHECK_MSG((int)colorLoc != (int)-1, "Couldn't find uniform u_color"); in invokeGLES2()
663 GLU_CHECK_GLW_CALL(gl, uniform4f(colorLoc, color.x(), color.y(), color.z(), color.w())); in invokeGLES2()