From 2a61cc675bb029dfefaf76d120b12b34a6b22ea1 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 8 Jun 2006 18:50:11 +0000 Subject: loadGPUProgram function to load fragment program with error checking and statistics git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18654 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libvo/gl_common.h') diff --git a/libvo/gl_common.h b/libvo/gl_common.h index df446a5601..55a6ba8ba8 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -189,6 +189,9 @@ #ifndef GL_PROGRAM_ERROR_POSITION #define GL_PROGRAM_ERROR_POSITION 0x864B #endif +#ifndef GL_PROGRAM_ERROR_STRING +#define GL_PROGRAM_ERROR_STRING 0x8874 +#endif /** \} */ // end of glextdefines group void glAdjustAlignment(int stride); @@ -208,6 +211,7 @@ void glUploadTex(GLenum target, GLenum format, GLenum type, void glDrawTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h, GLfloat tx, GLfloat ty, GLfloat tw, GLfloat th, int sx, int sy, int rect_tex, int is_yv12, int flip); +int loadGPUProgram(GLenum target, char *prog); /** \addtogroup glconversion * \{ */ -- cgit v1.2.3