#Coding #OpenGL for #libobscura right now.
Computers need to convert those #Bayer or YUV #camera streams to RGB quickly to present them!
I'm just converting my old code to #rust, but it was enough to remind me why I hate the OpenGL + #EGL + #GBM combo. APIs with implicit global variables can get lost.
Thankfully, I'm nearly done and can go back to shaders and algorithms :-) but using GLES 1.2 (the #Librem5 can't do anything better ;_; )
Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.
Stay safe. Please abide by our code of conduct.
(Source code)
@dos I actually meant GLSL 1.2, but yes, I didn't check GLES version :)
Either way, a world of pain because tutorials for stuff that old are disappearing from the 'net and understanding it from the reference and first principles is a nightmare.