Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MESA_resize_buffers.spec 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Name
  2. MESA_resize_buffers
  3. Name Strings
  4. GL_MESA_resize_buffers
  5. Contact
  6. Brian Paul (brian.paul 'at' tungstengraphics.com)
  7. Status
  8. Shipping (since Mesa version 2.2)
  9. Version
  10. Number
  11. 196
  12. Dependencies
  13. Mesa 2.2 or later is required.
  14. Overview
  15. Mesa is often used as a client library with no integration with
  16. the computer's window system (an X server, for example). And since
  17. Mesa does not have an event loop nor window system callbacks, it
  18. cannot properly respond to window system events. In particular,
  19. Mesa cannot automatically detect when a window has been resized.
  20. Mesa's glViewport command queries the current window size and updates
  21. its internal data structors accordingly. This normally works fine
  22. since most applications call glViewport in responce to window size
  23. changes.
  24. In some situations, however, the application may not call glViewport
  25. when a window size changes but would still like Mesa to adjust to
  26. the new window size. This extension exports a new function to solve
  27. this problem.
  28. New Procedures and Functions
  29. void glResizeBuffersMESA( void )
  30. New Tokens
  31. none
  32. Additions to the OpenGL Specification (no particular section)
  33. The glResizeBuffersMESA command may be called when the client
  34. determines that a window has been resized. Calling
  35. glResizeBuffersMESA causes Mesa to query the current window size
  36. and adjust its internal data structures. This may include
  37. reallocating depth, stencil, alpha and accumulation buffers.
  38. Additions to the AGL/GLX/WGL Specifications
  39. None
  40. Errors
  41. INVALID_OPERATION is generated if ResizeBuffersMESA is called betweeen
  42. Begin and End.
  43. New State
  44. None.
  45. New Implementation Dependent State
  46. None.
  47. Revision History
  48. * Revision 1.0 - Initial specification