[vlc-devel] [PATCH v2 00/17] opengl: Abstract picture storage from renderer (part 3)

Romain Vimont rom1v at videolabs.io
Thu May 14 15:37:58 CEST 2020


v1: https://mailman.videolan.org/pipermail/vlc-devel/2020-April/thread.html#132885

Changes from v1:
 - https://mailman.videolan.org/pipermail/vlc-devel/2020-May/133955.html
   - rename "sampler_name" to "glsl_sampler"
   - create sampler using malloc() instead of calloc()
 - https://mailman.videolan.org/pipermail/vlc-devel/2020-May/133956.html
   - rewrite commit message of patch 3
 - https://mailman.videolan.org/pipermail/vlc-devel/2020-May/133958.html
   - add an assert()

https://code.videolan.org/rom1v/vlc/-/merge_requests/8 has been updated.

Romain Vimont (17):
  opengl: extract renderer fields to sampler
  opengl: move interop ownership to vgl
  opengl: simplify renderer format
  opengl: remove intermediate local variable
  opengl: use the interop format in renderer
  opengl: reference interop from sampler
  opengl: extract sampler creation and destruction
  opengl: reference common objects from sampler
  opengl: define identity matrices in gl_util.h
  opengl: move callbacks to sampler
  opengl: fetch locations from sampler
  opengl: load uniforms from sampler
  opengl: remove alpha parameter from prepare_shader
  opengl: simplify pf_prepare_shader()
  opengl: expose functions to call sampler callbacks
  opengl: remove interop reference from renderer
  opengl: only use sampler from fragment_shaders.c

 modules/video_output/Makefile.am              |   2 +
 .../video_output/opengl/fragment_shaders.c    | 242 +++++++++++-------
 modules/video_output/opengl/gl_util.h         |  13 +
 modules/video_output/opengl/internal.h        |   2 +-
 modules/video_output/opengl/renderer.c        | 198 ++++----------
 modules/video_output/opengl/renderer.h        |  70 +----
 modules/video_output/opengl/sampler.c         | 118 +++++++++
 modules/video_output/opengl/sampler.h         | 144 +++++++++++
 modules/video_output/opengl/sub_renderer.c    |  21 +-
 modules/video_output/opengl/sub_renderer.h    |   4 +-
 modules/video_output/opengl/vout_helper.c     |  43 +++-
 11 files changed, 540 insertions(+), 317 deletions(-)
 create mode 100644 modules/video_output/opengl/sampler.c
 create mode 100644 modules/video_output/opengl/sampler.h

-- 
2.26.2



More information about the vlc-devel mailing list