diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-05 19:19:56 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:20 +0200 |
commit | ccb6675fbd6a757790bbfa3212bcf28c240dd4d9 (patch) | |
tree | 4d3e78e489dd36b1f72fb492c418f401cb515d9f /libvo/gl_common.h | |
parent | a19ea9c9666a9299304118783291f7b4f27a72af (diff) | |
download | mpv-ccb6675fbd6a757790bbfa3212bcf28c240dd4d9.tar.bz2 mpv-ccb6675fbd6a757790bbfa3212bcf28c240dd4d9.tar.xz |
vo_gl: Add initial stereo support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31633 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 53b2ed41d4..91884e39d2 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -365,6 +365,14 @@ void glSetupYUVConversion(gl_conversion_params_t *params); void glEnableYUVConversion(GLenum target, int type); void glDisableYUVConversion(GLenum target, int type); +#define GL_3D_RED_CYAN 1 +#define GL_3D_GREEN_MAGENTA 2 +#define GL_3D_QUADBUFFER 3 + +void glEnable3DLeft(int type); +void glEnable3DRight(int type); +void glDisable3D(int type); + /** \addtogroup glcontext * \{ */ //! could not set new window, will continue drawing into the old one. @@ -462,6 +470,7 @@ extern void (GLAPIENTRY *mpglLightfv)(GLenum, GLenum, const GLfloat *); extern void (GLAPIENTRY *mpglColorMaterial)(GLenum, GLenum); extern void (GLAPIENTRY *mpglShadeModel)(GLenum); extern void (GLAPIENTRY *mpglGetIntegerv)(GLenum, GLint *); +extern void (GLAPIENTRY *mpglColorMask)(GLboolean, GLboolean, GLboolean, GLboolean); extern void (GLAPIENTRY *mpglGenBuffers)(GLsizei, GLuint *); extern void (GLAPIENTRY *mpglDeleteBuffers)(GLsizei, const GLuint *); |