eglimagememory: Methods to create GstGLMemory from dmabufs
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
Fri, 13 Nov 2015 16:40:08 +0000 (17:40 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 18 Dec 2015 20:56:34 +0000 (15:56 -0500)
commit1cd97865982da5cecf1f9ca7df9ea2714aab7f2b
tree1a6a7ab09c6f5abf8adbb081795f5b0a0db4db44
parent41738ca83b63c911e6b90f1dbce748830282031b
eglimagememory: Methods to create GstGLMemory from dmabufs

Maps GstVideoFormats to suitable DRM fourccs which work with
glcolorconvert, using gst_gl_memory_alloc(). We require mostly
only 4 formats to be supported by the driver. We require DRM
equivalent to RGB16, RGBA, R8 and RG88. This way it's compatible with
DesktopGL, since GL_TEXTURE_2D is used and limit driver requirements.
With this we can virtually support all formats the glcolorconvert
supports.

https://bugzilla.gnome.org/show_bug.cgi?id=743345
gst-libs/gst/gl/egl/gsteglimagememory.c
gst-libs/gst/gl/egl/gsteglimagememory.h