summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-03 21:54:04 +0100
committerwm4 <wm4@nowhere>2014-12-03 23:01:19 +0100
commit920512d358221effa851da8a64fd26a54d154605 (patch)
tree9500dedad78ed95d70b87605125cab8c1f40d6b6 /video/out/gl_common.c
parent63377744f3dfff04fe02c832b24f8537b78ee8d3 (diff)
downloadmpv-920512d358221effa851da8a64fd26a54d154605.tar.bz2
mpv-920512d358221effa851da8a64fd26a54d154605.tar.xz
vo_opengl: move hwdec parts into their own files
This wasn't done before because there was no advantage in "abstracting" it. This changed, and putting this into its own files is better than messing it into gl_common.c/h.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 4d0a3c8dd4..1f005934d4 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -1035,20 +1035,3 @@ void mp_log_source(struct mp_log *log, int lev, const char *src)
src = next;
}
}
-
-extern const struct gl_hwdec_driver gl_hwdec_vaglx;
-extern const struct gl_hwdec_driver gl_hwdec_vda;
-extern const struct gl_hwdec_driver gl_hwdec_vdpau;
-
-const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = {
-#if HAVE_VAAPI_GLX
- &gl_hwdec_vaglx,
-#endif
-#if HAVE_VDA_GL
- &gl_hwdec_vda,
-#endif
-#if HAVE_VDPAU_GL_X11
- &gl_hwdec_vdpau,
-#endif
- NULL
-};