diff options
author | Adam Jackson <ajax@redhat.com> | 2022-12-12 13:50:15 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-01-03 23:36:26 +0000 |
commit | 0c043116c74983e832a3e52a9ceedce74545a5ea (patch) | |
tree | ba5a800320c8b7e45de6accde8574ab5ade940d7 | |
parent | ce8291f03044caa1006245bb8c9ee3cd8b7a238e (diff) | |
download | mesa-0c043116c74983e832a3e52a9ceedce74545a5ea.tar.gz mesa-0c043116c74983e832a3e52a9ceedce74545a5ea.tar.bz2 mesa-0c043116c74983e832a3e52a9ceedce74545a5ea.zip |
glx: Drop GLX_MESA_{pixmap_colormap,release_buffers} stubs
Whatever compatibility purpose these served has long since passed.
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20300>
-rw-r--r-- | src/glx/glxcmds.c | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index c3811ec8350..63afac738a4 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -2272,56 +2272,6 @@ glXWaitForSbcOML(Display *dpy, GLXDrawable drawable, int64_t target_sbc, /** - * Mesa extension stubs. These will help reduce portability problems. - */ -/*@{*/ - -/** - * Release all buffers associated with the specified GLX drawable. - * - * \todo - * This function was intended for stand-alone Mesa. The issue there is that - * the library doesn't get any notification when a window is closed. In - * DRI there is a similar but slightly different issue. When GLX 1.3 is - * supported, there are 3 different functions to destroy a drawable. It - * should be possible to create GLX protocol (or have it determine which - * protocol to use based on the type of the drawable) to have one function - * do the work of 3. For the direct-rendering case, this function could - * just call the driver's \c __DRIdrawableRec::destroyDrawable function. - * This would reduce the frequency with which \c __driGarbageCollectDrawables - * would need to be used. This really should be done as part of the new DRI - * interface work. - * - * \sa http://oss.sgi.com/projects/ogl-sample/registry/MESA/release_buffers.txt - * __driGarbageCollectDrawables - * glXDestroyGLXPixmap - * glXDestroyPbuffer glXDestroyPixmap glXDestroyWindow - * glXDestroyGLXPbufferSGIX glXDestroyGLXVideoSourceSGIX - */ -_X_HIDDEN Bool -glXReleaseBuffersMESA(Display * dpy, GLXDrawable d) -{ - (void) dpy; - (void) d; - return False; -} - - -_GLX_PUBLIC GLXPixmap -glXCreateGLXPixmapMESA(Display * dpy, XVisualInfo * visual, - Pixmap pixmap, Colormap cmap) -{ - (void) dpy; - (void) visual; - (void) pixmap; - (void) cmap; - return 0; -} - -/*@}*/ - - -/** * GLX_MESA_copy_sub_buffer */ #define X_GLXvop_CopySubBufferMESA 5154 /* temporary */ @@ -2600,12 +2550,6 @@ static const struct name_address_pair GLX_functions[] = { /*** GLX_MESA_copy_sub_buffer ***/ GLX_FUNCTION(glXCopySubBufferMESA), - /*** GLX_MESA_pixmap_colormap ***/ - GLX_FUNCTION(glXCreateGLXPixmapMESA), - - /*** GLX_MESA_release_buffers ***/ - GLX_FUNCTION(glXReleaseBuffersMESA), - /*** GLX_MESA_swap_control ***/ GLX_FUNCTION(glXSwapIntervalMESA), GLX_FUNCTION(glXGetSwapIntervalMESA), |