Commit Graph

342 Commits

Author SHA1 Message Date
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
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 314b0b55c0 Issue fixes for 2.0 (#2656)
* Generate component _id with uuid in editor

* Fix issues
2018-05-09 18:10:04 +08:00
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 ec9a718569 Issue fixes for 2.0 (#2650)
* Upgrade render engine

* Fix sprite rendering issue while loading sprite frame

* Fix mesh buffer initialization issue

* Fix color fromHEX

* Remove ;
2018-05-09 10:05:23 +08:00
yinkaile e4325577ad Next vertex format (#2645)
* restructure vertex format

* update render-engine.js

* refine vertex format

* refine sprite vertex property name
2018-05-08 21:51:27 +08:00
pandamicro 26de29f489 Upgrade renderer.js to 1.8.3 (#2642) 2018-05-08 10:34:28 +08:00
pandamicro 1034635917 Upgrade render-engine (#2638) 2018-05-07 17:56:14 +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 396154d41b Fix issues (#2608)
* Add missed vec3 APIs

* Fix Node property setter issue

* Fix scene dirty sync issue

* Fix setWorldRot not setting dirty issue
2018-04-27 18:00: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 7b98f49cd6 Fix updateWorldVerts based on worldMatUpdated and other issues (#2593)
* Fix updateWorldVerts based on worldMatUpdated

* Fix issues
2018-04-24 22:23:18 +08:00
pandamicro c80c8328b4 Avoid dynamic atlas affect hard edge textures (#2586) 2018-04-24 17:18:03 +08:00
pandamicro ef5b172506 Fix scene mat dirty not updated issue and improve logic 2018-04-24 11:21:42 +08:00
pandamicro 7997b2c6a8 Remove _syncWorldDirty for recursive approach (#2582)
* Fix render data issue for bar filled sprite

* Remove _syncWorldDirty for recursive approach
2018-04-23 18:26:06 +08:00