Commit Graph

21 Commits

Author SHA1 Message Date
yinkaile f8988b0aa8 reset dynamic atlas before scene loading (#2655)
* reset dynamic atlas before scene loading

* fixed node undo/redo
2018-05-09 15:40:21 +08:00
pandamicro 50c91c641c Use RenderFlow to optimize renderer visit process (#2634)
* Optimize (#2601)

* support render flow

* small improve

* small improve

* support different vertext format for buffer

* optimize dynamic atlas

* fixed sprite assemblers

* store uvs in spriteframe

* fixed issues

* fixed mask

* remove unused code

* small improve

* small fix

* upgrade assemblers

* refine code

* set id for vertex format name

* Fix mesh buffer initialize issue on native

* Fix spine node setting issue

* fixed dragonbone assembler (#2635)
2018-05-07 15:47:48 +08:00
pandamicro e597e34f4f Remove __instanceId from Node and Component (#2627)
* Add Scheduler.enableForTarget and change to use  _id

* Use _id instead of __instanceId in Texture2D

* Fix ParticleSystem __instanceId usage

* Use _id instead of __instanceId in ActionManager

* Fix usage of Scheduler in InputManager

* Use _id instead of __instanceId in EventManager

* Totally remove ClassManager and __instanceId

* Fix initialization process

* Fix touch & mouse listener off check issue

* Fix id not generated issue

* Fix touch & mouse listener being removed by rejected persist node

* Improve logic
2018-05-04 13:51:21 +08:00
pandamicro 7c94a5f771 Fix Label issues (#2594)
* Fix bmfont anchor point issue

* Fix 0 is ignored as label.string

* Fix doc
2018-04-25 12:36:29 +08:00
pandamicro c80c8328b4 Avoid dynamic atlas affect hard edge textures (#2586) 2018-04-24 17:18:03 +08:00
pandamicro 0f87a11100 Merge pull request #2564 from cocos-creator/optimize
Merge optimizations into next
2018-04-19 18:31:30 +08:00
pandamicro d8ca6001d8 Recursively visit node instead of walk through comp chain 2018-04-19 16:58:44 +08:00
pandamicro d87e146585 Enable dynamic atlas 2018-04-19 10:30:15 +08:00
yinkaile 58c87a8d58 fixed issues 2018-04-18 15:49:44 +08:00
yinkaile 2ed79ae029 minor fixed 2018-04-18 11:53:22 +08:00
yinkaile abc4b0b5da optimize dynamic atlas 2018-04-18 11:36:31 +08:00
yinkaile b39a949aa3 minor fixed 2018-04-17 21:32:13 +08:00
yinkaile d07dbc103f optimize dynamic atlas 2018-04-17 18:48:30 +08:00
yinkaile e7685fe44e optimize dynamic atlas 2018-04-17 10:58:23 +08:00
pandamicro 14a555e0fb Merge remote-tracking branch 'fireball/master' into next 2018-04-16 19:14:08 +08:00
yinkaile fec94231c2 refine dynamic atlas 2018-04-16 14:43:23 +08:00
yinkaile 4ea054b46c support dynamic atlas packer 2018-04-15 18:08:55 +08:00
pandamicro c5b586c5d7 Fix old parent chain issue 2018-04-11 20:10:24 +08:00
pandamicro 6d0872f1bf Small improvements 2018-04-11 14:59:39 +08:00
pandamicro 3dcaf19376 Visit render component with chain instead of walking scene graph 2018-04-11 14:16:36 +08:00
yinkaile 4b44244fc2 support canvas label 2018-03-29 18:01:11 +08:00