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