I am blitting one offscreen context to an other (both 800x600x32) using PgContextBlit and PgSetChroma (color keying). Even though it works, I wonder about the fairly large amount of time that this operation consumes. It takes about 300 ms and the mouse pointer can’t be moved during this operation. Blitting w/o chroma keying is much faster (about 10ms).
I am evaluating QNX 6.2 and tried this with devg-rage.so and devg-ati_rage128.so.
The doc’s say chroma-keyed blitting is accelerated, but the capability flags (PgGetVideoModeInfo) say it’s not.
Since I use source color keying, I expected it as fast an normal blitting.
So the question is:
Is chroma-keying really accelerated for the rage and rage128 cards?
And by the way:
Is it possible the set a mask for the chroma color?
STN Atlas Marine Electronics GmbH
Dipl.-Ing. Peter Stoeckigt
Phone: +49 (421) 1784-1190
Fax: +49 421 457 2026