516: split CanvasGL2d code file