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

Sample app Edge Saver slow on iPhone device


Sample app Edge Saver slow on iPhone device

Postby Tonegolf71 » Feb 3, 2009 @ 4:06pm

Hi,

I've tried running my application on an iPhone itself and ran into some issues, so I thought it best to try and run one of the sample applications on the iPhone first as that code cannot be incorrect.

I was quite surprised at the performance, the animation was running very slowly. I tried resetting the device, and building both the debug and release versions with no effect.

Is there a chance I've done something wrong?
"I'm not normally a religious man, but if you're up there, 'Save Me' Superman!"
Tonegolf71
pm Member
 
Posts: 14
Joined: Jun 18, 2003 @ 5:03pm
Location: Warrington, UK


Postby edge » Feb 4, 2009 @ 10:20am

Hi Tonegolf,

There is nothing wrong. The problem is that applications not using OpenGL are slow, because refreshing the display takes longer in comparison with other devices.

The best option for fast applications is to enable OpenGL and use the display functions when drawing 2D.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Re: Sample app Edge Saver slow on iPhone device

Postby totoch » Sep 25, 2010 @ 5:37am

Sorry for the "noob" question Edge, but what do you mean by "using the Display functions" ?
Functions such as Blt and BltFast that can, from what I heard, be used through OpenGL ?
Thanks.
totoch
pm Member
 
Posts: 20
Joined: Sep 20, 2009 @ 10:27pm


Re: Sample app Edge Saver slow on iPhone device

Postby edge » Sep 28, 2010 @ 7:10pm

totoch wrote:Sorry for the "noob" question Edge, but what do you mean by "using the Display functions" ?
Functions such as Blt and BltFast that can, from what I heard, be used through OpenGL ?
Thanks.


Yes, when OpenGL is enabled, display calls such as Blt and BltFast will be handled through OpenGL, make sure the texture is uploaded before using those.

More details on the following page (see headings "Uploading and binding textures" and "Mixing 3D/2D"):
http://www.edgelib.com/index.php?node=1097

Wouter
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

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