diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-19 15:15:15 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-19 22:45:50 -0400 |
commit | cb2a66fd0c095fe03be5aaf88c8d48f5867425d3 (patch) | |
tree | 95dbcc227ee10feabdbaa031ee7dd3b7eace228d /src/glx/apple/glx_empty.c | |
parent | f972115d33e391499e049b83a1559959f2ca9f72 (diff) |
glx: Drop support for GLX_MESA_allocate_memory
Only r200 implemented it.
Diffstat (limited to 'src/glx/apple/glx_empty.c')
-rw-r--r-- | src/glx/apple/glx_empty.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c index 44c5a256f20..e19bf05d470 100644 --- a/src/glx/apple/glx_empty.c +++ b/src/glx/apple/glx_empty.c @@ -191,52 +191,6 @@ glXWaitForSbcOML(Display * dpy, GLXDrawable drawable, } -/** - * GLX_MESA_allocate_memory - */ -/*@{*/ - -PUBLIC void * -glXAllocateMemoryMESA(Display * dpy, int scrn, - size_t size, float readFreq, - float writeFreq, float priority) -{ - (void) dpy; - (void) scrn; - (void) size; - (void) readFreq; - (void) writeFreq; - (void) priority; - return NULL; -} - - -PUBLIC void -glXFreeMemoryMESA(Display * dpy, int scrn, void *pointer) -{ -#ifdef __DRI_ALLOCATE - __GLXscreenConfigs *const psc = GetGLXScreenConfigs(dpy, scrn); - - if (psc && psc->allocate) - (*psc->allocate->freeMemory) (psc->__driScreen, pointer); - -#else - (void) dpy; - (void) scrn; - (void) pointer; -#endif /* __DRI_ALLOCATE */ -} - - -PUBLIC GLuint -glXGetMemoryOffsetMESA(Display * dpy, int scrn, const void *pointer) -{ - (void) dpy; - (void) scrn; - (void) pointer; - return ~0L; -} - Bool glXReleaseBuffersMESA(Display * dpy, GLXDrawable d) { |