读书人

Cocos2d (v.3.0) rendering pipeline

发布时间: 2013-09-28 10:01:20 作者: rapoo

Cocos2d (v.3.0) rendering pipeline roadmap

?The rendering backend (running on his own thread) will in turn pop graphics commands from the queue, process them and actually execute them. Any locking or CPU expensive OpenGL commands will be then executed from the back-end thread, letting Cocos’ main thread free continue working on parsing the scene graph or doing other non rendering related tasks. This will help parallelism and will allow for using multi core CPU’s (see picture)


Cocos2d (v.3.0) rendering pipeline road地图
?With Cocos2d-x 3.00 we also want to introduce the concept of automatic batching. ?In fact we believe reducing the number of draw calls and render device state changes will improve drastically rendering speed.

In order to achieve very good batching, we would like to introduce also a new concept of “attributes” for Layers (formally CCLayer). There are going to (at least) 3 new Layer attributes:

?

读书人网 >操作系统

热点推荐