Commit Graph

157 Commits

Author SHA1 Message Date
yinkaile bcec69da50 fixed render error (#2861)
* fixed render error

* refine code

* refine code
2018-06-15 15:42:49 +08:00
yinkaile e95575c481 move blend factor to CCRenderComponent (#2854)
* move blend factor to CCRenderComponent

* refine code
2018-06-13 16:17:00 +08:00
yinkaile 3c70b2396f add ttfTexture for ttf label (#2856) 2018-06-13 11:33:54 +08:00
pandamicro c7ffd49dd9 Fix undo restore component issues (#2829)
* Fix undo restore component issues

* Fix undo Label restore
2018-06-08 10:17:18 +08:00
Knox e1a9c162a8 fixed fireball/issues/7503 (#2819) 2018-06-07 12:53:07 +08:00
pandamicro 99e9030c32 Fix LabelBMFont can't set color issue (#2799) 2018-06-04 18:14:55 +08:00
Knox ac9923359f fix fireball/issues/7405 (#2754)
* fix fireball/issues/7405

* refine code
2018-05-29 17:23:51 +08:00
Knox c50ad3f079 fix Label + LabelOutline display error for fireball/issues/7398 (#2748)
* fix Label + LabelOutline display error for fireball/issues/7398

* refine code
2018-05-29 10:57:25 +08:00
pandamicro c3a9e6235b Improve render flag control in render component (#2695)
* Improve render flag control in render component

* Overwrite disableRender in Mask

* Secure markForUpdateRenderData for Sprite (check material)

* Fix particle auto remove process
2018-05-17 10:41:46 +08:00
Knox 2e95f374f8 optimization label memory (#2693)
* optimization label memory and refine code

* refine code
2018-05-17 09:56:02 +08:00
yinkaile ec176ce336 refine activate material (#2685)
* refine label activateMaterial

* refine sprite activateMaterial

* refine motion streak activateMaterial
2018-05-15 18:44:45 +08:00
yinkaile f326869f47 fixed richtext (#2667) 2018-05-11 15:42:53 +08:00
yinkaile 15e63fc817 fixed label error (#2664)
* fixed label error

* should not render label if string is empty

* improve color render  flag
2018-05-11 11:19:50 +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 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 0889e7e8df Use system font if no font found and not using system font 2018-04-20 00:45:37 +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 5823a23065 Add transform system to reduce matrix update overhead
Removed world-matrix-changed event, event system is too slow
2018-04-11 14:06:27 +08:00
yinkaile 271c34613f optimize label 2018-04-11 11:31:41 +08:00
yinkaile 665b72690e add canvas pool for label 2018-04-02 11:11:31 +08:00
yinkaile 6f7c4d724a Merge remote-tracking branch 'refs/remotes/fireball/next'
Conflicts:
	cocos2d/core/renderer/canvas/renderers/utils.js
2018-04-02 10:39:53 +08:00
pandamicro 51639a158a Fix bug reported from ye man ren 2018-03-30 14:11:51 +08:00
yinkaile 4b44244fc2 support canvas label 2018-03-29 18:01:11 +08:00
pandamicro 9f4a67a6f1 Improve material hash id update and compare 2018-03-21 16:39:36 +08:00
fusijie 10f56b59bd add_effect_hash 2018-03-21 16:39:36 +08:00
pandamicro f92894ea08 Remove CCTypes 2018-03-19 18:40:14 +08:00
pandamicro 77febbfe3d Merge branch 'master' into next 2018-03-13 15:07:21 +08:00
pandamicro 283f5c17d6 Improve render data management by RenderComponent 2018-03-07 10:49:58 +08:00
pandamicro 0ae7c15cbd Fix Label default string issue 2018-02-26 17:29:41 +08:00
pandamicro 1de3bd1d52 Improve Label assembler when string is empty 2018-02-10 12:49:55 +08:00
fusijie ee8963000f Support CCRichText. 2018-02-08 18:37:02 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo bd15543093 updating license: Chukong Aipu -> Xiamen Yaji 2018-01-31 17:51:49 +08:00
yinkaile c2cbd545a1 fixed editbox 2018-01-17 17:39:32 +08:00
shay_chen b5c4f2fae6 Delete the calls for object.retain() and object.release() 2017-12-27 18:34:35 +08:00
yinkaile 99cdd33327 fixed crashed when switch to the same scene again 2017-12-26 15:54:42 +08:00
yinkaile e30ce09da4 small fix 2017-12-19 10:26:10 +08:00
yinkaile 17a035e082 optimize label 2017-12-18 16:41:25 +08:00
yinkaile 14f04ac23b add label assembler 2017-12-17 12:33:24 +08:00
pandamicro 8cc054c833 Fix super calls to old sg components 2017-10-26 11:09:58 +02:00
pandamicro fd5c46152f Skip functionalities in Label 2017-10-11 13:50:37 +08:00
pandamicro 48faf3ca49 Removed SGComponent, ComponentInSG, ComponentUnderSG 2017-10-06 17:54:34 +08:00
knoxHuang e90ba4313f Modify the _updateNodeSize timing for fireball/issues/6263 2017-08-17 17:32:11 +08:00
knoxHuang 565c42ff7f remove redundant code 2017-08-17 14:19:57 +08:00
knoxHuang 53cead8fdb Failed to refresh the size in time for fireball/issues/6263 2017-08-16 18:28:34 +08:00
pandamicro 3150f46f1b [missed] Use Label pool instead of new 2017-08-08 11:57:54 +08:00
Jare Guo c25563be14 Merge pull request #1843 from pandamicro/master
Remove ...args in engine
2017-07-26 18:04:46 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
zilongshanren 21b4386502 fix ttf font size in web 2017-07-25 14:54:31 +08:00
zilongshanren c70c7a2989 improve ttf font creation performance 2017-07-25 14:39:53 +08:00