Home
last modified time | relevance | path

Searched refs:toSRGB (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DApplyGammaTest.cpp51 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 ? SkColorFilter::MakeLinearToSRGBGamma() 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()
/external/skia/tests/
DApplyGammaTest.cpp51 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 ? SkColorFilter::MakeLinearToSRGBGamma() 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()