I am working on a OpenGL ES 3.0 Android project using Java. I need to implement gamma correction and somewhere I've read that sRGB textures would be supported in OpenGL ES 3.0. So my intention was to call glEnable(GL_FRAMEBUFFER_SRGB) before rendering into the default framebuffer.
However, when I try to call
GLES30.glEnable(GLES30.GL_FRAMEBUFFER_SRGB)
it turns out, there is no GLES30.GL_FRAMEBUFFER_SRGB, but there are some constants for sRGB texture formats like GLES30.GL_SRGB.
So, my question is: is it possible to let OpenGL ES 3.0 do the gamma correction for me? If yes, how?
Otherwise, I guess, I'll have to do gamma correction manually.