Commit Graph

357 Commits

Author SHA1 Message Date
yinkaile edf97a422d fixed mesh buffer usage (#2996) 2018-07-19 11:13:27 +08:00
pandamicro 1102e50750 Fix user reported issues (#2995)
* Cleanup code & fix api doc

* Fix plist parser require issue

* Fix spine null material issue

* Fix Sprite null material issue

* Fix uninit editbox updateString issue
2018-07-19 00:01:20 +08:00
pandamicro eeac56e7cc Merge pull request #2989 from cocos-creator/next
Merge next to v2.0 release
2018-07-17 16:52:06 +08:00
pandamicro 69166aef92 Fix typo 2018-07-17 16:46:11 +08:00
pandamicro c42f77ab25 Secure measureText in wechat (offscreen) 2018-07-17 16:33:34 +08:00
pandamicro 0cfb3f3e31 Upgrade gfx.js to 1.3.1 (#2985) 2018-07-16 17:45:12 +08:00
Knox 6f4af02231 rm globalCompositeOperation for ttf (#2983)
fix set_globalCompositeOperation isn't implemented error
2018-07-16 15:34:19 +08:00
pandamicro 88e58d39b7 Add forceCanvas build option, rearrange modules for canvas renderer (#2969)
* Remove useless requires

* Build engine support forceCanvas to use canvas version render engine

* Rearrange modules, separate webgl & canvas renderer

* Do not create material in canvas

* Cleanup canvas renderers

* Improve modules.json

* Fix unit test

* Fix wechat sub domain build issues

* Make Camera working for canvas render mode

* Fix canvas renderer issues

* Reenable camera in Canvas

* Fix label colorizing issue
2018-07-13 14:13:48 +08:00
yinkaile 5e84cd63e6 fixed some issues (#2958)
* fixed motion streak

* dynamic atlas should ignore render texture

* should not enable physics in editor
2018-07-10 15:15:13 +08:00
yinkaile 598a78cb66 fixed mesh assembler (#2952) 2018-07-06 17:51:42 +08:00
pandamicro e96770a22d Fix render engine issue in strict mode (#2941) 2018-07-04 11:18:31 +08:00
pandamicro 698086046f Small issue fixes and modifs (#2904)
* Fix ttf font loading issue

* Avoid update hash for sprite material if not needed

* Small improvements

* Fix director event register issue

* Fix wechat game issue on Android P (no env.system)
2018-06-27 10:30:07 +08:00
pandamicro b0aec71174 Fix parentOpacity mistake (#2888) 2018-06-22 14:37:10 +08:00
pandamicro 5b0b7953ce Migrate data from color.a to opacity (#2886)
* Migrate data from color.a to opacity

* Simplify opacity calculation in render flow
2018-06-22 14:08:07 +08:00
yinkaile d8bcdb8f0f define class name (#2872) 2018-06-19 12:04:22 +08:00
pandamicro 843bf0c39d Remove jsb gfx and renderer adapter (#2864)
* Remove jsb gfx and renderer adapter

* Update render engine
2018-06-15 15:13:32 +08:00
Knox fd37907239 fixed opacity bug for fireball/issues/7555 (#2847)
* fixed opacity bug for fireball/issues/7555

* refine code
2018-06-13 18:47:00 +08:00
yinkaile 303f20653b add debug camera (#2853)
* add debug camera

* refine code
2018-06-13 11:30:20 +08:00
yinkaile 28527bdc10 remove es6 class (#2838)
* remove es6 class

* refine code

* refine code
2018-06-11 19:04:29 +08:00
pandamicro 056b9e68ee Fix nearby mask being batched issue (#2833) 2018-06-08 11:54:47 +08:00
pandamicro 8bc53f72e1 Make cascade opacity actually working (#2828) 2018-06-08 10:33:34 +08:00
pandamicro 542b9590ec Fix color flow not reseting flag for normal node (#2824)
* Fix color flow not reseting flag for normal node

* Simplify ttf cache rendering
2018-06-07 18:42:43 +08:00
pandamicro d90d1b8a7e Remove unsupported es6 syntax (#2811) 2018-06-06 15:30:41 +08:00
pandamicro 56a78dde98 Update version and fix small issues (#2809)
* Update version and fix small issues

* Fix issues reported by gcc
2018-06-06 11:57:59 +08:00
yinkaile 6882e601ce implement cascade opacity (#2804)
* implement cascade opacity

* refine code

* refine code

* refine code
2018-06-06 11:39:38 +08:00
pandamicro c644fa3e4f Fix mask state switching issue without updating render data (#2807) 2018-06-05 19:32:52 +08:00
yinkaile 423a698e4f implement texture bleeding for dynamic atlas (#2728) 2018-06-05 11:15:43 +08:00
Knox 45e70281d6 fix outline alpha error for fireball/issues/7464 (#2797)
* fix outline alpha error for fireball/issues/7464

* add opacity todo tips
2018-06-04 17:54:02 +08:00
pandamicro 8f07ff1267 Fix gray sprite material (#2792) 2018-06-01 16:08:03 +08:00
pandamicro 32498760d5 Fix camera poolID (#2767) 2018-05-30 12:12:25 +08:00
pandamicro 8a2bbe13d4 Upgrade render engine (#2762) 2018-05-29 21:56:23 +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 2e05573876 Issue fixes and upgrade version (#2749)
* Remove cc.create3DContext

* Check LabelOutline to avoid issue when module absent

* Update to 2.0.0 preview

* Fix AnimationState event API issues
2018-05-28 18:53:59 +08:00
Knox 82eb89f4e7 add _calculateSlicedUV to SpriteFrame for fireball/issues/7354 (#2737)
* add _calculateSlicedUV to SpriteFrame for fireball/issues/7354

* refine code
2018-05-25 15:09:38 +08:00
pandamicro bbf047f574 Improve particle sys performance by pre fill uv datas (#2733) 2018-05-24 18:06:42 +08:00
pandamicro ecf9a540d1 Fix rotated sprite frame in sliced mode (#2731) 2018-05-24 17:12:45 +08:00
pandamicro acb08dcab5 CPU based ParticleSystem implementation (#2730)
* Add RenderComponent markForCustomIARender

* CPU based ParticleSystem implementation

* Remove GPU based ParticleMaterial
2018-05-24 16:05:15 +08:00
pandamicro 8aea3b8be6 Small fixes for ParticleSystem reimplementation (#2729)
* Refactor vfmtPosColorUv to vfmtPosUvColor

* Fix Node getNodeToWorldTransform

* Reset quad buffer during walker reset

* Fix affine transform api doc

* Remove useless uintbuf
2018-05-24 15:57:43 +08:00
yinkaile 22948c2081 fixed canvas render flow (#2721) 2018-05-23 14:49:30 +08:00
pandamicro 9706bcdbcc Upgrade render engine (#2716) 2018-05-22 16:44:28 +08:00
pandamicro 9f9ac0b1e3 Remove Node _worldMatUpdated (#2698)
* Maintain worldMatUpdated state

* Remove _worldMatUpdated property from Node
2018-05-17 15:57:20 +08:00
Knox 2e95f374f8 optimization label memory (#2693)
* optimization label memory and refine code

* refine code
2018-05-17 09:56:02 +08:00
pandamicro a7a566ff2a 2.0 alpha 11 issue fixes (#2694)
* Fix variable leak to global scope

* Fix Texture update issue

* Fix video player _playing state setting issue

* Improve macro doc
2018-05-16 17:00:31 +08:00
yinkaile bd2dd76826 move webgl stuff into webgl folder (#2690) 2018-05-16 10:44:33 +08:00
pandamicro 172f520259 Update mask assembler and mask materials (#2688) 2018-05-16 10:15:21 +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 97c50c24de destroy dynamic atlas texture before loading scene (#2678)
* destroy dynamic atlas texture before loading scene

* refine code

* refine code
2018-05-15 11:33:46 +08:00
Knox d57064fa43 fix CCMotionStreak color error for fireball/issues/7286 (#2679) 2018-05-15 10:37:26 +08:00
pandamicro b4313de272 Fix issue caused by sprite.spriteFrame set to null (#2672) 2018-05-12 17:01:17 +08:00