During the CY2022 upgrade MR, which I did along with @alvinhochun's MR audit, I noticed that we have quite a few shortcomings with our support of OpenGL.
- We are still stuck on 3.2 core on macOS -- all hardware sold during the past decade, even M1, now supports 4.1. Even macOS returns 4.1 when asked for a core profile, no other version.
- We claim to support OpenGL ES 2, but as Alvin's MR showed, we treat it as unsupported because it is not OpenGL 2.1 (!!!).
- Nvidia provides ES2 only on Linux desktops, and I'm about to check it in my Potato with Armbian.
- We have the supportsLod() check around, which according to the author should have been deleted since we migrated to 5.7... we're now in 5.12 and Soon(tm) on 6.
- OCIO v1 is dumb enough that it'll work on GLES, but v2 locks us to the legacy pipeline.
- as it uses a single LUT texture, but the default processor uses 1D textures.
- We have a lot of unused shaders and duplicated code in the support checker.
I'd like to hear your takes!