maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Opengl ES made me crazy (https://talk.maemo.org/showthread.php?t=47992)

smoku 2010-03-22 10:12

Re: Opengl ES made me crazy
 
Quote:

Originally Posted by ancoldsun (Post 576843)
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 2010-03-22 10:25

Re: Opengl ES made me crazy
 
Quote:

Originally Posted by smoku (Post 576842)
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.

smoku 2010-03-22 11:22

Re: Opengl ES made me crazy
 
Code:

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 2010-03-22 14:54

Re: Opengl ES made me crazy
 
Quote:

Originally Posted by smoku (Post 576924)
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:
Quote:

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 2010-03-22 15:06

Re: Opengl ES made me crazy
 
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 2010-03-22 16:40

Re: Opengl ES made me crazy
 
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 ;) )

thp 2010-03-22 16:51

Re: Opengl ES made me crazy
 
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 2010-03-23 16:11

Re: Opengl ES made me crazy
 
Quote:

Originally Posted by thp (Post 577417)
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


All times are GMT. The time now is 22:23.

vBulletin® Version 3.8.8