Warning : opengl driver is experimental, it can be unstable and have some bugs !
Update the system and kernel :
sudo apt update
sudo apt upgrade
sudo BRANCH=next rpi-update
Edit file /boot/config.txt and add this two lines :
Disable the old driver, open a terminal then :
sudo mv 99-fbturbo.conf 99-fbturbo.conf.bak
For people (like me) who have an old monitor with no 1920x1080 resolution, you have to set the resolution.
I think this step is not needed if you have a 1920x1080 monitor (someone can confirm that please ?)
Edit file /boot/cmdline.txt and add video=[w]x[h] !
Exemple for 1280x1024 :
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet splash video=1280x1024
reboot and enjoy !
Edit : changed update to stable kernel because of black screen issue.