love2d / love-android

Android build setup for LÖVE.
https://love2d.org
Other
200 stars 70 forks source link

Add support to Gamma Correction #151

Closed slime73 closed 2 years ago

slime73 commented 7 years ago

Original report by Gustavo Guimaraes (Bitbucket: Ghust1995, ).


Gamma correction does not work even on phones that was supposed to support it.

slime73 commented 7 years ago

Original comment by Alex Szpakowski (Bitbucket: slime73, GitHub: slime73).


love currently relies on the window manager / graphics driver exposing sRGB back buffer formats, for gamma correction to work. macOS, Linux, Windows, and iOS all support this but most or all Android devices don't. For love 0.11 I'm looking into some workarounds (e.g. #1102).

MikuAuahDark commented 4 years ago

Blocked by love2d/love#1106

slime73 commented 2 years ago

Do we know if t.gammacorrect works as expected on Android devices which have the EGL_KHR_gl_colorspace extension?

I still want to do the virtual backbuffer thing on devices that don't support that extension since it's not super widely available, but it'd be good to know if things already work when it's available.

MikuAuahDark commented 2 years ago

Gamma correct rendering in Android is supported as of love2d/love@65667c0f18558f0387c57b0125ec9abcbd5ad980 (which needs EGL_KHR_gl_colorspace).