View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#6
Originally Posted by shmerl View Post
OK, scummvm got built against libSDL 1.2, and apparently one needs to disable OpenGL there explicitly. In theory it might use GLES, but scummvm doesn't work with libSDL 2.0 yet, and that's what is needed for using the GLES option.

I'll see how this works with Plasma Active (but that will have to wait until some bug fixes, since current devel image on Nexus 7 is in unusable condition and that's what I have now to test Mer builds on).
You should be able to repurpose the SDL 1.2 port to Harmattan (which includes patched-in OpenGL ES support, which adds OpenGL ES support (although the code might be SGX-specific): https://github.com/harmattan/harmattan-sdl

An example how this is used (use SDL_OPENGLES instead of SDL_OPENGL, etc..) can be found in the Brain Party Harmattan port: https://github.com/harmattan/brainpa...aster/main.cpp

Be sure to pick the right GLES version (1 or 2) using SDL_GL_SetAttribute() with SDL_GL_CONTEXT_MAJOR_VERSION.
 

The Following 3 Users Say Thank You to thp For This Useful Post: