mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
This tries to avoid "scrambled" image on Linux with Intel GPUs that are mostly used together with x86 CPUs at the expense of using slightly slower non-direct DMABuf import, by not going with GLES by default on EGL. The "GST_GL_API" env can still be used to force one or another context type. We need for GStreamer to be aware of currently used DRM modifier first. On the other hand forcing GL everywhere would break most embedded systems that only work with GLES, so do it for x86 processors only... and pray for it to work. See: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1236