cocos2d/cocos2d-html5 — pull request #2490 by dingpinglv (2014-12-08 09:43:21+00:00)
Title: Fixed #2416: refactor renderer for performance

1. Create a RenderCmd to process the Node's rendering code
2. Split canvas/WebGL codes to CanvasRenderCmd/WebGLRenderCmd
3. Add dirty flag to RenderCmd for performance

Next step, we will refactor the struct of RenderCmd, let cc.Node lighter, clearer.