Added gpu 3D/2D OC and 2D scaling