Search code examples
qtopengl-esrenderingtearingegl

OpenGL tearing effect when rendering on EGL


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?


Solution

  • 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.