OpengGL support for the auto-scaling