summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-01 17:05:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-01 17:05:58 +0000
commitc977dab4562f5ee1324a971d396a997baf341383 (patch)
treeb13a36cea80220e5c68a83822fe7d410ed48bb9f /libvo/gl_common.h
parente6524e5b0958e8b798e160c6ae555f5495c5f5eb (diff)
downloadmpv-c977dab4562f5ee1324a971d396a997baf341383.tar.bz2
mpv-c977dab4562f5ee1324a971d396a997baf341383.tar.xz
More similar code from gl and gl2 moved to gl_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14079 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 944f500cd3..2a02643483 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -15,6 +15,11 @@
void glAdjustAlignment(int stride);
+const char *glValName(GLint value);
+
+int glFindFormat(uint32_t format, uint32_t *bpp, GLenum *gl_texfmt,
+ GLenum *gl_format, GLenum *gl_type);
+
//! could not set new window, will continue drawing into the old one.
#define SET_WINDOW_FAILED -1
//! new window is set, could even transfer the OpenGL context.