-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sRGB Conversion Not Done for EGL < 1.5 #1667
Comments
This isn't actually a driver bug because EGL doesn't support SRGB surfaces until 1.5, and all GL devices (including my RPI) with 1.4 are having colorspace issues. |
@cwfitzgerald does RPi support https://www.khronos.org/registry/EGL/extensions/KHR/EGL_KHR_gl_colorspace.txt ? |
... and if neither EGL-1.5 or this extension are present, then we'll just no report SRGB formats as available for the swapchain. |
It seams like both my haswell and the rpi support it, so that should be good to use. |
Lemme see if I can toss together a PR for this. |
Description
I think sRGB converison is not currently working for the GL backend with EGL < 1.6 on Linux. The issue was originally found in #1627.
( #1627 (comment) )
@cwfitzgerald said:
We have fixed the vulkan issue, but haven't done anything about GL yet.
Repro steps
Expected vs observed behavior
All of the examples appear darker in color than the vulkan ones. ( after we fixed vulkan in #1651 )
Extra materials
Platform
I was unable to reproduce this on my machine using
Mesa Intel(R) UHD Graphics (CML GT2)
, but @cwfitzgerald mentioned having issues on his haswell rig.The text was updated successfully, but these errors were encountered: