Searched refs:toSRGB (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/tests/ |
D | ApplyGammaTest.cpp | 51 bool check_gamma(uint32_t src, uint32_t dst, bool toSRGB, float error, in check_gamma() argument 72 if (toSRGB) { in check_gamma() 124 for (auto toSRGB : { false, true }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 139 gammaPaint.setColorFilter(toSRGB ? SkColorFilters::LinearToSRGBGamma() in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 158 if (!check_gamma(s, r, toSRGB, error, &expected)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 161 toSRGB ? "ToSRGB" : "ToLinear", r); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/tests/ |
D | ApplyGammaTest.cpp | 51 bool check_gamma(uint32_t src, uint32_t dst, bool toSRGB, float error, in check_gamma() argument 72 if (toSRGB) { in check_gamma() 119 for (auto toSRGB : { false, true }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 134 gammaPaint.setColorFilter(toSRGB ? SkColorFilters::LinearToSRGBGamma() in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 153 if (!check_gamma(s, r, toSRGB, error, &expected)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 toSRGB ? "ToSRGB" : "ToLinear", r); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|