diff options
author | wm4 <wm4@nowhere> | 2016-09-12 15:08:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-12 19:58:58 +0200 |
commit | 274e71ee8b774d6c9c69929a548a83c343202be1 (patch) | |
tree | 1176b9933fb04d730e0eeec4bcb3bc024725d618 /wscript_build.py | |
parent | 343f5ca24beeddc69f49d43448acc05b982176ad (diff) | |
download | mpv-274e71ee8b774d6c9c69929a548a83c343202be1.tar.bz2 mpv-274e71ee8b774d6c9c69929a548a83c343202be1.tar.xz |
vo_opengl: add hw overlay support and use it for RPI
This overlay support specifically skips the OpenGL rendering chain, and
uses GL rendering only for OSD/subtitles. This is for devices which
don't have performant GL support.
hwdec_rpi.c contains code ported from vo_rpi.c. vo_rpi.c is going to be
deprecated. I left in the code for uploading sw surfaces (as it might
be slightly more efficient for rendering sw decoded video), although
it's dead code for now.
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py index a288a955d6..08cb2d1cea 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -348,9 +348,10 @@ def build(ctx): ( "video/out/opengl/hwdec_dxva2.c", "gl-win32" ), ( "video/out/opengl/hwdec_dxva2gldx.c", "gl-dxinterop" ), ( "video/out/opengl/hwdec_dxva2egl.c", "egl-angle" ), + ( "video/out/opengl/hwdec_osx.c", "videotoolbox-gl" ), + ( "video/out/opengl/hwdec_rpi.c", "rpi" ), ( "video/out/opengl/hwdec_vaegl.c", "vaapi-egl" ), ( "video/out/opengl/hwdec_vaglx.c", "vaapi-glx" ), - ( "video/out/opengl/hwdec_osx.c", "videotoolbox-gl" ), ( "video/out/opengl/hwdec_vdpau.c", "vdpau-gl-x11" ), ( "video/out/opengl/lcms.c", "gl" ), ( "video/out/opengl/osd.c", "gl" ), |