I have developed an application that connects to a camera and grabs images showing them in a real time video stream.
This application is developed in C++, the GUI is created through wxWidget and it is based on OpenGL.
I have followed these steps to activate the OpenGL driver:
http://www.raspberryconnect.com/gamesso ... berry_pi_3
and selected the "GL (Fake KMS) Desktop Driver".
The CPU usage dropped down quit a lot but it is still high: it starts from 17% and it increases over time reaching 50%.
The problem is that the video presents a tearing effect as you can see if you look at the top part of the screen:
https://www.dropbox.com/s/s8d992c7ppf2q ... 0.mp4?dl=0
are there some options to enable in order to avoid this effect?