Skip navigation.
Home
The QNX Community Portal

View topic - OpenGL ES port

OpenGL ES port

QNX Application portings.

OpenGL ES port

Postby jinma » Tue May 31, 2011 4:47 pm

did anyone try this port? http://embedded.org.ua/opengles/lessons.html

It says it is for 6.4.x but I would like to get it working for 6.3.2,
is this even possible? (since the whole graphics framework is changed from 6.3.2 vs 6.4.x)

I would like to do some 3D graphics in 6.3.2 without purchasing graphics package ofcourse. It doesn't have to be accelerated (although it would be nice), but basic 3D rendering. Any suggestions?

Thanks
jinma
Senior Member
 
Posts: 428
Joined: Thu Oct 28, 2004 10:13 pm

RE: OpenGL ES port

Postby qnxloader » Wed Jun 01, 2011 5:39 am

There are no GL_ES in 6.3.2, so you can't in all cases
qnxloader
Senior Member
 
Posts: 206
Joined: Mon Oct 06, 2003 8:29 am

RE: OpenGL ES port

Postby AG » Wed Jun 01, 2011 7:51 am

Contact Mike http://embedded.org.ua/about.html may be he has something for 6.3.2.
AG
Active Member
 
Posts: 60
Joined: Tue Oct 21, 2003 5:17 am

RE: OpenGL ES port

Postby maschoen » Wed Jun 01, 2011 4:06 pm

I was faced with a similar problem. I wrote a program for QNX 6.5 using OpenGL. The customer then insisted it had to work under QNX 6.3.2. I took a look at porting the Mesa source code. This turned out to be a nightmare. It wasn't too difficult to compile, however it did not work. In trying to figure out why I had to find the connection between a call and the implementing code. It used a loose attachment of calls to the driver. I could never figure it out.

In the end I extracted the code I needed, which only required drawing points, and lines. No lighting, etc.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: OpenGL ES port

Postby jinma » Wed Jun 01, 2011 8:26 pm

possibly other options others than OpenGL or Mesa?
jinma
Senior Member
 
Posts: 428
Joined: Thu Oct 28, 2004 10:13 pm

RE: OpenGL ES port

Postby maschoen » Thu Jun 02, 2011 12:59 pm

Options for what? 3D Rendering on QNX 6.3.2?
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: OpenGL ES port

Postby jinma » Thu Jun 02, 2011 5:51 pm

yes, 3D rendering in 6.3.2. I looked at using the photon3D pkg from 6.2.1 repository and got it to compile in 6.3.2 with some warnings like libphrenderGL may have conflict with libph.so.3 since it uses libph.so.2. When I run the gear example, it blows up with core dumps.....
jinma
Senior Member
 
Posts: 428
Joined: Thu Oct 28, 2004 10:13 pm

RE: OpenGL ES port

Postby maschoen » Wed Jun 08, 2011 6:01 pm

I'm not sure what the problem with the "gear" example is. I know it works in 6.3.2, but only in full screen mode. With QNX 6.4+ the new gf layer allows putting OpenGL in a window, so there is an enhanced version. Except for fairly simple things, OpenGL is not very useful unless you happen to have one of the two or three hardware accelerated video chips. None of these come on a plug in board as far as I can tell so you are limited to specific motherboards.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: OpenGL ES port

Postby jinma » Wed Jun 08, 2011 10:06 pm

would it work under photon in 6.3.2 full screen, or without photon?
jinma
Senior Member
 
Posts: 428
Joined: Thu Oct 28, 2004 10:13 pm

RE: OpenGL ES port

Postby maschoen » Thu Jun 09, 2011 5:27 am

would id? You mean the gear example? It works in full screen mode. I haven't tried it in a long time but if you are concerned, I will haul it out and verify.

Mitchell
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to Porting

Who is online

Users browsing this forum: No registered users and 1 guest