Re: running REALLY SLOW when OVERRIDING Anti-Aliasing OFF on sub-tree

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Fri, 2 Feb 96 16:33:45 PST


>
>
> Wow! This is strange - I have this piece of code in a predraw
> call back and when I use it to disable AA my draw process takes
> 10 times longer (or more) than usual. Any ideas? I'm running on RE2
> w/ Performer 1.2++
>
> ....
>
> long mask = 0;
> // Collect override bits in mask
> if(over->aa != -1) {
> pfAntialias((over->aa)?PFAA_ON:PFAA_OFF);
> mask |= PFSTATE_ANTIALIAS;
> }
> ....
>
> pfOverride(mask, PF_ON);
>
> return PFTRAV_CONT;
> }
>
> Any ideas? I'm stumped.
>
>

        pfAntialias() configures multisample buffers when available so
when toggling you are destroying/creating new visuals.


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:52:21 PDT

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