mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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>
This commit is contained in:
parent
ce8291f030
commit
0c043116c7
1 changed files with 0 additions and 56 deletions
|
|
@ -2271,56 +2271,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
|
||||
*/
|
||||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue