PocketMatrix forums

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

Dirty Rectangles for GapiDraw

Hi.
I am developing a game that needs a dirty rectangles engine, but realized that it would not be an easy task to code my own under GapiDraw.
Since one of the main goals of dirty rectangles engines is to reduce the ammount of data to be transfered from the back buffer to the primary buffer, and GapiDraw does not offer extended support to the primary buffer (there are no blit() functions, for example), would anyone know if there is already a public domain dirty rectangles engines for GapiDraw?
GapiDraw does not support dirty rectangles simply because it does not work with all Pocket PC devices (e.g. on the e740 the double buffering is managed by hardware - and the current GAPI implementation does not support dirty rects) .. Sure, dirty rectangles could probably be added to devices that does not have hardware support for some speed improvements. But it would not mean a huge improvement in performance (<5ms for a full screen back buffer to display copy on the old ARM architecture)...