OpenGL ES Samples Crash on BREW Emulator | developer.brewmp.com OpenGL ES Samples Crash on BREW Emulator | developer.brewmp.com

Developer

OpenGL ES Samples Crash on BREW Emulator

Forums:

Hi all,

I tried OpenGL ES Samples from BREW website using the BREW emulator in BREW SDK 3.1.4, they all crashed at the following line in GL.c:

GL_API EGLBoolean GL_APIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
{
>>> return(IEGL_eglMakeCurrent(GPIEGL,dpy,draw,read,ctx));

Can anybody give me any clue how to solve it? I am using Visual C++ .NET 2003 Pro, BREW SDK v3.1.4 with OpenGL ES extension 1.0.2.

Thanks very much.

Flying Bag

Hi
Add Gl.c with your source file of your workspace....and recheck where you kept gl.c file in your dir structure ...is it correct as per openGl extensions............
Enjoy!

Hi
Add Gl.c with your source file of your workspace....and recheck where you kept gl.c file in your dir structure ...is it correct as per openGl extensions............
Enjoy!

I am getting the same behavior as Flying Bag and the only difference (as far as I can tell) is the SDK version. The app worked fine in 3.0.3...
Is there a new OpenGLESExtension.dll for 3.1.4?
Maybe Qualcomm needs to make the old SDKs easier to install...
-Gamadad
---------------------------
Winners Need Losers

I am getting the same behavior as Flying Bag and the only difference (as far as I can tell) is the SDK version. The app worked fine in 3.0.3...
Is there a new OpenGLESExtension.dll for 3.1.4?
Maybe Qualcomm needs to make the old SDKs easier to install...
-Gamadad
---------------------------
Winners Need Losers

hi
There is no other opengles Extention for sdk 3.X . .....Same extension will work for above v2.1....... what i faced that i told in my privous post of crash .......if u didn't change in sample code .
Enjoy!

hi
There is no other opengles Extention for sdk 3.X . .....Same extension will work for above v2.1....... what i faced that i told in my privous post of crash .......if u didn't change in sample code .
Enjoy!

I had similar problem in SDK version 3.1.4. :mad:
Cheers,
Calvin

I had similar problem in SDK version 3.1.4. :mad:
Cheers,
Calvin

Hi all,
QUALCOMM has addressed this issue with a new version of the OpenGL ES simulator extension available on the extranet:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/devmisc
Sean

Hi all,
QUALCOMM has addressed this issue with a new version of the OpenGL ES simulator extension available on the extranet:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/devmisc
Sean

Hi All,
I've been able to run the ogles_demo_0x applications using Qualcomms Device Pack 1, but no graphics show when using the LG-VX9800 device. I'm using BREW 3.1.3 and OpenGL ES 1.0.3. The programs I tested show the menu options, but no graphics. I've checked through the Microsoft debugger that events are generated and handled, and the rendering code is invoked - but no graphics are drawn.
Has anyone been able to run OpenGL apps on the VX-9800?
Thanks,
Kurt Reindel
3D Digital Desktop

Hi All,
I've been able to run the ogles_demo_0x applications using Qualcomms Device Pack 1, but no graphics show when using the LG-VX9800 device. I'm using BREW 3.1.3 and OpenGL ES 1.0.3. The programs I tested show the menu options, but no graphics. I've checked through the Microsoft debugger that events are generated and handled, and the rendering code is invoked - but no graphics are drawn.
Has anyone been able to run OpenGL apps on the VX-9800?
Thanks,
Kurt Reindel
3D Digital Desktop

I can't find the old OpenGL ES extension (1.0.2) anywhere, is there any place where to download 1.0.2 extension?
If I try to replace the 1.0.3 extension with the one from Hybrid it crashes as soon as I try to invoke the egl functions, it seems like the jmp table is messed up or something. Anyone with a clue what’s going on?
Thanks in advance

I can't find the old OpenGL ES extension (1.0.2) anywhere, is there any place where to download 1.0.2 extension?
If I try to replace the 1.0.3 extension with the one from Hybrid it crashes as soon as I try to invoke the egl functions, it seems like the jmp table is messed up or something. Anyone with a clue what’s going on?
Thanks in advance

Hi All,
Make sure that u are using class id's specified by hybrid for creating instance of GL & EGL when using Hybrid Extension.
// For Qualcomm's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_GL, (void **)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_EGL, (void **)&m_pIEGL);
// For Hybrid's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_GLES,(void**)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_EGL, (void**)&m_pIEGL);

Hi All,
Make sure that u are using class id's specified by hybrid for creating instance of GL & EGL when using Hybrid Extension.
// For Qualcomm's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_GL, (void **)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_EGL, (void **)&m_pIEGL);
// For Hybrid's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_GLES,(void**)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_EGL, (void**)&m_pIEGL);

Hi All,
Make sure that u are using class id's specified by hybrid for creating instance of GL & EGL when using Hybrid Extension.
// For Qualcomm's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_GL, (void **)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_EGL, (void **)&m_pIEGL);
// For Hybrid's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_GLES,(void**)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_EGL, (void**)&m_pIEGL);

Hi All,
Make sure that u are using class id's specified by hybrid for creating instance of GL & EGL when using Hybrid Extension.
// For Qualcomm's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_GL, (void **)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_EGL, (void **)&m_pIEGL);
// For Hybrid's Open GL ES
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_GLES,(void**)&m_pIGL);
ISHELL_CreateInstance(m_applet.m_pIShell, AEECLSID_HYBRID_EGL, (void**)&m_pIEGL);

Hi,
Please check the Instance creation for GL and EGL,if it fails please check opengl dll is there in the bin/modules or not,if you kept that dll under bin/ please keep it under the folder bin/modules/
Then check.
Thanks,
Muthukumaran.S

Hi,
Please check the Instance creation for GL and EGL,if it fails please check opengl dll is there in the bin/modules or not,if you kept that dll under bin/ please keep it under the folder bin/modules/
Then check.
Thanks,
Muthukumaran.S

Ok I got the same problem, I tested all the possibilities here's what i got:
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 2.x = failure
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 3.x = failure
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 2.x = see nothing
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 3.x = WORKING
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 2.x = failure
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 3.x = can't use skin
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 2.x = failure
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 3.x = can't use skin
Those tests were done using
- Microsoft Visual C++ .NET 69586-335-0000007-18034 v7.1.3088 framework 1.1
- Windows XP sp1 Pentium 4 3.0GHz

Ok I got the same problem, I tested all the possibilities here's what i got:
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 2.x = failure
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 3.x = failure
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 2.x = see nothing
Brew SDK 3.1.4 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 3.x = WORKING
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 2.x = failure
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 2.x + Skin (device) 3.x = can't use skin
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 2.x = failure
Brew SDK 2.1.3 + OpenGLESExtension.dll for Brew 3.x + Skin (device) 3.x = can't use skin
Those tests were done using
- Microsoft Visual C++ .NET 69586-335-0000007-18034 v7.1.3088 framework 1.1
- Windows XP sp1 Pentium 4 3.0GHz