summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-12 15:08:38 +0200
committerwm4 <wm4@nowhere>2016-09-12 19:58:58 +0200
commit274e71ee8b774d6c9c69929a548a83c343202be1 (patch)
tree1176b9933fb04d730e0eeec4bcb3bc024725d618 /video/out/opengl/common.c
parent343f5ca24beeddc69f49d43448acc05b982176ad (diff)
downloadmpv-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 'video/out/opengl/common.c')
-rw-r--r--video/out/opengl/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index dd44165b81..5762f44440 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -125,6 +125,7 @@ static const struct gl_functions gl_functions[] = {
DEF_FN(LinkProgram),
DEF_FN(PixelStorei),
DEF_FN(ReadPixels),
+ DEF_FN(Scissor),
DEF_FN(ShaderSource),
DEF_FN(TexImage2D),
DEF_FN(TexParameteri),