summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-03-31 01:13:38 +0200
committerwm4 <wm4@mplayer2.org>2012-03-31 02:58:52 +0200
commit98052873dadf619536c3ab379d45a998f2cf0999 (patch)
tree33b1dfde0716a2e94b5c21d446aa227c5e502f1c /libvo/video_out.c
parentb00c1335c83be933b96de9464779a0e74c34331d (diff)
downloadmpv-98052873dadf619536c3ab379d45a998f2cf0999.tar.bz2
mpv-98052873dadf619536c3ab379d45a998f2cf0999.tar.xz
libvo: add vo_gl3
This new vo is heavily based on vo_gl.c. It provides better scale filters, dithering, and optional color management with LittleCMS2. It requires OpenGL 3. Many features are enabled by default, so it will be slower than vo_gl. However, it can be tuned to behave almost as vo_gl.
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index bbab3f0907..094d5b1a12 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -84,6 +84,7 @@ extern struct vo_driver video_out_vdpau;
extern struct vo_driver video_out_xv;
extern struct vo_driver video_out_gl_nosw;
extern struct vo_driver video_out_gl;
+extern struct vo_driver video_out_gl3;
extern struct vo_driver video_out_dga;
extern struct vo_driver video_out_sdl;
extern struct vo_driver video_out_3dfx;
@@ -169,6 +170,9 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_XV
&video_out_xv,
#endif
+#ifdef CONFIG_GL
+ &video_out_gl3,
+#endif
#ifdef CONFIG_X11
#ifdef CONFIG_GL
&video_out_gl_nosw,