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_pixmap_colormap.spec 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name
  2. MESA_pixmap_colormap
  3. Name Strings
  4. GLX_MESA_pixmap_colormap
  5. Contact
  6. Brian Paul (brian 'at' mesa3d.org)
  7. Status
  8. Shipping since Mesa 1.2.8 in May, 1996.
  9. Version
  10. Last Modified Date: 8 June 2000
  11. Number
  12. 216
  13. Dependencies
  14. OpenGL 1.0 or later is required.
  15. GLX 1.0 or later is required.
  16. Overview
  17. Since Mesa allows RGB rendering into drawables with PseudoColor,
  18. StaticColor, GrayScale and StaticGray visuals, Mesa needs a colormap
  19. in order to compute pixel values during rendering.
  20. The colormap associated with a window can be queried with normal
  21. Xlib functions but there is no colormap associated with pixmaps.
  22. The glXCreateGLXPixmapMESA function is an alternative to glXCreateGLXPixmap
  23. which allows specification of a colormap.
  24. IP Status
  25. Open-source; freely implementable.
  26. Issues
  27. None.
  28. New Procedures and Functions
  29. GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual,
  30. Pixmap pixmap, Colormap cmap );
  31. New Tokens
  32. None.
  33. Additions to Chapter 3 of the GLX 1.3 Specification (Functions and Errors)
  34. Add to section 3.4.2 Off Screen Rendering
  35. The Mesa implementation of GLX allows RGB rendering into X windows and
  36. pixmaps of any visual class, not just TrueColor or DirectColor. In order
  37. to compute pixel values from RGB values Mesa requires a colormap.
  38. The function
  39. GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual,
  40. Pixmap pixmap, Colormap cmap );
  41. allows one to create a GLXPixmap with a specific colormap. The image
  42. rendered into the pixmap may then be copied to a window (which uses the
  43. same colormap and visual) with the expected results.
  44. GLX Protocol
  45. None since this is a client-side extension.
  46. Errors
  47. None.
  48. New State
  49. None.
  50. Revision History
  51. 8 June 2000 - initial specification