Home
last modified time | relevance | path

Searched refs:floatColor (Results 1 – 6 of 6) 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/gl_tests/
DMultithreadingTest.cpp207 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
209 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P()
281 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
282 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
327 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
328 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
380 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
381 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
433 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
434 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
DVulkanMultithreadingTest.cpp177 const angle::Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
178 glUniform4fv(colorLocation, 1, floatColor.data()); in TEST_P()
DClearTest.cpp1881 Vector4 floatColor = color.toNormalizedVector(); in TEST_P() local
1882 glClearColor(floatColor[0], floatColor[1], floatColor[2], floatColor[3]); in TEST_P()
/external/angle/src/tests/test_utils/
DANGLETest.cpp218 GLColorRGB::GLColorRGB(const Vector3 &floatColor) in GLColorRGB() argument
219 : R(ColorDenorm(floatColor.x())), G(ColorDenorm(floatColor.y())), B(ColorDenorm(floatColor.z())) in GLColorRGB()
222 GLColor::GLColor(const Vector4 &floatColor) in GLColor() argument
223 : R(ColorDenorm(floatColor.x())), in GLColor()
224 G(ColorDenorm(floatColor.y())), in GLColor()
225 B(ColorDenorm(floatColor.z())), in GLColor()
226 A(ColorDenorm(floatColor.w())) in GLColor()
DANGLETest.h84 GLColorRGB(const angle::Vector3 &floatColor);
102 GLColorRG(const angle::Vector2 &floatColor);
114 GLColorR(const float floatColor);
126 GLColor(const angle::Vector4 &floatColor);