11 Brian Paul
(brian.paul 'at' tungstengraphics.com
)
15 Shipping
(since Mesa version
2.2)
26 Mesa
2.2 or later is required.
30 Mesa is often used as a client library with no integration with
31 the computer's window system
(an X server
, for example
). And since
32 Mesa does not have an event loop nor window system callbacks
, it
33 cannot properly respond to window system events. In particular
,
34 Mesa cannot automatically detect when a window has been resized.
36 Mesa's glViewport
command queries the current window size and updates
37 its internal data structors accordingly. This normally works fine
38 since most applications call glViewport
in response to window size
41 In some situations
, however
, the application may not call glViewport
42 when a window size changes but would still like Mesa to adjust to
43 the new window size. This extension exports a new
function to solve
46 New Procedures and Functions
48 void glResizeBuffersMESA
( void
)
54 Additions to the OpenGL Specification
(no particular section
)
56 The glResizeBuffersMESA
command may be called when the client
57 determines that a window has been resized. Calling
58 glResizeBuffersMESA causes Mesa to query the current window size
59 and adjust its internal data structures. This may include
60 reallocating depth
, stencil
, alpha and accumulation buffers.
62 Additions to the AGL
/GLX
/WGL Specifications
68 INVALID_OPERATION is generated
if glResizeBuffersMESA is called between
75 New Implementation Dependent State
81 * Revision
1.0 - Initial specification