View Full Version : Opengl ES made me crazy
ancoldsun
03-22-2010, 05:24 AM
Can anyone tell me the easy to programming ogles for n900 ? How can i test ogles app after compiling ? do i have to install it in my n900 device and test it ? these drives me crazy and annoying What kind of N900 emulator is that , it's doesn't support ogles programming . No wonder why a superb device like n900 is still nothing compare to iPhone 3GS , it's all because of the s**k SDK :mad:
ossipena
03-22-2010, 05:26 AM
how are you compiling your app?
we need much more background information if you want to get some help......
smoku
03-22-2010, 05:30 AM
Having that attitude I wouldn't be counting on much help here.
ancoldsun
03-22-2010, 05:43 AM
I'm sorry . But it's not about the compiling matter it's about testing matter . As you guys can see the emulator doesn't support the sgx x86 lib so we have to compile in ARMEL and then put it in n900 to test the app . I dunno how u guys r but every time i did this i feel like thrashing my device and i feel inconvenient
ossipena
03-22-2010, 05:45 AM
what emulator?
you are missing the most important parts here...
ancoldsun
03-22-2010, 05:47 AM
I mean Xephyr !!! Have i made some mistake about this ?
flailingmonkey
03-22-2010, 05:49 AM
I might be wrong, but I believe they are referring to the scratchbox development environment. I haven't tried this myself, but it looks like they either can't, or have no idea how to, run programs that use OpenGL ES api in scratchbox, rather than having take the code onto the N900 to do any testing.
slender
03-22-2010, 05:53 AM
http://talk.maemo.org/showthread.php?t=32191
http://wiki.maemo.org/OpenGL-ES
.edit
http://wiki.maemo.org/OpenGL_ES_Libraries
smoku
03-22-2010, 05:57 AM
There is no emulator for N900.
SDK is just only that - a Software Development Kit.
If you use only common Linux APIs, it is possible to compile your program for x86 architecture and run it on your local machine in x86 environment.
But if you use device specific features (like OpenGL ES which is not supported by any desktop Linux distribution), you need to test these features on the device.
You may use IDE such as http://esbox.garage.maemo.org/2nd_edition/ that will make the process easier.
You may also try supplanting your desktop machine with required features. Ex. there is OpenGL ES layer available at: http://www.unrealvoodoo.org/hiteck/projects/maemo/
P.S. You should had really started from wiki: http://wiki.maemo.org/OpenGL-ES http://wiki.maemo.org/OpenGL_ES_Libraries
ancoldsun
03-22-2010, 05:59 AM
thanks flailingmonkey , that's what i'm talking about . With this SDK will cause a lot of troubles for programmers. I still wonder why Nokia didn't make a complete n900 emulator . this will make the programming and porting process easier
smoku
03-22-2010, 06:12 AM
I still wonder why Nokia didn't make a complete n900 emulator . this will make the programming and porting process easier
I guess ROI on that is to low.
Tomaszd
03-22-2010, 06:25 AM
There is no emulator for N900.
SDK is just only that - a Software Development Kit.
If you use only common Linux APIs, it is possible to compile your program for x86 architecture and run it on your local machine in x86 environment.
But if you use device specific features (like OpenGL ES which is not supported by any desktop Linux distribution), you need to test these features on the device.
You may use IDE such as http://esbox.garage.maemo.org/2nd_edition/ that will make the process easier.
You may also try supplanting your desktop machine with required features. Ex. there is OpenGL ES layer available at: http://www.unrealvoodoo.org/hiteck/projects/maemo/
P.S. You should had really started from wiki: http://wiki.maemo.org/OpenGL-ES http://wiki.maemo.org/OpenGL_ES_Libraries
Well, Nokia did release a fully accelerated Qemu emulator with opensource gles libraries and an OpenGL ES to GL wrapper here (http://maemo.gitorious.org/qemu-maemo).
smoku
03-22-2010, 07:22 AM
Friday March 19 2010
11:07 Commit Riku Voipio started development of qemu-maemo/gles-libs
11:05 Repository Riku Voipio created repository gles-libs in Maemo Qemu
OpenGL ES to GL wrapper library
Looks more like "just started working" not "released", but it's nice that they are working on it. Maybe in PR 1.2 SDK? :)
SubCore
03-22-2010, 10:54 AM
Looks more like "just started working" not "released", but it's nice that they are working on it. Maybe in PR 1.2 SDK? :)
from the wiki page (http://wiki.maemo.org/OpenGL-ES):
We try to get the x86 equivalent OpenGL ES2 emulation library available soon.
seems like they are working on x86 libs for OpenGL ES as well.
but nothing's available yet, so the OP will have to continue testing on the device.
ancoldsun
03-22-2010, 11:06 AM
Both iPhones and WM7 phones have great emulator . So i hope Nokia will put more efforts into developing a really great N900 emulator / simulator or there would be a waste of PowerVR . I wonder if N900 is just a "test" and Nokia 's real target is Meego devices
smoku
03-22-2010, 12:40 PM
Nokia officially stated that N900 is a "developer device" to prepare ground for the Maemo 6 upcoming consumer device.
(Something like iPhone "1.0"... har har ;) )
You need to test your app on the device anyway, as the emulator performance can never match the real hardware performance (it can be both too fast or too slow). With a bit of SSH/SCP foo, you can have the "compile, deploy and start on device" automated, and testing is just one "make" away...
ancoldsun
03-23-2010, 12:11 PM
You need to test your app on the device anyway, as the emulator performance can never match the real hardware performance (it can be both too fast or too slow). With a bit of SSH/SCP foo, you can have the "compile, deploy and start on device" automated, and testing is just one "make" away...
i totally agree with you but i think running your app on a complete emu will help you in many way (debugging , avoid thrashing your device ... ) anyway i prefer to testing my app on emu first , testing on real device can wait later
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.