imx6 opengl (es) reference code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 opengl (es) reference code

4,265 Views
garyyin
Contributor III

imx6q

linux 3.14.28

Have you provided sample code about IMX6 OpenGL (ES) based on bare framebuffer? I need the code based on /dev/fb0 or /dev/fb1, no window backend(X11 and so on).

Labels (4)
Tags (3)
0 Kudos
Reply
6 Replies

1,972 Views
doerthous
Contributor I

Access denied?

0 Kudos
Reply

2,936 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Gary,

Samples codes can be found in the GPU SDK package: https://www.nxp.com/webapp/Download?colCode=IMX6_GPU_SDK&location=null&Parent_nodeId=133763715453569... 

Also please check the OpenGL tutorial:

https://community.nxp.com/docs/DOC-134126 

Regards

0 Kudos
Reply

2,936 Views
garyyin
Contributor III

Hi Bio,

Could you provide the related GLES EGL.. libs and gcc toolchain?

Using the imx6 L3.14.28 yocto lib(fb backend) to build, the app throw an error when run.

0 Kudos
Reply

2,936 Views
garyyin
Contributor III

Hi Bio,

Using the sdk you mentioned, I find some function missing:

../common/src/fsl_egl.o: In function `fsl_getNativeDisplay':
fsl_egl.c:(.text+0x18): undefined reference to `fbGetDisplayByIndex'
../common/src/fsl_egl.o: In function `fsl_createwindow':
fsl_egl.c:(.text+0x100): undefined reference to `fbCreateWindow'
collect2: error: ld returned 1 exit status

Do I need some extra lib?

0 Kudos
Reply

2,936 Views
garyyin
Contributor III

I've found the correct libEGL.so. Thanks.

0 Kudos
Reply

2,322 Views
Mav
Contributor I

Hello. I have same problem, trying build OpenGL-fbdev application and have undefined reference to `fbGetDisplayByIndex' and undefined reference to `fbCreateWindow' errors.

It looks like libEGL.so have no fbGetDisplayByIndex and fbCreateWindow functions.

Where did you get correct libEGL.so ?

0 Kudos
Reply