summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2011-10-15 18:44:00 +0200
committerUoti Urpala <uau@mplayer2.org>2011-11-26 20:04:16 +0200
commit421c840b3c061de89b426244fe75237a73f765de (patch)
tree78306817be89c68a6f380078c5d278255e24f99b /libvo/gl_common.h
parent4a8ee6d9a4266589b25a817eb9fbc71a11704bc8 (diff)
downloadmpv-421c840b3c061de89b426244fe75237a73f765de.tar.bz2
mpv-421c840b3c061de89b426244fe75237a73f765de.tar.xz
vo_gl: add native mac osx Cocoa backend for vo_gl
Add native Cocoa code to display an OpenGL window. Some of the code is based on the OpenGL parts of vo_corevideo but I took the time to remove old code based on Carbon. There is autodetection in the configure script but you can use --enable[disable]-cocoa to enable[disable] this.
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index f2e07e7e8b..88a2507060 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -362,6 +362,7 @@ void glDisable3D(GL *gl, int type);
enum MPGLType {
GLTYPE_AUTO,
+ GLTYPE_COCOA,
GLTYPE_W32,
GLTYPE_X11,
GLTYPE_SDL,