maemo.org Bugzilla – Full Text Bug Listing |
Summary: | SDL needs to be compiled with --enable-video-opengl option | ||
---|---|---|---|
Product: | [Maemo Official Platform] Development platform | Reporter: | Jayesh Salvi <jayesh> |
Component: | Tools | Assignee: | integration |
Status: | REOPENED | QA Contact: | sdk-tools-bugs |
Severity: | normal | ||
Priority: | Low | CC: | andre_klapper, eero.tamminen, jayesh, kate.alhola, maemo, maemo, michel, mvartiainen, quim.gil |
Version: | 5.0-final | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gossamer-threads.com/lists/maemo/developers/44229 | ||
Attachments: | NEEDS TESTING: libsdl with --enable-video-opengl |
> It worked for me in scratchbox few months back, because it has /usr/lib/libGL* > libraries. > > I looked for PyOpenGL support for OpenGL ES - but didn't find anything > concrete. The only supported library found is from the PyS60 project > (http://pys60.garage.maemo.org/doc/s60/module-gles.html). > > I doubt that EGL provides the same API as GL. So even if python bindings are > found for EGL, they won't work out-of-the-box with existing code that is > written for GL (code like FoF). But I might be wrong. That's little bit more complicated, there is no single OpenGL-API but there is OpenGL 1.0, 1.1, 2.0 .. 3.0 etc. OpenGL used to be compatible with older versions and introduced only new API's but now in OpenGL 3.x some legacy API's are dropped. OpenGL-ES is not API compatible at all. OpenGL-ES 1.x has OpenGL 1-x style fixed function pipeline but lot of redundant API's are removed. OpenGL-ES 2.x is completelyt other spiece of animal, it implements only programable function pipeline and does not support OpenGL(ES) 1.x style fixed function API at all. Scratchbox provides OpenGL emulatiion libraries and OpenGL-ES emulation libraries are extra Maemo5 provides both OpenGL-ES2.0 and OpenGL-ES1.x libraries. Conclusions: - If you compile in scratchbox against OpenGL-libraries, it don't work in device for that reason, i made OpenGL-ES emulation library package for scratchbox - If you have application that uses OpenGL 1.x API, it is possible to port it to use OpenGL-ES1.x API but it needs porting work - If you would like to port OpenGL-1.x API to OpenGL-ES2.0 you need more work to take programble function pipeline to use. Even Andre Klapper said that Maemo does not support OpenGL games, it does. Bounce is OpenGL-ES2.0 game that uses programable shaders as example for water reflections.