PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw 2.04 released!

<a href="http://www.gapidraw.com">GapiDraw</a> - The Graphics SDK for Stationary PCs, Smartphones and Handheld Computers was released today in a new version!

GapiDraw 2.04 improves visual quality in rotated and clipped stretched blits. It is now possible to use the generic rotation in GapiDraw for pixel-perfect 90, 180, and 270 degree rotations!

Read more at http://www.gapidraw.com
linmias · 22 Jul 2003, 14:40 UTC — I am impressed
by the speed you r fixing things.

Good Job!
Is there any difference from 2.03 other than bug fixes. You slipped a couple of changes into 2.03 which required changes at my end :-(. Nothing major thou.

If you have changed any flag values etc, I will need to modify gd.net

Sean
Mr X: GD 2.04 has no changes from 2.03. Sorry for the change of flags & structs in 2.03, but the new format is really much better and will allow some really cool real-time effects in future releases.
What are you doing to me Johan!!!

Hehe, I am very suprised at how fast the updates come out, now that I have started a new project I keep updating to the new version :).

Luckily you have made it VERY easy to upgrade. Thank you.

Downloading now...
mlepage · 01 Aug 2003, 20:57 UTC — Clipping performance
I just upgraded my project from 2.01b to 2.04.

I took the opportunity to switch from my custom line clipping (merely an implementation of the Cohen-Sutherland line clipping algorithm documented in Foley's book Computer Graphics) vs. the new built-in line clipping.

I measured the performance of the custom vs. built-in line clipping using 2.04, and found the built-in line clipping to be slightly slower.

On a debug PC build running on a Dell Latitude 400MHz notebook, frames slowed slightly from 11.7ms to 11.8ms.

On a release PPC build running on an iPAQ 3970, frames slowed slightly from 21.46ms to 22.0ms.

So the performance difference is slight but measurable.
mlepage: Unfortunately I had to add a bit of overhead to 2.04 to make clipping work - adding a bit of extra stuff to each function call. Fortunately it was not that much of overhead though...