Can't disable and re-enable MULTISAMPLE mode

New Message Reply Date view Thread view Subject view Author view

Laurent Ach (ach++at++anna.reality)
Thu, 27 Jun 1996 19:35:00 -0600


Hello,

I called glDisable(GL_MULTISAMPLE_SGIS) in the draw process in a Performer 2.0
/ OpenGL application on a RE2, in order to draw faster a background image using
glDrawPixels. Then glDrawPixels is much faster but if I try to call
glEnable(GL_MULTISAMPLE_SGIS) after glDrawPixels the application becomes
surprisingly slow.

The test can be done with the example program complex.C (in
/usr/share/Performer/src/lib/libpf/C++) by including the lines
glDisable(GL_MULTISAMPLE_SGIS) and glEnable(GL_MULTISAMPLE_SGIS) at the
begining of the DrawChannel Callback. Running on a RE2, the program is then
about 20 times slower, while whithout the glEnable call it is OK.

Does somebody know how to explain this. Thanks in advance

-- 
Laurent Ach
SYSECA
tel :  33.1/41.48.06.60
fax : 33.1/41.48.06.60
email : ach++at++syseca.fr
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer.html
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:05 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.