PocketMatrix forums

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

gd201.dll file size

grats on releasing v2 :)

i was happy :D to see all the features and fixes you have done, but not happy :twisted: to see the file size increase of gd201.dll of 324k for the arm vs. 112k for the arm for gd104.dll.

i only use the blitting portion of gapidraw, i have my own internal rendering functions and only do 1 blit from my final buffer to the gapidraw buffer at the end of my rendering loop (as in the plasma demo), i am using gapi draw for device compatibility.

is there an easy way to recompile gapidraw to be smaller in size? maybe by #defining out functions that i don't need? (such as font support), i am wondering why the file size increased so much?
The reason for the increase in file size is simple: PNG support (libpng and zlib)... Removing those two the file size could easily be down under 200kb again..

A "GapiDraw Lite" is planned that will do exactly what you suggests... Unfortunately I cannot give any release date on this.
By the way.. If you only use the blitting portion of GapiDraw there is really no reason to use GapiDraw 2.0. GapiDraw 1.0 is still supported, and 1.04b was released last week.

The full blit copy from back buffer to display is a simple memcpy and is equally as fast in GapiDraw 1.0 as in 2.0.

//Johan