fzammetti: You can check this page for more info.
http://www.pegtop.net/delphi/blendmodes/ Currently, GapiDraw does not support these effects between surfaces, only a constant color are supported as blend color #2.
The ASM improvements will benefit your Axim as much as any other ARM device. Thanks for offering to help, but we already have several people on the test list, and plan to release the final version next week.
For all of you testing the GapiDraw 2.10 release candidate, here's what you need to change to make your current game work. Unfortunately the following changes were necessary to unify the API for the Symbian and Palm platforms.
(((1 - Files and paths)))
a. GapiApplication.cpp, GapiApplication.h, and GapiDrawNet.h were moved to the folder "include\win32". Please add this folder to the search path.
b. The DLL and LIB file folders were changed. The "PocketPC2000-ARM" folder is now called "PocketPC-ARM" (same goes for MIPS and SH3). This change was applied to both the DLL and the LIB folder. The folders "PocketPC2003-ARM" and "Smartphone2003-ARM" were removed since the core now contains ASM optimizations that no longer benefits from WM2003 optimization in the compiler.
(((3 - CMyApplication)))
a. Change ProcessNextFrame(CGapiSurface backbuffer, DWORD dwFags) to ProcessNextFrame(CGapiSurface* pBackBuffer, DWORD dwFlags). Do a local search/replace for "backbuffer." and replace with "pBackBuffer->".
b. Change CreateSurfaces(CGapiDisplay display, HINSTANCE hInstance) to CreateSysMemSurfaces(CGapiDisplay* pDisplay, HINSTANCE hInstance). Do a local search/replace for "display." and replace with "pDisplay->".
c. Change CreateVideoSurfaces(CGapiDisplay display, HINSTANCE hInstance) to CreateVidMemSurfaces(CGapiDisplay* pDisplay, HINSTANCE hInstance). Do a local search/replace for "display." and replace with "pDisplay->".
d. CGapiApplication m_display, m_input, m_timer were changed to pointers - m_pDisplay, m_pInput, m_pTimer. Do a global search/replace for myapplication.cpp.
e. config.bMinimizeOnLostFocus was removed and a new flag bRegainLostFocus was added which defaults to FALSE. If you want the old behaviour where GapiDraw always tries to recapture focus you should set config.bRegainLostFocus to TRUE.
f. CGapiApplication m_backbuffer was removed. Replace all calls to "m_backbuffer." to "m_pDisplay->GetBackBuffer()->".
The above changes are not that many, and will hopefully only affect the platform-dependent code in myapplication.cpp if you base your game on CGapiApplication.
Please do not distribute any games (in beta form or final releases) based on the release candidate you received yesterday. As soon as you get a current game working with the new 2.10 release, please send us an email at
gapidraw@viktoria.se.
Thanks for your time!