Commit Graph

17466 Commits

Author SHA1 Message Date
PP fbcb4aea40 fix audio can't play on native platform (#7728) 2020-11-07 14:39:24 +08:00
cary 449e250d7f Fix invalid buffer pool handle error. (#7718) 2020-11-07 11:36:41 +08:00
zhefeng.zhang 153b7d0876 sync 2d pr 7211 (#7715) 2020-11-07 11:35:38 +08:00
cary 1610446ddc Fix the error of getter override. (#7725)
* Fix the error of getter override.

* delete property
2020-11-07 11:33:38 +08:00
ChiaNing 68df7cbebd video-player check (#7719) 2020-11-07 11:30:19 +08:00
ChiaNing 46e1579b61 misc fix (#7720)
* Node component help doc add

* UI transform disallow Multiple
2020-11-07 11:29:21 +08:00
SijieWang 446098d788 Complete terrain property type declaration (#7721)
* 补全地形类型定义

* review code
2020-11-07 11:16:16 +08:00
Leslie Leigh (李的序) b6937ea897 Fix foolish bug! (#7726) 2020-11-07 11:11:09 +08:00
黄森斌 f8f7e4acee update .rpp file template data (#7724) 2020-11-07 11:02:20 +08:00
Yun Hsiao Wu dadb9b3cfd fix light pass indices opt (#7712) 2020-11-06 18:34:32 +08:00
kenshin 2ad036ba09 3d gfx 2 4 3 patch (#2984)
* free AudioMix partial wake locks, and android device can enter power save

* fix audio engine crash, avoid update function reentrancy.

* fix hot update issue.

* avoid a NULL point crash when ScriptEngine::cleanup
2020-11-06 18:03:49 +08:00
吴智明 6ef6f267b1 fix project name bug when build android (#2985) 2020-11-06 18:02:51 +08:00
CocosRobot 79b03944aa [AUTO][ci skip]: updating cocos2dx_files.json (#2989)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-11-06 18:01:09 +08:00
minggo 956a5b2cc7 Reduce jsb (#7723)
* use JS BufferInfo

* use JS TextureViewInfo

* use JS TextureInfo

* cache some data to reduce JSB invoking

* cached buffer usage

* add RasterizerState.depthBiasEnabled

* use JS DescriptorSetInfo

* add RasterizerState.depthBiasEnabled
2020-11-06 17:33:02 +08:00
minggo aa194152e5 Reduce jsb (#2986)
* convert BufferInfo

* convert JS object to TextureViewInfo

* convert JS object to TextureInfo

* convert JS object to DescriptorSetInfo
2020-11-06 17:32:44 +08:00
cary 71dd7c2010 Remove director._maxParticleDeltaTime. (#7717) 2020-11-06 17:15:00 +08:00
ChiaNing 6ba1c6e477 Compress Texture bug fix & ASTC Support (#2983)
* Compress Texture bug fix & ASTC Support
2020-11-06 16:58:24 +08:00
minggo 69f6f2bf1a use buffer pool instead (#7714) 2020-11-06 13:38:11 +08:00
yinkaile 8809e0ba46 3d box2d (#7711)
* fixed mouse joint

* refine animated type rigid body
2020-11-05 19:40:02 +08:00
GengineJS 645357ef48 [Feature] Support editbox under gameview (#7710) 2020-11-05 18:55:25 +08:00
CocosRobot 5cd479d157 [ci skip][AUTO]: updating jsbinding automatically (#2982) 2020-11-05 18:43:04 +08:00
minggo 588025afe3 Reduce jsb (#7700)
* use JS version of GFXRect/GFXViewport/GFXColor/GFXOffset/GFXExtent/GFXTextureSubres/GFXTextureCopy/GFXBufferTexrureCopy
* use BufferPool for BlendState/BlendTarget/DepthStencilState/ResterizerState
2020-11-05 18:17:18 +08:00
minggo ba517c8b14 Reduce JSB invoking(#2979)
* add conversion functions for gfx::Color/Rect/Viewport/Offset/Extent/TextureSubres/TextureCopy/BufferTextureCopy
* use buffer pool for BlendState/BlendTarget/DepthStencilState/RasterizerState
2020-11-05 18:16:20 +08:00
Jare Guo a0d5508779 simplify attribute implements (sync #5040) (#7679) 2020-11-05 17:37:56 +08:00
cary 89bfa22581 Fix the display error of particle system 2d. (#7707)
* Fix the display error of particle system 2d.

* fix public
2020-11-05 17:23:37 +08:00
Knox 594ea62016 sync 2d pr (#7698)
1.https://github.com/cocos-creator/engine/pull/7081
2.https://github.com/cocos-creator/engine/pull/7329
2020-11-05 17:23:28 +08:00
JoneLau b2a001a21b move SubContextView to ui (#7699) 2020-11-05 17:22:51 +08:00
Santy-Wang fc44b11339 fix audio parse failed (#7706) 2020-11-05 17:18:43 +08:00
yinkaile 992be83895 fixed physics debug draw (#7704) 2020-11-05 17:16:40 +08:00
Knox d0517d72f8 Fix video not showing up in qq browser. (#7705)
(cherry picked from commit 6b2c0ee54d221f50b06044fe11c4de934b30e338)
2020-11-05 16:29:26 +08:00
Santy-Wang eca57fdca8 sync 2d (#7703)
* sync 2d

* fix ci

* refine
2020-11-05 15:51:51 +08:00
PP 2f994d1a2c add writable path to searchpath on Windows platform when reading config (#2980) 2020-11-05 13:42:34 +08:00
Yun Hsiao Wu 3e8b6ec771 raw object pool (#7683)
* raw object pool

* fix worldToScreen

* fix mesh.merge on native

* inline some adaptation computations

* enable scissor tests by default
2020-11-05 10:56:59 +08:00
PP 72ec8be7cb update gen-simulator workflow (#2971) 2020-11-05 09:46:21 +08:00
Santy-Wang 7ec03852d9 use import instead (#7696) 2020-11-04 22:16:07 +08:00
Jare Guo 47e11ac836 ensure canvas size the same as screen size during scene initialization (sync #6308) (#7685) 2020-11-04 22:15:31 +08:00
江战 99bb9bd26f [3.0] bugfix: tiledmap incorrect culling (#7690)
* do not use visibleRect

* revert primitives.fbx.meta
2020-11-04 22:14:00 +08:00
cary 9c4bb9fd9d Add default prefab of ParticleSystem2D. (#7687)
* Add default prefab of ParticleSystem2D.

* add module export
2020-11-04 22:13:38 +08:00
Yun Hsiao Wu 6ffef5b35b fix render queue sort function (#2977)
* fix render queue sort function

* enable scissor by default
2020-11-04 19:03:00 +08:00
GengineJS 0c42a3d14e [Feature] profiler adapts to gameView (#7695) 2020-11-04 17:53:02 +08:00
coulsonwang 90dfaa5768 fix ios simulator format (#2974) 2020-11-04 16:18:16 +08:00
coulsonwang 8d955f335c fix batched buffer (#2972) 2020-11-04 16:17:34 +08:00
coulsonwang 0030867f63 fix native batched buffer (#7682) 2020-11-04 16:17:27 +08:00
Leslie Leigh (李的序) 0d20b7a38c Update *.FBX meta (#7692) 2020-11-04 16:00:23 +08:00
CocosRobot 5bc0fdb6ad [ci skip][AUTO]: updating jsbinding automatically (#2975) 2020-11-04 14:04:04 +08:00
coulsonwang c38d10d2f2 fix indirect draw not supported on ios (#2973) 2020-11-04 13:49:08 +08:00
Santy-Wang ca419ca872 sync #7689 (#7691) 2020-11-04 11:01:12 +08:00
Santy-Wang 3be4d9dfbf refine d.ts (#7684)
* refine d.ts

* refine
2020-11-03 16:31:39 +08:00
Jare Guo 9bf46ac0a5 obsolete target support of deserializer (sync #6494) (#7680)
* fix merge error (resync #6285)

* fix rare editor crash caused by invalid PrivateNode data (sync #6971)

* obsolete target support of deserializer (sync #6494)
2020-11-03 13:39:23 +08:00
Knox ed963f03a1 improve video player and web view code (#7681) 2020-11-03 12:08:14 +08:00