revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / mesa / docs / MESA_release_buffers.spec
blob52d1e5a9c7c67afd886e61aac05d4a40f990f1f5
1 Name
3 MESA_release_buffers
5 Name Strings
7 GLX_MESA_release_buffers
9 Contact
11 Brian Paul (brian.paul 'at' tungstengraphics.com)
13 Status
15 Shipping since Mesa 2.0 in October, 1996.
17 Version
19 Last Modified Date: 8 June 2000
21 Number
23 217
25 Dependencies
27 OpenGL 1.0 or later is required.
28 GLX 1.0 or later is required.
30 Overview
32 Mesa's implementation of GLX is entirely implemented on the client side.
33 Therefore, Mesa cannot immediately detect when an X window or pixmap is
34 destroyed in order to free any ancillary data associated with the window
35 or pixmap.
37 The glxMesaReleaseBuffers() function can be used to explicitly indicate
38 when the back color buffer, depth buffer, stencil buffer, and/or accumu-
39 lation buffer associated with a drawable can be freed.
41 IP Status
43 Open-source; freely implementable.
45 Issues
47 None.
49 New Procedures and Functions
51 Bool glXReleaseBuffersMESA( Display *dpy, GLXDrawable d );
53 New Tokens
55 None.
57 Additions to Chapter 3 of the GLX 1.3 Specification (Functions and Errors)
59 The function
61 Bool glXReleaseBuffersMESA( Display *dpy, GLXDrawable d );
63 causes all software ancillary buffers (back buffer, depth, stencil,
64 accum, etc) associated with the named drawable to be immediately
65 deallocated. True is returned if <d> is a valid Mesa GLX drawable,
66 else False is returned. After calling glXReleaseBuffersMESA, the
67 drawable should no longer be used for GL rendering. Results of
68 attempting to do so are undefined.
71 GLX Protocol
73 None, since this is a client-side operation.
75 Errors
77 None.
79 New State
81 None.
83 Revision History
85 8 June 2000 - initial specification