Home
last modified time | relevance | path

Searched refs:floatColor (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/tests/gl_tests/gles1/
DCurrentColorTest.cpp51 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/
DClearPerf.cpp174 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/
DANGLETest.cpp214 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 …]
DANGLETest.h91 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/
DVulkanMultithreadingTest.cpp178 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
179 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
DMultithreadingTest.cpp245 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 …]
DClearTest.cpp1997 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()
DVulkanPerformanceCounterTest.cpp6113 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()