Commit Graph

1436 Commits

Author SHA1 Message Date
pandamicro eb48ae0982 Fix window.rAF is not a function issue on native platform (#7769) 2020-11-12 11:10:27 +08:00
Yun Hsiao Wu e734e1ac3d fix terrain effect (#7768) 2020-11-12 11:06:41 +08:00
ChiaNing f2f68c61d7 uiComp check bug fix (#7766) 2020-11-11 23:13:01 +08:00
ChiaNing f3d62ce258 mask invert bug fix & uiComp check (#7758)
* mask invert bug fix

* uiComp check
2020-11-11 19:13:37 +08:00
Santy-Wang 95b2c2ad5a fix imageBitmap auto premultiply alpha (#7761) 2020-11-11 18:55:29 +08:00
cary 1221a88979 Fix the WrapMode issue of particle curves. (#7757) 2020-11-11 15:54:35 +08:00
troublemaker52025 82f87f3776 fix shadow map no binding warning (#7754) 2020-11-11 12:03:37 +08:00
troublemaker52025 3c669c4d9f Add spot light shadow for 3D (#7643) 2020-11-11 10:15:42 +08:00
Yun Hsiao Wu 0c8ebc83bc fix flat buffer generation (#7751) 2020-11-10 19:30:22 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Santy-Wang 38277a2403 Encapsulates a method to replace System.import (#7747) 2020-11-10 17:30:02 +08:00
Yun Hsiao Wu 91ba93c7f1 update internal effect names (#7744) 2020-11-10 11:36:25 +08:00
zheng han b5770d3f69 fix pass error (#7735) 2020-11-09 19:54:35 +08:00
troublemaker52025 a91c502082 fix merge lost for 3.0 (#7742) 2020-11-09 19:50:34 +08:00
ChiaNing a6fc79acb4 change canvas z position (#7741) 2020-11-09 18:18:50 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
ChiaNing 598567bec0 Draw more frames when pause on Runtime&Alipay (#7738) 2020-11-09 16:46:40 +08:00
coulsonwang bb0ef38f4b reduce native getPhase jsb calls (#7737) 2020-11-09 15:35:49 +08:00
cary d94fa376c5 Fix the problem of pass id out-of-bounds. (#7736) 2020-11-09 13:07:12 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Jare Guo 676c267150 remove RawAsset (sync #6286) (#7697) 2020-11-08 22:45:15 +08:00
yufang.wu 623ef85041 Sync the PR of 2D. (#7730)
* Sync the pr #7262 and #7315 of 2D.

* Commit changes
2020-11-08 22:43:51 +08:00
Santy-Wang 84fd3bc011 Use new deprecating mechanism (#7732)
* use new deprecating mechanism

* refine

* refine log

* refine
2020-11-08 22:42:27 +08:00
ChiaNing 9de860f409 layer Changed event add (#7729) 2020-11-07 17:52:12 +08:00
cary 449e250d7f Fix invalid buffer pool handle error. (#7718) 2020-11-07 11:36:41 +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 46e1579b61 misc fix (#7720)
* Node component help doc add

* UI transform disallow Multiple
2020-11-07 11:29:21 +08:00
Leslie Leigh (李的序) b6937ea897 Fix foolish bug! (#7726) 2020-11-07 11:11:09 +08:00
Yun Hsiao Wu dadb9b3cfd fix light pass indices opt (#7712) 2020-11-06 18:34:32 +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
cary 71dd7c2010 Remove director._maxParticleDeltaTime. (#7717) 2020-11-06 17:15:00 +08:00
minggo 69f6f2bf1a use buffer pool instead (#7714) 2020-11-06 13:38:11 +08:00
GengineJS 645357ef48 [Feature] Support editbox under gameview (#7710) 2020-11-05 18:55:25 +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
Jare Guo a0d5508779 simplify attribute implements (sync #5040) (#7679) 2020-11-05 17:37:56 +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
Santy-Wang eca57fdca8 sync 2d (#7703)
* sync 2d

* fix ci

* refine
2020-11-05 15:51:51 +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
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
GengineJS 0c42a3d14e [Feature] profiler adapts to gameView (#7695) 2020-11-04 17:53:02 +08:00
coulsonwang 0030867f63 fix native batched buffer (#7682) 2020-11-04 16:17:27 +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
jiaxin.lai 96d166cd28 fix render area of splash screen (#7678) 2020-11-02 18:59:18 +08:00
ChiaNing 15d8ab874b ui renderable comp onRestore add (#7677) 2020-11-02 18:52:09 +08:00
jiaxin.lai a3a2e7a7c2 tweaks of deprecated&tween due to loose mode (#7671)
* disable enumerable deprecated property

* add some filtering to tween
2020-11-02 16:28:23 +08:00