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.

pbuffers.html 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <HTML>
  2. <TITLE>PBuffer Rendering</TITLE>
  3. <BODY text="#000000" bgcolor="#55bbff" link="#111188">
  4. <H1>PBuffer Rendering</H1>
  5. <p>
  6. Basically, FBconfigs and PBuffers allow you to do off-screen rendering
  7. with OpenGL. The OSMesa interface does basically the same thing, but
  8. fbconfigs and pbuffers are supported by more vendors.
  9. </p>
  10. <p>
  11. PBuffers are getting more use nowadays, though they've actually been
  12. around for a long time on IRIX systems and other workstations.
  13. </p>
  14. <p>
  15. The
  16. <a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fbconfig.txt"
  17. target="_parent">GL_SGIX_fbconfig</a>
  18. and
  19. <a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/pbuffer.txt"
  20. target="_parent">
  21. GL_SGIX_pbuffer</a> extensions describe the functionality.
  22. More recently, these extensions have been promoted to ARB extensions (on
  23. Windows at least).
  24. </p>
  25. <p>
  26. The Mesa/progs/xdemos/ directory has some useful code for working
  27. with pbuffers:
  28. </p>
  29. <ul>
  30. <li><b>pbinfo.c</b> - like glxinfo, it prints a list of available
  31. fbconfigs and whether each supports pbuffers.
  32. <li><b>pbutil.c</b> - a few utility functions for dealing with
  33. fbconfigs and pbuffers.
  34. <li><b>pbdemo.c</b> - a demonstration of off-screen rendering with pbuffers.
  35. </ul>
  36. <p>
  37. Mesa 4.1 and later support GL_SGIX_fbconfig and GL_SGIX_pbuffer (software
  38. rendering only).
  39. </p>
  40. </BODY>
  41. </HTML>