I’ve successfully used PVRFrame libraries on MinGW32 as GLES emulator. After switching to MinGW64 to get full c++11 standard support II’ve downloaded and integrated the latest PVRFrame GLES2 x64 libraries to my MinGW64 environment. I could compile my GLES2 sources without any failure. But on runtime my application crashes if I try to crate a VBO:
[Fri May 17 11:09:15 2013]: OpenGLES2.0 demo v1.0
[Fri May 17 11:09:15 2013]: EGL version: 1.3
[Fri May 17 11:09:15 2013]: Driver vendor: Imagination Technologies (Host: (null))
[Fri May 17 11:09:15 2013]: OpenGL version: OpenGL ES 2.0 (Host: (null))
[Fri May 17 11:09:15 2013]: Graphics card : PVRVFrame 9.4 - Host (OpenGL) (Host: (null)) (SDK Build: 3.0@2224087)
[Fri May 17 11:09:15 2013]: Supported OpenGL ES extensions :
-GL_OES_byte_coordinates
-GL_OES_fixed_point
-GL_OES_query_matrix
-GL_OES_single_precision
-GL_OES_matrix_get
-GL_OES_read_format
-GL_IMG_read_format
-GL_OES_point_sprite
-GL_OES_query_matrix
-GL_OES_texture_env_crossbar
-GL_OES_texture_mirrored_repeat
-GL_OES_blend_subtract
-GL_OES_blend_func_separate
-GL_OES_blend_equation_separate
-GL_OES_stencil_wrap
-GL_OES_extended_matrix_palette
-GL_OES_compressed_ETC1_RGB8_texture
-GL_OES_compressed_paletted_texture
-GL_OES_depth_texture
-GL_OES_required_internalformat
-GL_EXT_discard_framebuffer
-GL_OES_texture_cube_map
-GL_OES_fragment_precision_high
-GL_OES_element_index_uint
-GL_IMG_texture_compression_pvrtc
-GL_OES_mapbuffer
-GL_EXT_multi_draw_arrays
-GL_OES_standard_drivatives
[Fri May 17 11:09:15 2013]: EGL window created.
[Fri May 17 11:09:15 2013]: EGL windows surface created.
[Fri May 17 11:09:15 2013]: EGL render context created.
I simple call:
GLuint vertexbuffer;
glGenBuffers (1, &vertexbuffer);
As you can see, the OpenGLES2 environment is set up correctly. I could check the GLES2 extensions and successfully initialize and create the required EGL objects (Display, Window, RenderContext). But if I call a standard OpenGL Extensions, this call fails (same also on GLSL shader object creation). My GLES2 sources are correctly, I use the same sources on Android ADT platform, without any issue.
Is it possible to use this great PVR emulator on MinGW64?
Best regards,
Hellhound