Extract shader program callbacks to segment draw function. Framerate increase possibility.
Merge branch 'master' of https://github.com/OpenGlobus/OpenGlobus