comparison libvo/gl_common.c @ 28067:7511f7328d93

Add experimental support for glXAllocateMemoryMESA
author reimar
date Fri, 05 Dec 2008 22:16:45 +0000
parents 8f43ff543dc6
children 8df85ad26746
comparison
equal deleted inserted replaced
28066:ccffc23bf229 28067:7511f7328d93
75 void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat, 75 void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat,
76 GLfloat, GLfloat); 76 GLfloat, GLfloat);
77 int (APIENTRY *SwapInterval)(int); 77 int (APIENTRY *SwapInterval)(int);
78 void (APIENTRY *TexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, 78 void (APIENTRY *TexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei,
79 GLint, GLenum, GLenum, const GLvoid *); 79 GLint, GLenum, GLenum, const GLvoid *);
80 void* (APIENTRY *AllocateMemoryMESA)(void *, int, size_t, float, float, float);
81 void (APIENTRY *FreeMemoryMESA)(void *, int, void *);
80 /** \} */ // end of glextfunctions group 82 /** \} */ // end of glextfunctions group
81 83
82 //! \defgroup glgeneral OpenGL general helper functions 84 //! \defgroup glgeneral OpenGL general helper functions
83 85
84 //! \defgroup glcontext OpenGL context management helper functions 86 //! \defgroup glcontext OpenGL context management helper functions
310 {&ProgramString, "_program", {"glProgramStringARB", NULL}}, 312 {&ProgramString, "_program", {"glProgramStringARB", NULL}},
311 {&GetProgramiv, "_program", {"glGetProgramivARB", NULL}}, 313 {&GetProgramiv, "_program", {"glGetProgramivARB", NULL}},
312 {&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", NULL}}, 314 {&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", NULL}},
313 {&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalEXT", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}}, 315 {&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalEXT", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
314 {&TexImage3D, NULL, {"glTexImage3D", NULL}}, 316 {&TexImage3D, NULL, {"glTexImage3D", NULL}},
317 {&AllocateMemoryMESA, "GLX_MESA_allocate_memory", {"glXAllocateMemoryMESA", NULL}},
318 {&FreeMemoryMESA, "GLX_MESA_allocate_memory", {"glXFreeMemoryMESA", NULL}},
315 {NULL} 319 {NULL}
316 }; 320 };
317 321
318 /** 322 /**
319 * \brief find the function pointers of some useful OpenGL extensions 323 * \brief find the function pointers of some useful OpenGL extensions