display problem when export FB_MULTI_BUFFER=2

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

display problem when export FB_MULTI_BUFFER=2

2,451件の閲覧回数
jiejia
Contributor III

bsp:linux3.0.35 cpu:imx6q.

I need to use opengl and gles.To use multiple-buffer rendering, I set 'export FB_MULTI_BUFFER=2'. I download the gpu_sdk_v1.00.gz, and execute the example in the file. That comes the problem. I stop the test app using 'ctrl+c', and then exectue a app of clear screen. Sometime, the screen woule be clear successfully. Sometimes, it had no effect. By the way, the app of clear screen always success before I set 'export FB_MULTI_BUFFER=2'. How can I make my display app always effect on the screen when export FB_MULTI_BUFFER=2?

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

965件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi jie,

To specify the display device, use the environment variable FB_FRAMEBUFFER_n, where n = any positive

integer. Example usage syntax:

export FB_FRAMEBUFFER_0=/dev/fb0

export FB_FRAMEBUFFER_1=/dev/fb1

export FB_FRAMEBUFFER_2=/dev/fb2

To open a specific framebuffer device, set environment variables to their proper values (e.g., set

FB_FRAMEBUFFER_0 = /dev/fb0). If there are no environment variables set, the driver will try to use the

default fb devices (fb0 for index 0, fb1 for index 1, fb2 for index 2).

Hope this helps

0 件の賞賛