Home
last modified time | relevance | path

Searched refs:colorUniformLocation (Results 1 – 12 of 12) sorted by relevance

/external/angle/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp764 GLint colorUniformLocation = in TEST_P() local
766 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
777 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
788 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
1209 GLint colorUniformLocation = in drawCopyThenBlendCommon() local
1211 ASSERT_NE(colorUniformLocation, -1); in drawCopyThenBlendCommon()
1213 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in drawCopyThenBlendCommon()
1229 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 0.5f); in drawCopyThenBlendCommon()
1286 GLint colorUniformLocation = in clearDrawCopyThenBlendSameProgramCommon() local
1288 ASSERT_NE(colorUniformLocation, -1); in clearDrawCopyThenBlendSameProgramCommon()
[all …]
DDiscardFramebufferEXTTest.cpp127 GLint colorUniformLocation = in TEST_P() local
129 ASSERT_NE(-1, colorUniformLocation); in TEST_P()
143 glUniform4fv(colorUniformLocation, 1, GLColor::cyan.toNormalizedVector().data()); in TEST_P()
163 GLint colorUniformLocation; in TEST_P() local
188 colorUniformLocation = glGetUniformLocation(program, angle::essl1_shaders::ColorUniform()); in TEST_P()
189 ASSERT_NE(-1, colorUniformLocation); in TEST_P()
205 glUniform4fv(colorUniformLocation, 1, GLColor::blue.toNormalizedVector().data()); in TEST_P()
224 glUniform4fv(colorUniformLocation, 1, GLColor::red.toNormalizedVector().data()); in TEST_P()
DVulkanPerformanceCounterTest.cpp277 GLint colorUniformLocation = in TEST_P() local
279 ASSERT_NE(-1, colorUniformLocation); in TEST_P()
302 glUniform4fv(colorUniformLocation, 1, GLColor::blue.toNormalizedVector().data()); in TEST_P()
1548 GLint colorUniformLocation = in TEST_P() local
1550 ASSERT_NE(-1, colorUniformLocation); in TEST_P()
1558 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
1588 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
1702 GLint colorUniformLocation = in TEST_P() local
1704 ASSERT_NE(-1, colorUniformLocation); in TEST_P()
1712 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
[all …]
DParallelShaderCompileTest.cpp235 GLint colorUniformLocation = in runAndVerify() local
237 ASSERT_NE(colorUniformLocation, -1); in runAndVerify()
239 glUniform4fv(colorUniformLocation, 1, normalizeColor.data()); in runAndVerify()
DTransformFeedbackTest.cpp3128 GLint colorUniformLocation = in TEST_P() local
3130 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
3150 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in TEST_P()
3177 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
3188 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
3194 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in TEST_P()
3210 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
3223 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 1.0f, 1.0f); in TEST_P()
3290 GLint colorUniformLocation = in TEST_P() local
3292 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
[all …]
DVulkanUniformUpdatesTest.cpp125 GLint colorUniformLocation = glGetUniformLocation(program, "uniColor"); in TEST_P() local
126 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
133 glUniform4f(colorUniformLocation, 1.0, 0.0, 0.0, 1.0); in TEST_P()
DStateChangeTest.cpp979 GLint colorUniformLocation = in TEST_P() local
981 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
1007 glUniform4f(colorUniformLocation, 0.125f, 0.25f, 0.5f, 0.5f); in TEST_P()
1524 GLint colorUniformLocation = in blendAndVerifyColor() local
1526 ASSERT_NE(colorUniformLocation, -1); in blendAndVerifyColor()
1528 glUniform4f(colorUniformLocation, blendColor.R, blendColor.G, blendColor.B, blendColor.A); in blendAndVerifyColor()
1826 GLint colorUniformLocation = in TEST_P() local
1828 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
1830 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 1.0f, 1.0f); in TEST_P()
1852 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
[all …]
DClearTest.cpp412 GLint colorUniformLocation = in TEST_P() local
414 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
416 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 1.0f, 0.5f); in TEST_P()
2180 GLint colorUniformLocation = in TEST_P() local
2182 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
2185 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 0.5f); in TEST_P()
2225 GLint colorUniformLocation = in TEST_P() local
2227 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
2239 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 0.5f); in TEST_P()
DFramebufferTest.cpp491 GLint colorUniformLocation = in TEST_P() local
493 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
517 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
535 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
3006 GLint colorUniformLocation = in TEST_P() local
3008 ASSERT_NE(colorUniformLocation, -1); in TEST_P()
3013 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
3025 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
3035 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
3044 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
[all …]
DGeometryShaderTest.cpp1071 GLint colorUniformLocation = in verifyLayeredFramebufferDepthStencil() local
1073 ASSERT_NE(colorUniformLocation, -1); in verifyLayeredFramebufferDepthStencil()
1106 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in verifyLayeredFramebufferDepthStencil()
1110 glUniform4f(colorUniformLocation, 0.5f, 0.6f, 0.7f, 0.8f); in verifyLayeredFramebufferDepthStencil()
DMemoryBarrierTest.cpp2618 GLint colorUniformLocation = in framebufferBitImageWriteThenDraw() local
2620 ASSERT_NE(colorUniformLocation, -1); in framebufferBitImageWriteThenDraw()
2629 glUniform4fv(colorUniformLocation, 1, kBlendData.data()); in framebufferBitImageWriteThenDraw()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.cpp1197 GLint colorUniformLocation = glGetUniformLocation(prog, "colorVal"); in CreateGLTexture2DMultisample() local
1200 glUniform1i(colorUniformLocation, color * 0x7f); in CreateGLTexture2DMultisample()
1203 glUniform1i(colorUniformLocation, color * 0x7fff); in CreateGLTexture2DMultisample()
1206 glUniform1i(colorUniformLocation, color * 0x7fffffff); in CreateGLTexture2DMultisample()
1209 glUniform1ui(colorUniformLocation, color * 0xff); in CreateGLTexture2DMultisample()
1212 glUniform1ui(colorUniformLocation, color * 0xffff); in CreateGLTexture2DMultisample()
1215 glUniform1ui(colorUniformLocation, color * 0xffffffff); in CreateGLTexture2DMultisample()
1218 glUniform1f(colorUniformLocation, color); in CreateGLTexture2DMultisample()
1458 GLint colorUniformLocation = glGetUniformLocation(prog, "colorVal"); in CreateGLTexture2DArrayMultisample() local
1461 glUniform1i(colorUniformLocation, val * 0x7f); in CreateGLTexture2DArrayMultisample()
[all …]