Searched refs:ColorFract (Results 1 – 6 of 6) sorted by relevance
/aosp12/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 53 class ColorFract { 55 ColorFract(): _c1(0.0), _c2(0.0), _c3(0.0) {}; in ColorFract() function 56 ColorFract(float c1, float c2, float c3): _c1(c1), _c2(c2), _c3(c3) {}; in ColorFract() function 119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha); 121 ColorFract& color); 124 void hwcTestFillColor(android::GraphicBuffer *gBuf, ColorFract color, 128 ColorFract startColor, ColorFract endColor); 129 ColorFract hwcTestParseColor(std::istringstream& in, bool& error);
|
H A D | hwcTestLib.cpp | 159 ColorFract::operator string() 305 ColorFract hwcTestParseColor(istringstream& in, bool& error) in hwcTestParseColor() 307 ColorFract color; in hwcTestParseColor() 352 return ColorFract(c1, c2, c3); in hwcTestParseColor() 690 ColorFract startColor, ColorFract endColor) in hwcTestFillColorHBlend() 793 ColorFract& color) in hwcTestColorConvert() 854 color = ColorFract(0.0, 0.0, 0.0); in hwcTestColorConvert() 861 color = ColorFract((c1Val - fromAttrib->c1Low) in hwcTestColorConvert() 884 color = ColorFract(y, u, v); in hwcTestColorConvert() 920 color = ColorFract(r, g, b); in hwcTestColorConvert() [all …]
|
H A D | hwcColorEquiv.cpp | 104 const ColorFract defaultStartColor(0.0, 0.0, 0.0); 105 const ColorFract defaultEndColor(1.0, 1.0, 1.0); 138 static ColorFract startRefColor = defaultStartColor; 139 static ColorFract endRefColor = defaultEndColor;
|
H A D | hwcRects.cpp | 128 const ColorFract defaultColor(0.5, 0.5, 0.5); 154 ColorFract color;
|
H A D | hwcStress.cpp | 593 ColorFract color(testRandFract(), testRandFract(), testRandFract()); in initFrames()
|
H A D | hwcCommit.cpp | 121 const ColorFract defaultColor(0.5, 0.5, 0.5); 172 ColorFract color;
|