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:

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: