Must be called when the surface dimensions have changed.
The width of the surface viewport
The height of the surface viewport