use webgl as canvas2d