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

What does EFL_MANUALFLIP do?


What does EFL_MANUALFLIP do?

Postby eugraphics » Jan 31, 2008 @ 5:00am

When this is set, OnNextFrame() still gets called. Is there a way to never have OnNextFrame called and just do the Flip myself as needed? I can just call Flip() from anywhere correct?

Is there any harm to not implementing OnNextFrame()?
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby edge » Jan 31, 2008 @ 1:37pm

Hi,

You can use EFL_MANUALFLIP to prevent automatic flipping. If you don't want to use OnNextFrame, you can make the function empty (only return E_OK), or not implement it at all.

Flip can be called from everywhere as long as the display is opened and you're using the pointer from ecd.dsp or the parameter passed to OnNextFrame or OnDisplayInit. It's safe to store the display pointer in a global variable.
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