Joaquin Casillas Melendez (jcasilla++at++glup.eleinf.uv.es)
Tue, 9 Sep 1997 18:35:13 -0700 (PDT)
I need to change the window framebuffer configuration in my pf
application at execution time. The goal is to have a 'normal' framebuffer
configuration with 4 samples, 1 bit stencil, etc, and also have a
configuration for doing stereo drawing, so I'll need 1 bit for stereo.
Well, the question is if there is any way to change this framebuffer
configuration when I switch between mono and stereo modes. I have proved
this in my app (in the draw process), without success:
if(StereoMode) {
...
pfPWinFBConfigId(pw, 0x60); /* RGBA, db, stereo, Z 31, S1 */
pfConfigPWin(pw);
...
}
else
...
pfPWinFBConfigId(pw, 0x70); /* RGBA, db, Z 16, samples 4 */
pfConfigPWin(pw);
...
}
I would be very gratefull if someone could help me to solve this problem.
Tahnk you.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Joaquin Casillas | email: jcasilla++at++glup.eleinf.uv.es _/
_/ ARTEC (LISITT) | _/
_/ Dept. Electr. & Informat. | Phone: +34 6 360 4484 Fax: +34 6 361 6198 _/
_/ University of Valencia | Address: Hugo de Moncada 4. 46010 Val.(SPAIN)_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:54 PDT