/external/angle/src/tests/gl_tests/gles1/ |
D | CurrentColorTest.cpp | 51 GLColor32F floatColor; in TEST_P() local 52 glGetFloatv(GL_CURRENT_COLOR, &floatColor.R); in TEST_P() 55 EXPECT_EQ(GLColor32F(0.1f, 0.2f, 0.3f, 0.4f), floatColor); in TEST_P() 59 glGetFloatv(GL_CURRENT_COLOR, &floatColor.R); in TEST_P() 62 EXPECT_NEAR(1.0f, floatColor.R, epsilon); in TEST_P() 63 EXPECT_NEAR(0.0f, floatColor.G, epsilon); in TEST_P() 64 EXPECT_NEAR(1.0f / 3.0f, floatColor.B, epsilon); in TEST_P() 65 EXPECT_NEAR(0.2f, floatColor.A, epsilon); in TEST_P() 69 glGetFloatv(GL_CURRENT_COLOR, &floatColor.R); in TEST_P() 72 EXPECT_NEAR(1.0f, floatColor.R, epsilon); in TEST_P() [all …]
|
/external/angle/src/tests/perf_tests/ |
D | ClearPerf.cpp | 174 Vector4 floatColor = color.toNormalizedVector(); in drawBenchmark() local 175 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in drawBenchmark()
|
/external/angle/src/tests/test_utils/ |
D | ANGLETest.cpp | 214 GLColorRGB::GLColorRGB(const Vector3 &floatColor) in GLColorRGB() argument 215 : R(ColorDenorm(floatColor.x())), G(ColorDenorm(floatColor.y())), B(ColorDenorm(floatColor.z())) in GLColorRGB() 218 GLColor::GLColor(const Vector3 &floatColor) in GLColor() argument 219 : R(ColorDenorm(floatColor.x())), in GLColor() 220 G(ColorDenorm(floatColor.y())), in GLColor() 221 B(ColorDenorm(floatColor.z())), in GLColor() 225 GLColor::GLColor(const Vector4 &floatColor) in GLColor() argument 226 : R(ColorDenorm(floatColor.x())), in GLColor() 227 G(ColorDenorm(floatColor.y())), in GLColor() 228 B(ColorDenorm(floatColor.z())), in GLColor() [all …]
|
D | ANGLETest.h | 91 GLColorRGB(const angle::Vector3 &floatColor); 109 GLColorRG(const angle::Vector2 &floatColor); 121 GLColorR(const float floatColor); 133 GLColor(const angle::Vector3 &floatColor); 134 GLColor(const angle::Vector4 &floatColor);
|
/external/angle/src/tests/gl_tests/ |
D | VulkanMultithreadingTest.cpp | 178 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 179 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
|
D | MultithreadingTest.cpp | 245 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 247 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P() 321 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 322 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 367 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 368 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 418 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 419 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() 473 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 474 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P() [all …]
|
D | ClearTest.cpp | 1997 Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 1998 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P() 2048 Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 2049 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P()
|
D | VulkanPerformanceCounterTest.cpp | 6113 Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 6114 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P() 6224 Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local 6225 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P()
|