Split the path gl implementation

So now we can start working on the shader only based version