[vlc-devel] [PATCH 0/2] opengl: Abstract picture storage from renderer (part 2)

Romain Vimont rom1v at videolabs.io
Mon Mar 23 15:55:39 CET 2020


This patchset moves the creation of the fragment shader to the renderer, which
reads the input picture via the GLSL function vlc_texture(), generated by the
"sampler" (for now, the vlc_texture() implementation is returned by
opengl_fragment_shader_init()).

This paves the way to make the renderer independant of the input picture
storage.

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

Romain Vimont (2):
  opengl: extract vlc_texture()
  opengl: move fragment shader creation to renderer

 .../video_output/opengl/fragment_shaders.c    | 40 ++++------------
 modules/video_output/opengl/renderer.c        | 46 +++++++++++++++++--
 2 files changed, 52 insertions(+), 34 deletions(-)

-- 
2.26.0.rc2



More information about the vlc-devel mailing list