Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:EglInitialize does not set up control environment on some S60 3rd Edition PF1 devices (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): Nokia N93, Nokia N93i, Nokia N95, Nokia E90 Communicator
Compatibility
Platform(s): S60 3rd Edition (initial release), FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (30 Aug 2007)
Last edited: hamishwillee (19 Jun 2012)

Description

The eglInitialize function does not automatically set up control environment (CCoeEnv) on devices that support hardware-accelerated 3D graphics. This only affects applications that use OpenGL ES outside the application framework, for example Open C applications that do not implement a standard S60 UI.

How to reproduce

When trying to run the opencopenglex example on the above devices, the application fails with -6006 error.
The example is included in the Open C SDK Plug-In.

Solution

Construct (and destroy) the control environment manually if needed.

CCoeEnv* coeEnv = CCoeEnv::Static();
if( !coeEnv )
{
coeEnv = new ( ELeave ) CCoeEnv();
coeEnv->ConstructL( ETrue, 0 );
}
This page was last modified on 19 June 2012, at 00:44.
34 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×