[vlc-devel] [PATCH 0/7] Add GBM platform support

Romain Vimont rom1v at videolabs.io
Wed Mar 3 17:36:33 UTC 2021


This is a rework of this patchset in response to comments:
https://mailman.videolan.org/pipermail/vlc-devel/2021-March/142372.html

A new "egl display" module type is added, so that egl_pbuffer itself does not
handle platform-specific code. As a consequence, GBM platform support may be
added independently of egl_pbuffer.

Regards

Branch: https://code.videolan.org/rom1v/vlc/-/commits/egl_gbm_platform

Alexandre Janniaux (2):
  egl_pbuffer: add support for surfaceless context
  egl_display: add GBM platform support

Romain Vimont (5):
  egl_pbuffer: remove useless dependency
  opengl: introduce EGL display module
  egl_pbuffer: use a default EGL display module
  egl_pbuffer: enable if EGL and OpenGL are present
  egl_display: improve support detection

 configure.ac                                  |  18 +++
 modules/video_filter/egl_pbuffer.c            |  50 +++++++--
 modules/video_output/opengl/Makefile.am       |  27 ++++-
 modules/video_output/opengl/egl_display.c     |  71 ++++++++++++
 modules/video_output/opengl/egl_display.h     |  53 +++++++++
 modules/video_output/opengl/egl_display_gbm.c | 106 ++++++++++++++++++
 .../video_output/opengl/egl_display_generic.c |  86 ++++++++++++++
 7 files changed, 400 insertions(+), 11 deletions(-)
 create mode 100644 modules/video_output/opengl/egl_display.c
 create mode 100644 modules/video_output/opengl/egl_display.h
 create mode 100644 modules/video_output/opengl/egl_display_gbm.c
 create mode 100644 modules/video_output/opengl/egl_display_generic.c

-- 
2.30.1



More information about the vlc-devel mailing list