Commit Graph

6336 Commits

Author SHA1 Message Date
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 f3304e626b Merge pull request #2618 from pandamicro/next
Merge master into next
2018-05-02 16:28:07 +08:00
pandamicro 48cb41798a Fix tile map merge issue 2018-05-02 16:25:40 +08:00
pandamicro e4bdd1edc3 Merge remote-tracking branch 'fireball/master' into next 2018-05-02 16:16:33 +08:00
pandamicro a0043db9df Small issue fixes (#2617)
* Fix emit event on invalid animation issue

* Support setQuat with x, y, z, w

* Fix native running issue
2018-05-02 15:38:15 +08:00
Jare Guo 74af382a61 Merge 1.9 2018-04-29 14:35:46 +08:00
Jare Guo 448aa72f2c Merge pull request #2614 from jareguo/master
add JsonAsset
2018-04-29 14:32:29 +08:00
Jare Guo 542ef017c0 add JsonAsset 2018-04-28 16:17:13 +08:00
Jare Guo 3b2117edb2 Merge pull request #2611 from jareguo/v1.9-release
minor fix, should not invoke any callback when object destroyed
2018-04-27 21:39:38 +08:00
Jare Guo 637f8460eb minor fix, should not invoke any callback when object destroyed 2018-04-27 21:38:40 +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
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +08:00
pandamicro 87a8613c39 Fix issues (#2606)
* Fix _LocalDirtyFlag undefined issue

* Fix blend function intialization issue

* Fix graphic usage issue in spine assembler
2018-04-27 09:49:14 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
PP b08233c801 TiledMapAsset: reimplement RawAsset to Asset (#2575)
* TiledMapAsset: reimplement RawAsset to Asset

* deprecated errorID 7220

* push sourceTSX to tsxFileNames

commit2

* remove Path.normalize()

* tiledmap: change arg tsxMap


commit
2018-04-26 21:50:04 +08:00
Jare Guo 1ce0134f26 fix api doc 2018-04-26 19:20:35 +08:00
James Chen 16de00f09e The textview of debugging info should also display whether GL opt mode is enabled. (#2603) 2018-04-26 16:51:34 +08:00
Jare Guo 26b50ded52 Merge v1.9 2018-04-26 15:31:49 +08:00
Jare Guo 9ac3ac786e Merge pull request #2598 from pandamicro/poly3d
Tranform properties API polyfill for 3d
2018-04-26 12:46:49 +08:00
Jare Guo 4fe4f50e81 Merge pull request #2600 from jareguo/master
refine api doc
2018-04-26 12:44:25 +08:00
Jare Guo 5da0f872ee refine api doc 2018-04-26 12:43:33 +08:00
pandamicro 6bf14fef51 Avoid configurable property and avoid editor issue 2018-04-26 11:32:17 +08:00
Jare Guo 013f155882 fix ZERO blend mode on web (#2597)
* stash

* fix ZERO blend mode support
2018-04-26 11:05:57 +08:00
pandamicro 4f1f0a7cfb Fix issues 2018-04-26 10:52:46 +08:00
pandamicro 661c5327e7 Tranform properties API polyfill for 3d 2018-04-26 09:35:48 +08:00
Jare Guo 61da29b375 Merge pull request #2596 from umbrellaPP/v1.9-release
fix audioSource destroy bug
2018-04-25 16:51:50 +08:00
PP cbc1dd7d09 fix audioSource destroy bug 2018-04-25 16:42:38 +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
Knox 6907cb9ef4 fix motionstreak api bug (#2588) 2018-04-25 11:05:23 +08:00
Knox e8b7b00a3c fix wx cc.RenderTexture.create for engine/issues/2549 (#2590) 2018-04-25 11:03:53 +08:00
PP aa5c9bba27 set event.detail as null (#2589)
Release event.detail before put to pool & fix wx.getOpenDataContext issue
2018-04-24 22:26:04 +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 025b06de5f Merge pull request #2581 from CocosAss/v1.9
fixed the sequence can't excute the action correctly problem
2018-04-24 18:57:44 +08:00
pandamicro c80c8328b4 Avoid dynamic atlas affect hard edge textures (#2586) 2018-04-24 17:18:03 +08:00
minggo efee3b49ce adjust codes to unify js_loadImage binding codes (#2585) 2018-04-24 16:37:51 +08:00
Jare Guo bab9aa02be Merge pull request #2584 from CocosAss/v1.9-release
Correct circleci config
2018-04-24 16:36:15 +08:00
Cocos Ass f2c0c3acc6 Correct circleci config 2018-04-24 16:32:44 +08:00
Jare Guo dae3c57522 Merge pull request #2583 from pandamicro/tex-asset
Support serialize & deserialize texture wrap mode & filter
2018-04-24 16:18:24 +08:00
pandamicro 0bc8079166 Support serialize & deserialize texture wrap mode & filter 2018-04-24 14:31:12 +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
Jare Guo b0d11deffa Merge pull request #2566 from CocosAss/next
fixed Layout can't caculate the width size correctly
2018-04-23 00:57:36 +08:00
Cocos Ass 969e8893c0 fixed the sequence can't excute the action correctly problem 2018-04-22 15:28:20 +08:00
Cocos Ass eef5f1cd4c fixed Layout can't caculate the width size correctly 2018-04-22 15:20:44 +08:00
Jare Guo 10681a7604 Merge pull request #2579 from cocos-creator/v1.9
rebase v1.9-release to 1.9.2
2018-04-21 14:06:03 +08:00
minggo a07f1840c9 optimize memory usage (#2577) 2018-04-20 19:35:09 +08:00
James Chen 42da2ed086 Fixes pixelStorei is aync method when it's invoked in texImage2D. (#2578) 2018-04-20 19:34:21 +08:00
Jare Guo 0cbdd1119d Merge pull request #2576 from wuzhiming/fix_texture
fix getTexture bug
2018-04-20 17:55:08 +08:00
wuzhiming 05bc4ce787 fix texture bug 2018-04-20 17:46:59 +08:00