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.9KB

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