meandu229 said:Feel free to shoot me down for this
But the n900 is getting to use SDL 1.2 apps from a palm pre would we be able to do the same?
Do we have these : OpenGL ES 2.0 libs or are we running 1.1 (i think I remember this)
link
http://talk.maemo.or...t=39809&page=13
meandu229 said:Feel free to shoot me down for this
But the n900 is getting to use SDL 1.2 apps from a palm pre would we be able to do the same?
Do we have these : OpenGL ES 2.0 libs or are we running 1.1 (i think I remember this)
link
http://talk.maemo.or...t=39809&page=13
Removing osso and hildon dependencies isn't hard though.Pickle said:probably would run, although there could be things that they added specific to those devices.
pandora has support for both opengles 2.0 and 1.1.
sebt3 said:meandu229 said:Feel free to shoot me down for this
But the n900 is getting to use SDL 1.2 apps from a palm pre would we be able to do the same?
Do we have these : OpenGL ES 2.0 libs or are we running 1.1 (i think I remember this)
link
http://talk.maemo.or...t=39809&page=13
I'ven't seen any source link on this link (no I'm not going to read that 17pages long thread).
N900 also get some port coming from the IPhone world (I know, I've started working on one of these yesterday )
Porting from Iphone or meamo is way more easier than porting directly from PC : the 2 hardest part are done (openGL->openGLES and screen size)
So having links could be usefull.
The best you can do is collecting Original PC source link and MAEMO sources for each games you'll love to see happening and add this to the port request on the wiki.
I made that library because on Maemo, touching the SDL package is a long & bureaucratic process (reason is that some of the builtin games use it), so we needed something external to it.Farox said:This project is really interesting because there is implemented a SDL-->GLES library that do most of the work to interface the 2 worlds
Hey you are the original author of this lib ? great i didn't know also that you are a gp32x forum member .....And you have a Pandora ?javispedro said:I made that library because on Maemo, touching the SDL package is a long & bureaucratic process (reason is that some of the builtin games use it), so we needed something external to it.
Ideally, SDL itself should be modified with GLES in mind, like they did on the Pre (and the Pandora afaik).
About Pre stuff, I'm quite sure most of it would run on the Pandora. There are a few specific calls that would need to be stubbed out or rewritten to Pandora conventions (for example on Maemo "Device name" == Bluetooth Device Name, etc).
Upstream is here http://gitorious.org/preenv/preenvmeandu229 said:ource to Preenv which makes it possible
No, I do not have a Pandora, but I'm considering one (with new nubs, ofc).Farox said:Hey you are the original author of this lib ? great i didn't know also that you are a gp32x forum member .....And you have a Pandora ?
Have you tried? It should be deadly easy -- in fact at the moment the modificacions that would need to be done areNamX said:It would be great if you could port preenv to pandora
javispedro said:Have you tried? It should be deadly easy -- in fact at the moment the modificacions that would need to be done areNamX said:It would be great if you could port preenv to pandora
0) Ensure you have glib, SDL, ...
1) Replace SDL_GLES_* calls with SDL_GL_*
2) Stub out the PDL calls that use "Maemo" API (device name, notifications on/off, ...)
Sorry, I thought the Pandora used a webos-like GL ES patch to SDL 1.2.. Then this is the same situation we have on Maemo then . So replace that with "you will need to either port SDL_gles or replace the SDL_GLES calls with your own EGL stuff".Pickle said:did you mean : 1) Replace SDL_GL_* calls with SDL_GLES_*?
SDL_GL_* are not going to work on pandora's SDL.
javispedro said:Sorry, I thought the Pandora used a webos-like GL ES patch to SDL 1.2.. Then this is the same situation we have on Maemo then . So replace that with "you will need to either port SDL_gles or replace the SDL_GLES calls with your own EGL stuff".Pickle said:did you mean : 1) Replace SDL_GL_* calls with SDL_GLES_*?
SDL_GL_* are not going to work on pandora's SDL.
SDL_gles build fine on pandora (used here).javispedro said:Well, on Maemo we have two alternatives basically
A ) Stock firmware SDL 1.2 + a small library called SDL_gles (by me)
B ) SDL 1.3 with GLES support (by Cpasjuste iirc)
Preenv uses A. A should also be easily packaged for the Pandora (its only assumptions are X11, SDL1.2 and Imgtec's EGL implementation). Feel free to hit me if you accept the challenge and any problems arise .