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

Romain Vimont rom1v at videolabs.io
Thu Jun 4 11:52:08 CEST 2020


This new part of the refactor basically just renames stuff and moves code
around.

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

Romain Vimont (10):
  opengl: merge DrawWithShaders() into _Draw()
  opengl: merge fragment_shaders.c into sampler.c
  opengl: move "dump shaders" flag to renderer
  opengl: privatize sampler parts
  opengl: make FetchLocations() infaillible
  opengl: group sampler callbacks into struct ops
  opengl: rename "prepare_shader" callback to "load"
  opengl: rename to plural form
  opengl: rewrite error handling with gotos
  opengl: keep a reference to vlc_gl_api

 modules/video_output/Makefile.am              |   3 +-
 .../video_output/opengl/fragment_shaders.c    | 799 ----------------
 modules/video_output/opengl/internal.h        |   4 -
 modules/video_output/opengl/renderer.c        |  43 +-
 modules/video_output/opengl/renderer.h        |   7 +-
 modules/video_output/opengl/sampler.c         | 903 +++++++++++++++++-
 modules/video_output/opengl/sampler.h         |  88 +-
 modules/video_output/opengl/sampler_priv.h    |  57 ++
 modules/video_output/opengl/vout_helper.c     |  68 +-
 9 files changed, 976 insertions(+), 996 deletions(-)
 delete mode 100644 modules/video_output/opengl/fragment_shaders.c
 create mode 100644 modules/video_output/opengl/sampler_priv.h

-- 
2.27.0



More information about the vlc-devel mailing list