OpenGL tearing effect when rendering on EGL

2k views Asked by At

I have some Qt applications rendered using OpenGL on surfaces provided by an EGL implementation on an ARM board. I'm experiencing some kind of tearing in rendering.

By reading around, I found out it may be a problem related to vsync, so I used the EGL call eglSwapInterval(eglDisplay, 1), but still tearing persist. Is that call sufficient to remove tearing? Should that call completely remove such an effect? Is it possible some tearing remains?

2

There are 2 answers

3
Luca Carlon On BEST ANSWER

After reading the sources of the EGL implementation I've been given I discovered there was no implementation for the eglSwapInterval function. A specific implementation was needed. After that no more tearing.

0
Ray On

FB_MULTI_BUFFER=3 environment variable will enable the multi buffering on Freescale i.MX 6 (Sabrelite) board with some recent LTIB build.