PocketMatrix forums

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

GapiDraw 2.10 testers wanted

We will very soon release the final GapiDraw 2.10 for Symbian. We have done extensive internal testing, but we would be interested in having someone to test it externally as well.

What do you need to participate?

(1) You need a UIQ or Series 60 device (including the N-Gage).
(2) You need to have lots of time to test the release. We are especially interested in full time developers that have already begun or are working on a Symbian release using GapiDraw.

If you fulfill these requirements, please drop us a note at gapidraw@viktoria.se
I might add that we also are looking for Pocket PC developers that want to give the new release a try before it's released.. As for Pocket PC developers we are especially looking for ones that have large, complex games and might consider moving them over to 2.10 due to the performance improvements of BltFast. Also, users that want to test the xp-unicode build are very welcome.

Here's the version history of GapiDraw 2.10:

GapiDraw 2.10 [2003-12-09]
--------------------------

SDK additions:
-Symbian support! You can now use GapiDraw to create applications for Symbian devices!
-New unicode DLL for Windows 2000/XP. It is now possible to create unicode applications on stationary PCs.
-GapiDraw can now be used to create non-fullscreen applications on Pocket PCs! Use the new GapiDisplay::CreateOffscreenDisplay to create a HDC compatible backbuffer. Check out the new GDIDemo sample application for details!
-New functions CGapiSurface::CreateSurface(CGapiSurface* pSrcSurface) and CGapiRGBASurface::CreateSurface(CGapiRGBASurface* pSrcSurface) to simplify surface copying.
-New object: CGapiDraw. On the Symbian platform this object must be the FIRST to be created from the GapiDraw library, and also the LAST GapiDraw object to be deleted. On other platforms it is not necessary to create a CGapiDraw instance.
-New blit effects: GDBLTFASTFX_SCREEN and GDBLTFASTFX_OVERLAY.

SDK improvements:
-Parts of BltFast were rewritten in ARM assembler, resulting in a 5-8% performance improvement when no blend effects are used.
-Grayscale PNG images are now supported by the PNG importer.
-GapiDraw is now compatible with DirectDraw 5.0 or later (Windows 98 and up). Previously DirectDraw 7.0 was required.

SDK changes:
-Important: The syntax for the functions "ProcessNextFrame", "CreateSurfaces", and "CreateVideoSurfaces" was changed. You must update your subclass of CGapiApplication to reflect these changes, otherwise your application will not work with the new release!
-CGapiApplication::CreateSurfaces was renamed to CreateSysMemSurfaces.
-CGapiApplication::CreateVideoSurfaces was renamed to CreateVidMemSurfaces.
-CGapiApplication::ProcessNextFrame was changed to pass a CGapiSurface pointer instead of a CGapiSurface reference.
-CGapiApplication member variables m_display, m_input, m_timer was changed to pointers for Symbian compatibility.
-The CGapiApplication configuration parameter bMinimizeOnLostFocus was renamed to bRegainLostFocus and defaults to FALSE.
-"HRESULT CGapiDisplay::GetBackBuffer(CGapiSurface& surface)" was changed. The function call is now "CGapiSurface* CGapiDisplay::GetBackBuffer()".
-CGapiInput does no longer lock the keys in the constructor. You now manually need to lock the keys by calling CGapiInput::OpenInput (this is automatically done by CGapiApplication if you use it).
-The optimized versions for Smartphone2003 and WM2003 were removed. Internal ARM assembler improvements to the GapiDraw core has made the WM2003 optimized versions obsolete.

Bug Fixes:
-The multithreaded version of GapiApplication (CGapiApplicationMT) would previously crash on Smartphone 2003 devices due to a threading bug in the file "gx.dll" shipped with all phones. The issue has been solved using a work-around.

Edit: Updated the version history....
Johan wrote:
I might add that we also are looking for Pocket PC developers that want to give the new release a try before it's released.. As for Pocket PC developers we are especially looking for ones that have large, complex games and might consider moving them over to 2.10 due to the performance improvements of BltFast.


Heh, that sounds like its directed at me! Warlords II is probably one of the most monstrous pieces of code put on the Pocket PC. :wink:

Sign me up. :)
Thanks Garry! :) We should have it ready by tomorrow..
Does X-Fighter qualify for this testing? Will there be a major code changes using GD2.10 ? As of this moment I'm using Hekkus.

Thanks.
Looks like there will be tons of changes on my games as well. :) But count me in Johan! I'd be glad to do some tests for you. :)
Sadly I won't have time to test until a week or two from now. But if we are still testing, I can try it with my arbitrary pinball-style engine. It basically performs a full background blit, then a few potentially rotated blits on top of it for the game entities.
Twelvegames · 09 Dec 2003, 18:42 UTC
Capoeira Fighters II wait for you. ;)

We are availble.
I'd be willing to move K&G; Arcade to 2.10. It's still under development, but it is already rather large and fairly complex I think.

The improvement in BltFast alone might make it worth it to me, if that improvement is realized on MediaQ devices like my Axim... Might solidify my frame rate a bit.

Johan, what do the two new blit effects do? I can't gleen their meaning from their names alone (although I could guess what GDBLTFASTFX_OVERLAY...)
Twelvegames · 10 Dec 2003, 07:37 UTC
Exscuse me...and where is the Palm version you promised for 2.10?

Do you have an approximated release date?

We support Zodiac,and if you need some test here we are.

Thanks GapiDraw!
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!
Twelvegames: We are actively working on the Palm release, unfortunately it involved quite a bit more work than expected. The next release of GapiDraw will be 2.10 for Palm, but unfortunately I cannot give an estimated release date yet. We are hoping to have a beta release by the end of this year.
anxiously awaiting 2.10 so I can add png and alpha blending to my non-fullscreen app :)

I'm getting nowhere fast trying to implement libpng on my own unfortunately :(

Just out of curiosity, Johan, do you use libpng in GapiDraw ?
yuit: Yes, GapiDraw uses both libpng and zlib. It can be quite tricky to get all the flags right for the png decoder, especially if you want to decode one row at the time using a callback function.
Hi all,

I just wanted to know if anyone of you who tested the release candidate of GapiDraw 2.10 need the final release before Christmas.

We discussed the release date, and PR-wise it is quite hard to get recognized by the press if we release it early next week.

So.. The final version is ready, but we would like to delay the official release until January 12. Please let me know if anyone of you testers need the final 2.10 release before that because you made your game work with the 2.10 RC and need to release your game before that date.

Thanks all for helping out and have a really nice Christmas + a happy new year! I'll be online 24/7 as usual so keep posting if you experience any issues with the RC.

Sincerely
Johan
I'd like to try the release version please. :) Thanks Johan!
i like to test non-fullscreen on my vector gps navigation system.

Thanks.