Commit Graph

17466 Commits

Author SHA1 Message Date
zxx43 eea9c12084 reduce clear frequency & check translate or rotate in updateWorldTransform function https://github.com/cocos-creator/3d-tasks/issues/7487 (#8757) 2021-06-04 12:56:31 +08:00
mmyduckx d1832d0e5d fix tilesets when using multi-image (#8715) 2021-06-04 11:43:38 +08:00
PP da2130e694 support AudioSource.EventType (#8758) 2021-06-04 11:39:18 +08:00
Yun Hsiao Wu 9e0a8eaf7b vk: enable triple buffer (#3597) 2021-06-04 11:22:36 +08:00
江战 d79a586393 3.3 sevalue to native validation (#3560) 2021-06-03 18:02:53 +08:00
mmyduckx 969c36f742 fix tilenode.matrix bug & set grid in tiledtile (#8747) 2021-06-03 16:34:21 +08:00
Bird 4a243f51e0 [refine] remove cocos-runtime platform (#8739) 2021-06-03 14:03:51 +08:00
mmyduckx 68211a1a66 fix spine attach node bug (#8583) 2021-06-03 13:44:43 +08:00
GengineJS 2315b4d2dd Pipeline memory pool removed (#8738) 2021-06-02 17:23:02 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
江战 770ce3816b Remove cocos2dx_files.json (#3593) 2021-06-02 15:40:53 +08:00
Cocos Robot 514c194d8e [ci skip][AUTO]: updating jsbinding automatically: 441e739c (#3592)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-06-02 15:40:23 +08:00
PP 6c03fd936a support system.onClose(cb) && system.close() (#8674)
* support `system.onClose(cb)`

update

* optimize game.end()

* update
2021-06-02 14:47:40 +08:00
Leslie Leigh (李的序) 37d4f4aadf Add morph normals import setting (#8749) 2021-06-02 13:56:38 +08:00
江战 432cfefdc6 delete local class references (#3595) 2021-06-02 13:38:42 +08:00
cary 73f170debb Fix attribute crash on native. (#8732) 2021-06-02 11:26:23 +08:00
zxx43 e1f5d7393a V3.1.2 optimization #7487 (#8743)
* optimize fillBuffers & updateWorldTransform

* modify _updateWorldAlpha & invalidateChildren

* 3d should consider parent rotation, so use the Vec3.transformMat4 function

* remove if check null

* remove if check
2021-06-02 11:25:40 +08:00
Cocos Robot 84173cafe5 [ci skip][AUTO]: updating jsbinding automatically: bac054d0 (#3594)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-06-02 09:59:34 +08:00
江战 bac054d066 [3.3] reflection.callStaticlMethod() throw exception (#3589)
* add exceptions

* linter
2021-06-02 09:41:41 +08:00
PP 441e739c8e fix keys SHIFT, CTRL and ALT on MacOS platform (#3587)
* fix keys SHIFT, CTRL and ALT on MacOS platform

* remove header
2021-06-02 09:40:41 +08:00
Cocos Robot 5f8c114818 [ci skip][AUTO]: updating jsbinding automatically: a6d3d415 (#3588)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-06-02 09:39:45 +08:00
Yun Hsiao Wu 1ebe420662 structure adjustments (#3532) 2021-06-02 09:39:13 +08:00
ChiaNing 968173d595 fix mask & graphics memory leak (#8746)
* fix mask & graphics memory Leak

* misc fix
2021-06-01 19:24:26 +08:00
江战 a6d3d415a5 3.3 ohos fix compile error (#3586) 2021-06-01 16:56:38 +08:00
jiaxin.lai c4cbb38011 optimize bullet and fix js sync to native (#8725)
* stash

* stash

* fix sync js rotation to native

* discard change the average time
2021-06-01 16:38:20 +08:00
mmyduckx a224d5384b fix remove imageAsset._texture usage for db/spine (#8742) 2021-06-01 14:25:11 +08:00
minggo 102d524eac Merge pull request #3536 from minggo/merge_v32
Merge v32
2021-06-01 13:56:35 +08:00
PP 2b39e5f58a fix the invalid keyCode on Windows platform (#3585)
* fix F1-F12 keyboard event on Windows platform

* fix keys MENU, INSERT, SCROLL_LOCK, PAUSE, PRINT on windows platform
2021-06-01 13:41:48 +08:00
江战 675f1bd064 unused function (#3582) 2021-06-01 11:30:26 +08:00
Yun Hsiao Wu eccbbba7d0 gfx: fewer copies of dynamic offsets (#8741) 2021-06-01 11:25:53 +08:00
Myway 0a452691c8 fix terrain-asset load invalid data (#8726)
Co-authored-by: Myway3D1 <404793124@qq.com>
2021-05-31 14:53:07 +08:00
江战 1029bd2759 fix some bugs (#3581) 2021-05-28 18:39:14 +08:00
Zeqiang Li 5466255d41 fix mobile webgl precision issue (#8724) 2021-05-28 11:12:14 +08:00
kenshin dc1f92e84c fix audio broken when do an phone call. (#3574) 2021-05-27 15:06:15 +08:00
mmyduckx 532af610fd Clear platform (#3573) 2021-05-27 13:53:40 +08:00
Yun Hsiao Wu 0fc8e6fbbe node related optimizations (#8716)
* opt: node.invalidateChildren

* opt: cache pass states

* make hasChangedFlags visible to native

* fix switch case indent rule
2021-05-27 10:19:37 +08:00
Yun Hsiao Wu ed60fc8e85 sync new hasChanged structure (#3568) 2021-05-27 10:19:33 +08:00
Jamie Anthony Morris 840a15407c Add for consistency between Webgl and WebGl2 (#8719)
Co-authored-by: Jamie Anthony Morris <Jamie.Morris@cocos.com>
2021-05-27 10:08:45 +08:00
jiaxin.lai f58bcd2536 enable physx in preview (#8717)
* enable physx in preview

* remove source map to avoid oom
2021-05-26 17:40:05 +08:00
Leslie Leigh (李的序) af9f464e5b Resolves that build with @cocos/physx causes memory crash(3.2) (#8713) 2021-05-26 17:25:24 +08:00
Leslie Leigh (李的序) 1c2f519124 Resolves that build with @cocos/physx causes memory crash (#8712) 2021-05-26 17:24:21 +08:00
Yun Hsiao Wu 8bec8ac9e5 sync enum values (#3564) 2021-05-26 13:57:38 +08:00
江战 a645fb917f [3.2] remove video surface provider (#3559) 2021-05-26 13:57:00 +08:00
Yun Hsiao Wu d8890c558f optimize WebGLCmdFuncBindStates (#8705) 2021-05-26 12:36:19 +08:00
mmyduckx 15188bd436 fix Data type conversion bug (#3558) 2021-05-26 09:49:26 +08:00
jiaxin.lai 7f10008838 support getAABB and getBoundingShpere (#3563) 2021-05-25 20:14:26 +08:00
jiaxin.lai 83c09dbbef support getAABB and get bounding sphere in jsb (#8710) 2021-05-25 19:11:33 +08:00
jiaxin.lai f01c3b3053 override physx instantiate in jsb (#8709)
* fix set damping

* override physx instantiate in jsb
2021-05-25 18:41:41 +08:00
Santy-Wang eb21984063 adjust event name and introduce event_begin_frame (#8708) 2021-05-25 16:11:56 +08:00
ChiaNing 8cd3d8be28 fix graphics bug cause submodel bug (#8704) 2021-05-25 16:08:59 +08:00