PocketMatrix forums

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

blitlets

helo,

i understand the EDGE 2.90 can now load the blitlet rotinnes i intend to use in my programme and unload the ones i don't need. hope you can give me a little insight how i could for example load only the colorkey blitlet. should i create a erdr_custom.h header file? what colour depths should i include for symbian ?

tank you!

petre.
Hi Petre,

You can create a custom blitlet preset by defining EDGERENDER_CUSTOM before including edgemain.h and include the custom preset header file once after including edgemain.h.

We recommend copying edge/include/edgerender/erdr_full.h to erdr_custom.h and remove the unnecessary routines.

Good luck and let us know what you think of this feature!
edge wrote:We recommend copying edge/include/edgerender/erdr_full.h to erdr_custom.h and remove the unnecessary routines.


helo,

i copyed the erdr_full.h. Why do i see the NULL entries in the list? i expected for the full preset all elements containing function entries.

i am doing some testings with the blitlets now, it looks realy promising! keep up the good work!

tank you!

petre.
Petre wrote:i copyed the erdr_full.h. Why do i see the NULL entries in the list? i expected for the full preset all elements containing function entries.


Hi Petre,

Not all filter combinations are useful and/or meaningful. For example a combination of both additive and subtractive blitting is meaningless and is transformed by Edge into a "normal" blitting operation. Also, a blitlet for doing a ColorFill without a ColorKey is pointless, so this combination is mapped internally to FillRect.

All meaningless combinations are mapped to NULL in erdr_full.h.

Hope this clarifies all :)
Yes, this clarifies everything! Tanks you again!

Petre.