Function GlSurface.dispose

Dispose the underlying resource

override void dispose();