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)

ancoldsun 2010-03-22 09:24

Opengl ES made me crazy
 
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 2010-03-22 09:26

Re: Opengl ES made me crazy
 
how are you compiling your app?

we need much more background information if you want to get some help......

smoku 2010-03-22 09:30

Re: Opengl ES made me crazy
 
Having that attitude I wouldn't be counting on much help here.

ancoldsun 2010-03-22 09:43

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

Re: Opengl ES made me crazy
 
what emulator?

you are missing the most important parts here...

ancoldsun 2010-03-22 09:47

Re: Opengl ES made me crazy
 
I mean Xephyr !!! Have i made some mistake about this ?

flailingmonkey 2010-03-22 09:49

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

Re: Opengl ES made me crazy
 
http://talk.maemo.org/showthread.php?t=32191
http://wiki.maemo.org/OpenGL-ES

.edit
http://wiki.maemo.org/OpenGL_ES_Libraries

smoku 2010-03-22 09:57

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

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