PDA

View Full Version : Offscreen with DelphiX



Boris
13-04-2004, 05:53 PM
Does it help my fps with DelphiX when I draw all my things to a virtual bitmap and when done draw it to the Dxdraw surface?

Probably about 40% I draw is drawwed on pixels allready drawwed before to on my surface.

It used to save alot with GDI, so I wonder if it is worth recoding my rendering on Dxdraw.

thx in advance

TheLion
13-04-2004, 06:07 PM
DelphiX has double buffering (offscreen drawing) build in if I'm correct, I'm not sure if it's turned on by default, I know you can turn it on by using:

DXDraw1.DoubleBuffered := True