if you check here: http://mirrordirector.raspbian.org/raspbian/pool/main/m/mesa/
You will be able to see that all the mesa packages Ej. "libgles2-mesa-dev" have a 18.1 version, however, if I execute the command "sudo apt-get install libgles2-mesa-dev" it says that I'm already on the latest version (13.0.6), I thought this was because I was using a RPi3 with raspbian Jessie, but like an hour ago, I did a fresh install with the last raspbian image (debian 9 strecth), and when I execute the command to install the mesa packages it still points to the 13.0.6 version, so why that version 18.1 exist?, what distro can access it?
PD: before trying to install the library, I ran:
sudo rpi-update sudo apt-get update sudo apt-get upgrade