iMX53 + OpenGL + dual display + Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX53 + OpenGL + dual display + Android

1,102件の閲覧回数
tibowcc
Contributor I

Hi,

I have an touchscreen and an HDMI monitor connected to the board, the screens are mirrored. From a Linux/Android point of view, I can access (read/write) to fb0 and fb1 independently. But I was wondering if it's possible to render something in OpenGL only on fb1 ?


Thanks in advance for your help.

ラベル(3)
0 件の賞賛
返信
1 返信

868件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

Yes, you can use any of the FB0 and FB1

In the source code should be a call like this:

EGLNativeWindowType native_window = open("/dev/fb0",O_RDWR);

Where it specifies what FB to use, here is where you can change to other FB

0 件の賞賛
返信