Home
last modified time | relevance | path

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

/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp370 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 …]
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.cpp545 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
555 ctx.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testRender()
681 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
689 ctx.enableVertexAttribArray (colorLoc); in testRender()
691 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].c0); in testRender()
695 ctx.disableVertexAttribArray (colorLoc); in testRender()
894 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
902 ctx.enableVertexAttribArray (colorLoc); in testRender()
904 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].c0); in testRender()
907 ctx.disableVertexAttribArray (colorLoc); in testRender()
[all …]
Des2fRasterizationTests.cpp193 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() local
202 gl.enableVertexAttribArray (colorLoc); in drawPrimitives()
203 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives()
207 gl.disableVertexAttribArray (colorLoc); in drawPrimitives()
/external/deqp/modules/gles3/functional/
Des3fPolygonOffsetTests.cpp373 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 …]
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.cpp548 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
558 ctx.vertexAttrib4f (colorLoc, 1.0f, 1.0f, 1.0f, 1.0f); in testRender()
684 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
692 ctx.enableVertexAttribArray (colorLoc); in testRender()
694 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_lines[0].c0); in testRender()
698 ctx.disableVertexAttribArray (colorLoc); in testRender()
898 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender() local
906 ctx.enableVertexAttribArray (colorLoc); in testRender()
908 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].c0); in testRender()
911 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.cpp358 const glw::GLint colorLoc = gl.getAttribLocation(m_shader->getProgram(), "a_color"); in drawPrimitives() local
367 gl.enableVertexAttribArray (colorLoc); in drawPrimitives()
368 gl.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, 0, &colorData[0]); in drawPrimitives()
372 gl.disableVertexAttribArray (colorLoc); in drawPrimitives()
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp324 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local
346 gl.glVertexAttribBinding(colorLoc, 3); in renderTo()
347 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo()
348 gl.glEnableVertexAttribArray(colorLoc); in renderTo()
620 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local
640 gl.glEnableVertexAttribArray(colorLoc); in renderTo()
644 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, 0); in renderTo()
648 gl.glVertexAttribBinding(colorLoc, colorOffsetBinding); in renderTo()
894 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local
922 …gl.glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, glw::GLsizei(2 * sizeof(tcu::Vec4)), DE_… in renderTo()
[all …]
Des31fAdvancedBlendTests.cpp376 const int colorLoc = gl.getAttribLocation(program, "a_color"); in iterate() local
391 TCU_CHECK(posLoc >= 0 && colorLoc >= 0); in iterate()
410 gl.enableVertexAttribArray(colorLoc); in iterate()
411 gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, DE_NULL); in iterate()
Des31fDrawTests.cpp1497 const deInt32 colorLoc = gl.getAttribLocation(m_shaderProgram->getProgram(), "a_color"); in renderTo() local
1507 …gl.vertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 8 * sizeof(float), ((const deUint8*)DE_… in renderTo()
1509 gl.enableVertexAttribArray(colorLoc); in renderTo()
1512 DE_ASSERT(colorLoc != -1); in renderTo()
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp318 const int colorLoc = gl.glGetAttribLocation(m_program->getProgram(), "a_color"); in renderTo() local
340 gl.glVertexAttribBinding(colorLoc, 3); in renderTo()
341 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo()
342 gl.glEnableVertexAttribArray(colorLoc); in renderTo()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp632 SkColor* colorLoc; in commonAsAGradient() local
637 colorLoc = colorStorage.get(); in commonAsAGradient()
639 FlipGradientColors(colorLoc, recLoc, fOrigColors, fRecs, fColorCount); in commonAsAGradient()
641 colorLoc = fOrigColors; in commonAsAGradient()
645 memcpy(info->fColors, colorLoc, fColorCount * sizeof(SkColor)); in commonAsAGradient()
/external/chromium_org/third_party/skia/src/effects/gradients/
DSkGradientShader.cpp632 SkColor* colorLoc; in commonAsAGradient() local
637 colorLoc = colorStorage.get(); in commonAsAGradient()
639 FlipGradientColors(colorLoc, recLoc, fOrigColors, fRecs, fColorCount); in commonAsAGradient()
641 colorLoc = fOrigColors; in commonAsAGradient()
645 memcpy(info->fColors, colorLoc, fColorCount * sizeof(SkColor)); in commonAsAGradient()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp885 GLuint colorLoc = glGetUniformLocation(glProgram, "u_color"); in renderDepth() local
886 TCU_CHECK_MSG((int)colorLoc != (int)-1, "Couldn't find uniform u_color"); in renderDepth()
940 GLU_CHECK_CALL(glUniform4f(colorLoc, color.x(), color.y(), color.z(), color.w())); in renderDepth()