From 0ca415447d33c75469724e16aba6385fd80691db Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 5 Dec 2008 15:36:54 +0000 Subject: Add support for YCBCR MESA texture format to vo_gl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28093 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libvo/gl_common.h') diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 2408b1a2e9..22e06eb60f 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -210,6 +210,15 @@ #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 #endif +#ifndef GL_UNSIGNED_SHORT_8_8 +#define GL_UNSIGNED_SHORT_8_8 0x85BA +#endif +#ifndef GL_UNSIGNED_SHORT_8_8_REV +#define GL_UNSIGNED_SHORT_8_8_REV 0x85BB +#endif +#ifndef GL_YCBCR_MESA +#define GL_YCBCR_MESA 0x8757 +#endif #ifndef GL_RGB32F #define GL_RGB32F 0x8815 #endif -- cgit v1.2.3 From b6e113841c96daf383c5a9dfa8b406a1d5ab11f0 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 5 Dec 2008 22:16:45 +0000 Subject: Add experimental support for glXAllocateMemoryMESA git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28101 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvo/gl_common.h') diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 22e06eb60f..31a21a5ff0 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -384,5 +384,7 @@ extern void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat, extern int (APIENTRY *SwapInterval)(int); extern void (APIENTRY *TexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); +extern void* (APIENTRY *AllocateMemoryMESA)(void *, int, size_t, float, float, float); +extern void (APIENTRY *FreeMemoryMESA)(void *, int, void *); #endif /* MPLAYER_GL_COMMON_H */ -- cgit v1.2.3