imx6 opengl (es) reference code

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6 opengl (es) reference code

1,797 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
4 Replies

468 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

468 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

468 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

468 Views
garyyin
Contributor III

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

0 Kudos