[vlc-devel] [PATCH 0/2] VDPAU OpenGL interoperability

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Thu Jul 20 14:33:42 CEST 2017


Allows to use the generic opengl vout display, and therefore allows the use of
handy GL transformations.

This patchset has been tested on a stable debian which only provides the GL
extension with GLX.

The performances are sligthly better than VDPAU vout display (on 10 tests of 5
sec on a 1920x1080 sample, we have an average of 0.40s user time with VDPAU
display and 0.25s with gl display; on 1 test of 40 sec on the same sample we
have 1.60s user time with VDPAU against 0.79s with gl).

As VDPAU is still not available on Wayland it's ok to use this only with GLX.

Victorien Le Couviour--Tuffet (2):
  vdpau: add vdp_get_gpa
  opengl: add converter_vdpau

 modules/hw/vdpau/instance.c                   |  28 +++-
 modules/hw/vdpau/vlc_vdpau.c                  |   7 +-
 modules/hw/vdpau/vlc_vdpau.h                  |  15 +-
 modules/video_output/Makefile.am              |   7 +
 modules/video_output/opengl/converter_vdpau.c | 233 ++++++++++++++++++++++++++
 modules/video_output/opengl/internal.h        |   5 +
 modules/video_output/opengl/vout_helper.c     |   3 +
 7 files changed, 292 insertions(+), 6 deletions(-)
 create mode 100644 modules/video_output/opengl/converter_vdpau.c

-- 
2.13.1



More information about the vlc-devel mailing list