Skip to content

Fixed #2416: refactor renderer for performance #2490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 242 commits into from
Dec 10, 2014

Conversation

dingpinglv
Copy link
Contributor

  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.

dingpinglv and others added 30 commits November 4, 2014 16:38
VisualSJ and others added 28 commits December 8, 2014 14:42
1. DirtyFlags was not removed after run _syncStatus
2. cacheDirty was not add on TileMap
…lv/cocos2d-html5 into Iss2416_RefactorRenderer

Conflicts:
	cocos2d/tilemap/CCTMXLayer.js
dingpinglv added a commit that referenced this pull request Dec 10, 2014
@dingpinglv dingpinglv merged commit ef19901 into cocos2d:develop Dec 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants