glGetString returns NULL on Satio

On Sony-Ericsson Satio glGetString returns NULL for GL_EXTENSIONS, GL_VENDOR and GL_VERSION. I have not tried GL_RENDERER. That’s especially annoying for the extensions.

Do I need to initialize something before calling glGetString?

Ok it works much better after OpenGL was initialized. Not sure what’s exactly needed though but fetching the strings after creation of the EGL display, context and surface works.

However it seems GL_EXTENSIONS returns an empty string. Am I getting that right? No extensions are supported on Satio?

Ok my bad one more time! I was getting that wrong. Satio does support a few extensions.

In fact here are the GL strings for Satio:

OpenGL Vendor:
Imagination Technologies

OpenGL Version:
OpenGL ES 2.0

OpenGL Renderer:
PowerVR SGX 530

OpenGL Extensions:
GL_OES_rgb8_rgba8
GL_OES_depth24
GL_OES_vertex_half_float
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_element_index_uint
GL_OES_mapbuffer
GL_OES_fragment_precision_high
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_EGL_image
GL_OES_required_internalformat
GL_OES_depth_texture
GL_OES_get_program_binary
GL_OES_standard_derivatives
GL_EXT_multi_draw_arrays
GL_EXT_texture_format_BGRA8888
GL_IMG_shader_binary
GL_IMG_texture_compression_pvrtc
GL_IMG_texture_stream2
GL_IMG_texture_npot
GL_IMG_texture_format_BGRA8888
GL_IMG_read_format
GL_IMG_program_binary

I published some more GL strings there.