URGENT! Unable to create GL, EGL and CAMERA instances within same applet! | developer.brewmp.com URGENT! Unable to create GL, EGL and CAMERA instances within same applet! | developer.brewmp.com

Developer

URGENT! Unable to create GL, EGL and CAMERA instances within same applet!

Forums:

Hello ALL,
I've bumped into a really, really strange situation :-\

I am using QX engine and Camera in my application, everything looked fine until i tried to run ot on the device.

I'm using Toshiba w45t, it supports GL, no problem. QX Sample applications running without any problem.

Camera is also supported and working fine in other application.

But i've found that my application became crashing after addind ICamera interface to application which using GL.
(MIF files were updated with required classID).

Using ADS 1.2, armcc, elf2mod.
makefile based on QXMeshBuddy.mak,
-CPU was set to ARM7TDMI.

SO, i've started experimenting.

Made sample app wich only creates instances of
AEECLSID_EGL, AEECLSID_GL and AEECLSID_CAMERA.

And here is results:
if i creating only AEECLSID_CAMERA - no problem,

if i creating only AEECLSID_EGL and AEECLSID_GL - no problem,

if i creating AEECLSID_EGL, AEECLSID_GL and then AEECLSID_CAMERA -
AEECLSID_EGL, AEECLSID_GL are created, AEECLSID_CAMERA - not.

if i creating AEECLSID_CAMERA and then AEECLSID_EGL and AEECLSID_GL -
nothing is created. And application closes in a starnage way after analing log
(i dont know maybe is DBGPRINTF is asyncronous and that is why not all measseg reach the console..)

frankly, i'm in a blank despair :-(
seems i should have chosen other 3d engine.

if anybody has an ideas about how to fix this,
i would so much appreciate!!!

Its possible they both require the same parts of the hardware/DSP and can't share it.
you can change the dbgprintf async/sync with one of the debug commands, not sure what it is on that phone.

Its possible they both require the same parts of the hardware/DSP and can't share it.
you can change the dbgprintf async/sync with one of the debug commands, not sure what it is on that phone.

This is a hardware limit of the 6k platforms. The OpenGL-ES driver uses the DSP and on these platforms the only concurrency supported is with ADPCM and MIDI audio when the GL interfaces are enabled.
You can use the ICamera interfaces only if you bring down the GL ones first. Since QX Engine just calls down into OpenGL-ES the same restrictions apply to games based on its APIs on 6k platforms.
The 7k series removes this hardware restriction.
- Baback

This is a hardware limit of the 6k platforms. The OpenGL-ES driver uses the DSP and on these platforms the only concurrency supported is with ADPCM and MIDI audio when the GL interfaces are enabled.
You can use the ICamera interfaces only if you bring down the GL ones first. Since QX Engine just calls down into OpenGL-ES the same restrictions apply to games based on its APIs on 6k platforms.
The 7k series removes this hardware restriction.
- Baback

THANKS A LOT !!!!
now everything is clear!
unfortunally i couldn get any specs for 6500 and 7500 chipsets, just diagrams and promos.
btw. is any hardware with 7500 available?

THANKS A LOT !!!!
now everything is clear!
unfortunally i couldn get any specs for 6500 and 7500 chipsets, just diagrams and promos.
btw. is any hardware with 7500 available?

Some 7k devices are due to come out next year.

Some 7k devices are due to come out next year.