imx6 opengl (es) reference code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6 opengl (es) reference code

4,215 次查看
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).

标签 (4)
标记 (3)
0 项奖励
回复
6 回复数

1,922 次查看
doerthous
Contributor I

Access denied?

0 项奖励
回复

2,886 次查看
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 项奖励
回复

2,886 次查看
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 项奖励
回复

2,886 次查看
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 项奖励
回复

2,886 次查看
garyyin
Contributor III

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

0 项奖励
回复

2,272 次查看
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 项奖励
回复