`gl.DrawPrimitive.ccDrawLine` --> `cc.DrawPrimitive.drawLine`.