Theory: Colour Spaces
Advanced topics regarding colour spaces
-
The relation of CIE1931 vs Rec.709 and the perceptual Lu’v' colourspace is discussed and depicted here
-
sRGB gammut in CIE1931: Wikipedia, SVG · with Planckian locus and colour temperature
Pixel formats
-
many pixel formats and codecs are described in detail at fourCC.org
-
GStreamer provides a description of various FourCC formats
-
A very useful explanation with graphics for YUV 420
Real-World implementations
-
In GStreamer, the gst_gl_imagesink handles the OpenGL based display of video frames; however — as can be expected by such a massive framework — it is near impossible to derive any conclusions regarding actual implementation technique from this code; all you can get hold off are GStreamer internal types, messages and wiring.
-
the video monitor xjadeo from Robin Gareus implements various Video display back-ends; while this code is very old, it is easy to follow and allows to identify actual graphics implementation routines.
Standards
SDL
-
Documentation
-
Examples and Tutorials
TODO: could be upgraded to SDL v2 / v3
![]() |
Research regarding SDL is incomplete, and the demo code can not handle display embedded into the application window. Since SDL typically delegates to OpenGL, and usage of SDL is not simpler than using OpenGL directl, we did not consider SDL especially relevant for Linux. |
OpenGL
-
The »Khronos Group« is a non-profit consortium and maintains the stewardship for the OpenGL specifications.
-
GLX is an X-Lib extension, which allows to bind an OpenGL context to an X11 based display.
-
GLX is also documented as part of the Legacy API v2.x
-
EGL is a modern cross-platform integration library for OpenGL or OpenGL ES (GLES) or OpenVG
-
to find out about the OpenGL API level supported on your system
glxinfo | grep "OpenGL version"
-
API Reference: current Core-API · OpenGL 4.x (core) · Legacy & GLX-API
-
The OpenGL Legacy API (up to v2.x) is known as »Fixed Function Pipeline«
-
Explanation in the Khronos Wiki
-
A compact description of the difference on Stackoverflow
-
Discussion: “Are there reasons to still use OpenGL 2.x/fixed function pipeline?” → Reddit 2020
-
-
Tutorials
-
a frequently quoted (and quite old) »Introduction to modern OpenGL«
-
The Learning-OpenGL site
-
Vulcan
maybe more research here…
Wayland
maybe more research here…