aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@mplayer2.org>2012-03-31 01:13:38 +0200
committerGravatar wm4 <wm4@mplayer2.org>2012-03-31 02:58:52 +0200
commit98052873dadf619536c3ab379d45a998f2cf0999 (patch)
tree33b1dfde0716a2e94b5c21d446aa227c5e502f1c /libvo/gl_common.h
parentb00c1335c83be933b96de9464779a0e74c34331d (diff)
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/gl_common.h')
-rw-r--r--libvo/gl_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 2f6b4b5083..08e21f28b4 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -431,6 +431,10 @@ void uninit_mpglcontext(MPGLContext *ctx);
int create_mpglcontext(struct MPGLContext *ctx, int gl_flags, int gl_version,
uint32_t d_width, uint32_t d_height, uint32_t flags);
+// print a multi line string with line numbers (e.g. for shader sources)
+// mod, lev: module and log level, as in mp_msg()
+void mp_log_source(int mod, int lev, const char *src);
+
//function pointers loaded from the OpenGL library
struct GL {
void (GLAPIENTRY *Begin)(GLenum);