Skip to content
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

optimize middleware render order #1993

Merged

Conversation

sunnylanwanjun
Copy link
Contributor

@sunnylanwanjun sunnylanwanjun commented Dec 18, 2019

中间件渲染顺序与节点树渲染顺序保持一至,以避免当节点切换父节点时,合批失效。
(中间件的渲染独立于节点树的渲染初衷是为了后续骨骼的计算与渲染可以单独使用一个线程进行)

@holycanvas holycanvas requested review from 2youyou2 and caryliu1999 Dec 20, 2019
@RazgrizHsu
Copy link

@RazgrizHsu RazgrizHsu commented Dec 20, 2019

在android及mac模似器上测试后确认drawcall合并没问题,谢谢

…iddleware-render-order

# Conflicts:
#	tools/tojs/cocos2dx_spine.ini
@holycanvas
Copy link
Contributor

@holycanvas holycanvas commented Dec 31, 2019

这里是用一个 renderOrder 来保存节点树渲染顺序,后面就直接用这个 renderOrder ?

@sunnylanwanjun
Copy link
Contributor Author

@sunnylanwanjun sunnylanwanjun commented Dec 31, 2019

这里是用一个 renderOrder 来保存节点树渲染顺序,后面就直接用这个 renderOrder ?

@holycanvas holycanvas merged commit a8781f1 into cocos:v2.3.0 Dec 31, 2019
1 check passed
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.

None yet

4 participants