[vlc-devel] [PATCH 00/10] opengl: Abstract picture storage from renderer (part 4)

Romain Vimont rom1v at videolabs.io
Wed May 20 16:08:11 CEST 2020


This patchset makes the renderer independant of the interop.

After that, the renderer only uses the sampler to access the input picture.

MR: https://code.videolan.org/rom1v/vlc/-/merge_requests/9

Romain Vimont (10):
  opengl: remove unused code
  opengl: store fragment shader in sampler
  opengl: generate the extensions from the sampler
  opengl: move sampler initialization to constructor
  opengl: move orientation matrix init to sampler
  opengl: update pictures from sampler
  opengl: expose video format in sampler
  opengl: move sampler ownership to vgl
  opengl: remove all interop usages from renderer
  opengl: do not pass the picture_t to the renderer

 .../video_output/opengl/fragment_shaders.c    | 106 ++++++++-
 modules/video_output/opengl/internal.h        |   5 +-
 modules/video_output/opengl/interop.c         |   8 -
 modules/video_output/opengl/renderer.c        | 204 +-----------------
 modules/video_output/opengl/renderer.h        |  16 +-
 modules/video_output/opengl/sampler.c         | 120 ++++++++++-
 modules/video_output/opengl/sampler.h         |  33 +++
 modules/video_output/opengl/vout_helper.c     |  19 +-
 8 files changed, 277 insertions(+), 234 deletions(-)

-- 
2.27.0.rc0



More information about the vlc-devel mailing list