Home
last modified time | relevance | path

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

/external/skia/tests/
DSRGBMipMapTest.cpp100 const U8CPU srgb60 = sk_float_round2int(0.6f * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
102 SkPackARGB32(0xFF, srgb60, srgb60, srgb60), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
117 const U8CPU expectedLinear = srgb60 / 2; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DSRGBMipMapTest.cpp100 const U8CPU srgb60 = sk_float_round2int(0.6f * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
102 SkPackARGB32(0xFF, srgb60, srgb60, srgb60), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
116 linear_to_srgb(srgb_to_linear(srgb60 / 255.0f) / 2.0f) * 255.0f); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
117 const U8CPU expectedLinear = srgb60 / 2; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()