Draw the contents of a 2D canvas with WebGL