Some benchmarking on graphics

From: Michael Peuser h <mpeuser_at_t-online.de>
Date: Sat, 22 Feb 2003 12:07:59 +0100
To: <prima_at_prima.eu.org>

Hi,

if anyone is interested in some benchmark results on using

- direct canvas draw
- buffered canvas draw
- using an Prima::Image as intermediate buffer (this generally is recommended for speed up redrawing for
  very complex drawings)
- using DeviceBitmap instead of Image

here is a small script.

Using Bitmaps instead of Images gave an breathtaking speed up from 3 to 22 fps (under Windows 2000)
Also buffered mode with direct canvas draw (which generally is already very fast) will again speed up things
considerable (in contrast to expectations of "buffering")
Last but not least: changing colors is SLOW.

I would be interested very much in UNIX results.

Kindly Mike


Received on Sat 22 Feb 2003 - 12:08:02 CET

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET