Searched refs:SrgbChannelToLinear (Results 1 – 1 of 1) sorted by relevance
310 static inline float SrgbChannelToLinear(float cs) { in SrgbChannelToLinear() function329 float r = SrgbChannelToLinear((color & 0xff) / 255.0f); in SrgbColorToLinear()330 float g = SrgbChannelToLinear(((color >> 8) & 0xff) / 255.0f); in SrgbColorToLinear()331 float b = SrgbChannelToLinear(((color >> 16) & 0xff) / 255.0f); in SrgbColorToLinear()566 glClearColor(SrgbChannelToLinear(0.5), 0.0, 0.0, 1.0); in testFramebufferBlending()