This site is no longer active and is available for archival purposes only. Registration and login is disabled.

WM 5.0 CreateSurface return out of memory


WM 5.0 CreateSurface return out of memory

Postby eugraphics » Aug 27, 2009 @ 10:00pm

If i build with the ppc2003 libraries, I can run fine on any device, however if i build with the WM 5.0 libraries (sp or ppc) i get out of memory errors the first time i try to createSurface.

I do need to build with WM 5.0 libraries.

Also works fine on win32 and I know for sure I'm not really out of memory.

Any ideas?
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby eugraphics » Aug 28, 2009 @ 1:38am

I think this problem is only seen on hi resolution devices. It just cant create surfaces. However the gapidraw samples seems to work ok. And I'm not using any of the quarter size stuff. And of course my app worked great with GD 3.6

hmmm...I should investigate more but if you have any ideas, i would be happy to hear them.

Thanks again!
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby Johan » Sep 10, 2009 @ 4:01pm

Hello!

Very odd. Do you use any flags to CreateSurface, or is it just CreateSurface(NULL, ...)?

Do the samples shipped with 4.2 work properly on your device?

Sincerely
Johan
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron