05-06-2010 01:36 PM
Has anyone managed to get OpenGL to work on a Curve? The simulator says there is OGL support and all the EGL functions return without errors but I can't get a EGLConfig. I also tried letting it choose a config and got nothing.
BlackBerry_Simulators_5.0.0.395_8530.exe
BlackBerry_Simulators_5.0.0.508_8530-Verizon.exe
Debug.Println( "EGL Vendor: " + m_EGL.eglQueryString( m_Display, EGL10.EGL_VENDOR ) );
Debug.Println( "EGL Version: " + m_EGL.eglQueryString( m_Display, EGL10.EGL_VERSION ) );
Debug.Println( "EGL Extensions: " + m_EGL.eglQueryString( m_Display, EGL10.EGL_EXTENSIONS ) );
// Determine the number of available configurations
int[] numConfig = new int[1];
EGLConfig[] allConfigs = new EGLConfig[10];
if ( m_EGL.eglGetConfigs( m_Display, allConfigs, allConfigs.length, numConfig ) == false )
Assert.RIP( "eglGetConfigs: " + getEGLError() );
Debug.Println("There are " + numConfig[0] + " configurations");
for( int index = 0; index < numConfig[0]; ++index )
{
Debug.Println( "EGL Config: " + index );
dumpConfig( allConfigs[index] );
}
05-06-2010 02:29 PM - edited 05-06-2010 03:44 PM
I know you said the simulator says that OpenGL is supported but the actual device does not.
The only devices that support OpenGL is: 9520, 9550, and 9650 (the new Bold).
EDIT: COrrection: phones with OpenGL support are 9520/9550 (Storm2), 9650 (the new Bold), and 8530.
05-06-2010 02:44 PM
I am pretty sure the 8530 supports it. The ski and bowling game say they are supported. A few users seem to think it supports OpenGL as they have asked me to port my game Tank Recon 3D.
Wikipedia says it dones and that is almost as good as hearing about it on TV.
http://en.wikipedia.org/wiki/OpenGL_ES
05-06-2010 03:39 PM
I stand corrected, I can't find a list of which phones support OpenGL so went off what I know/heard. Sorry, in that case I have no clue.