Mesa (gallium-xlib-rework): xlib: strip out glXAllocateMemoryMESA & friends

Keith Whitwell keithw at kemper.freedesktop.org
Thu Jan 8 16:57:31 UTC 2009


Module: Mesa
Branch: gallium-xlib-rework
Commit: 221352bbd79a0ea92ce31cffb65537f62ee5668e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=221352bbd79a0ea92ce31cffb65537f62ee5668e

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Thu Jan  8 16:35:05 2009 +0000

xlib: strip out glXAllocateMemoryMESA & friends

---

 src/gallium/state_trackers/xlib/glxapi.c |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/src/gallium/state_trackers/xlib/glxapi.c b/src/gallium/state_trackers/xlib/glxapi.c
index a53914e..51f7be6 100644
--- a/src/gallium/state_trackers/xlib/glxapi.c
+++ b/src/gallium/state_trackers/xlib/glxapi.c
@@ -1043,29 +1043,6 @@ glXGetAGPOffsetMESA( const GLvoid *pointer )
 }
 
 
-/*** GLX_MESA_allocate_memory */
-
-void *
-glXAllocateMemoryMESA(Display *dpy, int scrn, size_t size,
-                      float readfreq, float writefreq, float priority)
-{
-   /* dummy */
-   return NULL;
-}
-
-void
-glXFreeMemoryMESA(Display *dpy, int scrn, void *pointer)
-{
-   /* dummy */
-}
-
-
-GLuint
-glXGetMemoryOffsetMESA(Display *dpy, int scrn, const void *pointer)
-{
-   /* dummy */
-   return 0;
-}
 
 
 /*** GLX_EXT_texture_from_pixmap */
@@ -1274,11 +1251,6 @@ static struct name_address_pair GLX_functions[] = {
    /*** GLX_MESA_agp_offset ***/
    { "glXGetAGPOffsetMESA", (__GLXextFuncPtr) glXGetAGPOffsetMESA },
 
-   /*** GLX_MESA_allocate_memory ***/
-   { "glXAllocateMemoryMESA", (__GLXextFuncPtr) glXAllocateMemoryMESA },
-   { "glXFreeMemoryMESA", (__GLXextFuncPtr) glXFreeMemoryMESA },
-   { "glXGetMemoryOffsetMESA", (__GLXextFuncPtr) glXGetMemoryOffsetMESA },
-
    /*** GLX_EXT_texture_from_pixmap ***/
    { "glXBindTexImageEXT", (__GLXextFuncPtr) glXBindTexImageEXT },
    { "glXReleaseTexImageEXT", (__GLXextFuncPtr) glXReleaseTexImageEXT },




More information about the mesa-commit mailing list