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_copy_sub_buffer.spec 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Name
  2. MESA_copy_sub_buffer
  3. Name Strings
  4. GLX_MESA_copy_sub_buffer
  5. Contact
  6. Brian Paul (brian.paul 'at' tungstengraphics.com)
  7. Status
  8. Shipping since Mesa 2.6 in February, 1998.
  9. Version
  10. Last Modified Date: 12 January 2009
  11. Number
  12. 215
  13. Dependencies
  14. OpenGL 1.0 or later is required.
  15. GLX 1.0 or later is required.
  16. Overview
  17. The glxCopySubBufferMESA() function copies a rectangular region
  18. of the back color buffer to the front color buffer. This can be
  19. used to quickly repaint 3D windows in response to expose events
  20. when the back color buffer cannot be damaged by other windows.
  21. IP Status
  22. Open-source; freely implementable.
  23. Issues
  24. None.
  25. New Procedures and Functions
  26. void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
  27. int x, int y, int width, int height );
  28. New Tokens
  29. None.
  30. Additions to Chapter 3 of the GLX 1.3 Specification (Functions and Errors)
  31. Add to section 3.3.10 Double Buffering:
  32. The function
  33. void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
  34. int x, int y, int width, int height );
  35. may be used to copy a rectangular region of the back color buffer to
  36. the front color buffer. This can be used to quickly repaint 3D windows
  37. in response to expose events when the back color buffer cannot be
  38. damaged by other windows.
  39. <x> and <y> indicates the lower-left corner of the region to copy and
  40. <width> and <height> indicate the size in pixels. Coordinate (0,0)
  41. corresponds to the lower-left pixel of the window, like glReadPixels.
  42. If dpy and drawable are the display and drawable for the calling
  43. thread's current context, glXCopySubBufferMESA performs an
  44. implicit glFlush before it returns. Subsequent OpenGL commands
  45. may be issued immediately after calling glXCopySubBufferMESA, but
  46. are not executed until the copy is completed.
  47. GLX Protocol
  48. None at this time. The extension is implemented in terms of ordinary
  49. Xlib protocol inside of Mesa.
  50. Errors
  51. None.
  52. New State
  53. None.
  54. Revision History
  55. 12 January 2009 Ian Romanick - Added language about implicit flush
  56. and command completion.
  57. 8 June 2000 Brian Paul - initial specification