texture memory corruption with OpenGL ES 1.1

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

texture memory corruption with OpenGL ES 1.1

1,417件の閲覧回数
damianstewart
Contributor I

Hi all,

I'm seeing some bizarre texture corruption issues with OpenGL ES 1.1 on my i.mx53 qsb, running at 1920x1080 (u-boot: setenv hdmi video=mxcdi0fb:RGB24,1920x1080M@60) under X11, using the stock 11.01 Linux installation.

I'm using two FBOs (render-to-texture with glBindFramebufferOES etc.) to allow single buffered drawing with no glClear() between frames -- basically I want successive frames to accumulate. I'm drawing the FBOs to the screen as a pair of textured quads. 

Over time the textures become corrupt: it looks like an occasional issue with the alignment or stride during a texture copy operation, where for example a ~256x256 tile of vertical line textured pixels will be duplicated sporadically elsewhere on the screen, but now with a 30 degree or 45 degree slant. Perhaps they are being corrupted when they are swapped from GPU to CPU memory? 

Has anyone else experienced this? I'm not setting a GPU memory size (cf 1080p video on 1080p panel), could this be causing this problem? 

Any advice or comments much appreciated!

Thanks,

Damian

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

1,173件の閲覧回数
GuillermoHernan
Contributor III

could you share the source code so we can test?

0 件の賞賛
返信