Gaétan Noël
|
RE: GLES 2.0 on the iMX5x
|
Gaétan Noël
06/21/2011 1:14 PM
post86759
|
RE: GLES 2.0 on the iMX5x
Hi Brian,
It sounds like you're running gears using the SW version of GLES (just a setup problem).
I assume you have the GPU patch for the iMX53 (http://community.qnx.com/sf/frs/do/viewRelease/projects.graphics/frs.
imx51_gpu_driver.imx53_20101115, patch-650-2413-iMX53GPU.tar).
In 6.5.0, you still need GF, but there's a QNX redirection layer for EGL, GLES & VG (in /usr/lib/), and it needs the
GRAPHICS_ROOT environment variable to be set to point to the folder where the HW specific Khronos libs are located. Our
standard folder location on the iMX53 for those libs would be /usr/lib/graphics/iMX5X/, so you would set:
GRAPHICS_ROOT=/usr/lib/graphics/iMX5X
In this folder, there needs to be the graphics.conf file (found in the GPU patch, already in that location). The
redirection layer will then load the appropriate HW specific libs from there when needed.
The io-gpumgr resource manager also relies on GRAPHICS_ROOT being set properly.
So in summary, to setup your system, the proper order would be:
- set GRAPHICS_ROOT
- run io-display
- run io-gpumgr
Then you can run io-winmgr (if needed) and Khronos related applications.
Cheers,
Gaétan
-----Original Message-----
From: Brian Edmond [mailto:community-noreply@qnx.com]
Sent: June-20-11 9:38 PM
To: opengles-graphics
Subject: GLES 2.0 on the iMX5x
I am trying to get OpenGL ES 2.0 to run on an iMX51 board. I can run egl-gears on the board and I can build my own
OpenGL ES 1.x app as long as I use the gl_ api and use the gf3d target stuff. However I thought this changed in 6.5 and
I did not have to use the gf API any longer? I then tried to build a 2.0 version of egl-gears but it just fails to run
saying that it can't find a eglConfig. Are there any sample applications for 2.0 and instructions on how to configure
GL and build them? I also downloaded a SGX patch for the iMX, which included io-gpumgr but I can't find any
instructions on what to do with this manager. It seems to include some new gl libraries also which I am not sure what
to do with.
Thanks,
Brian
_______________________________________________
OpenGL ES
http://community.qnx.com/sf/go/post86729
|
|
|