gstreamer/gst-libs/gst/gl
Sjoerd Simons 99ac4e6600 gl/egl: Determine correct format on dmabuf import
When importing an egl image from dmabuf gst_gl_format_from_video_info
was used to work what the result GL format will be. Unfortunately that
will only work if the conventional format and the choosen DRM fourcc for
the format match up.

On etnaviv platforms there is no support for GL_EXT_texture_rg, so the
GL format chosen for YUY2 ends up being GST_GL_LUMINANCE_ALPHA. However
DRM does not do luminance + alpha as it's a legacy GL thing, so the
dmabuf import ends up using DRM_FORMAT_GR88.

To fix this, tie the DRM_FORMAT and the GL format together so they
always match up.
2018-11-11 16:15:54 -05:00
..
android libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
cocoa libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
dispmanx libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
eagl libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
egl gl/egl: Determine correct format on dmabuf import 2018-11-11 16:15:54 -05:00
gbm libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
glprototypes glmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if available 2017-12-09 19:32:26 +00:00
utils gl: Fix compiler warning about unused const variable with gcc 6 2017-12-09 19:32:17 +00:00
viv-fb libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
wayland libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
win32 libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
x11 libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
.gitignore [644/906] update .gitignore for some new files 2017-12-09 19:31:27 +00:00
gl-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
gl.h gl: Generate enum GTypes via glib-mkenums 2018-10-03 13:13:24 +03:00
gstgl_enums.h gl*memory: document new functionality and objects 2017-12-09 19:32:17 +00:00
gstgl_fwd.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglapi.c gl/docs: some documentation updates 2017-12-09 19:32:29 +00:00
gstglapi.h gl: GstGLAPI should be gst_gl_api_ in lower-case 2018-10-04 14:50:43 +03:00
gstglbasefilter.c doc: glbasefilter: Add missing Since for gst_gl_base_filter_find_gl_context() 2018-08-29 10:38:32 -04:00
gstglbasefilter.h gl: use right export decorator 2018-08-26 11:16:18 +02:00
gstglbasememory.c glbasememory: Fix error quark string and move documentation to the right place 2018-10-02 20:59:25 +03:00
gstglbasememory.h glbasememory: Fix error quark string and move documentation to the right place 2018-10-02 20:59:25 +03:00
gstglbuffer.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglbuffer.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglbufferpool.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstglbufferpool.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglcolorconvert.c glcolorconvert: Don't copy overlay composition meta over to NULL outbufs 2018-09-25 17:01:15 +03:00
gstglcolorconvert.h glcolorconvert: add support for ARGB64 conversion 2018-05-05 21:24:25 +10:00
gstglconfig.h.meson gl/build: fixed failed compilation due to missing EGLuint64KHR typedef 2018-07-18 14:02:01 +10:00
gstglcontext.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstglcontext.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglcontext_private.h gl: add missing new header files 2017-12-09 19:32:29 +00:00
gstgldebug.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstgldebug.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstgldisplay.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstgldisplay.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglfeature.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglfeature.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglfeature_private.h glfeature: move internal functions into a private header 2017-12-09 19:32:23 +00:00
gstglfilter.c glfilter: don't complete overwrite caps features from the subclass 2018-10-04 14:28:35 +10:00
gstglfilter.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglformat.c glcolorconvert: add support for ARGB64 conversion 2018-05-05 21:24:25 +10:00
gstglformat.h glcolorconvert: add support for ARGB64 conversion 2018-05-05 21:24:25 +10:00
gstglframebuffer.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstglframebuffer.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglfuncs.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglmemory.c glmemory: Fix n_wrapped_pointers usage 2018-10-30 10:47:01 +01:00
gstglmemory.h glcolorconvert: add support for ARGB64 conversion 2018-05-05 21:24:25 +10:00
gstglmemorypbo.c gl/memory: store the internal format as the texture format 2018-05-05 21:24:25 +10:00
gstglmemorypbo.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstgloverlaycompositor.c gl/overlaycompositor: don't force unpremultiplied alpha 2018-10-04 23:24:15 +10:00
gstgloverlaycompositor.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglpixelformat.c glfilter: rewrite subclasses for filter_texture() occuring on GL thread 2017-12-09 19:32:21 +00:00
gstglquery.c gl/query: split tests and fix some corresponding issues in usage 2017-12-09 19:32:30 +00:00
gstglquery.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglrenderbuffer.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglrenderbuffer.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstglshader.c glshader: macro out all the extremely similar uniform setting 2018-09-18 11:13:27 +10:00
gstglshader.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglshaderstrings.c gl: take the affine transformation in NDC 2017-12-09 19:32:19 +00:00
gstglshaderstrings.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglsl.c glsl: Fix error quark string to be more consistent 2018-10-02 21:01:31 +03:00
gstglsl.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglsl_private.h gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglslstage.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstglslstage.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglsyncmeta.c gl: do not include GL headers in public gstgl headers 2017-12-09 19:32:29 +00:00
gstglsyncmeta.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglupload.c glupload: Only renegotiate if the caps are incompatible 2018-11-01 06:22:28 -04:00
gstglupload.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglutils.c gl/utils: fixup matrix math again for column major 2018-07-10 20:13:22 +10:00
gstglutils.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglutils_private.h glutils: fix matrix operations everywhere 2017-12-09 19:32:30 +00:00
gstglviewconvert.c glviewconvert: Add backwards compatibility gst_gl_stereo_downmix_mode_get_type() 2018-10-04 13:38:59 +03:00
gstglviewconvert.h glviewconvert: Add backwards compatibility gst_gl_stereo_downmix_mode_get_type() 2018-10-04 13:38:59 +03:00
gstglwindow.c gl: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-23 22:58:44 +02:00
gstglwindow.h gl: GST_EXPORT -> GST_GL_API 2018-03-13 12:10:29 +00:00
gstglwindow_private.h gl: add missing new header files 2017-12-09 19:32:29 +00:00
Makefile.am gl: Add gl-enumtypes.[ch] to CLEANFILES 2018-10-04 13:33:30 +03:00
meson.build gl: Generate enum GTypes via glib-mkenums 2018-10-03 13:13:24 +03:00