SimpleGLScreen issue

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

SimpleGLScreen issue

跳至解决方案
1,082 次查看
otemeshen
Contributor II

Running hellogl_es2 on imx53 board:

./hellogl_es2 -display simplegl:rgb16 -qws

I am getting the following issue:

SimpleGLScreen: could not create the full-screen window

SimpleGLScreen: may need to modify defaultRootWindowHandle()

simplegl: driver cannot connect

Aborted

The current implementation of simplegl assumes that the native window id is zero. Has this changed?  Has anyone observed this behavior?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
831 次查看
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
831 次查看
otemeshen
Contributor II

Application note: AN3994 says the native window id should be the file descriptor returned from open("/dev/fb0").  But this has not worked on my platform.

eglCreateWindowSurface

                            (context->display(), context->config(),

                             open("/dev/fb0", O_RDWR, NULL), props.properties());

0 项奖励
回复
832 次查看
otemeshen
Contributor II

Solved:

It looks like I needed the

MX53_LINUX_1109_BSP_PATCH

Patch based on L2.6.35_11_09_ER_SOURCE, to provide: GPU driver update.

0 项奖励
回复