This patch is made of three patches:
- Use only 3d matrices
- Removing Matrix 2D storage entirely
- Removing gpuBegin/End functions
You can read a related discussion on:
https://lists.blender.org/pipermail/bf-committers/2017-April/048301.html
And if you build with core profile and this patch you get:
(the text glitch is an unrelated issue).