Commit Graph

9955 Commits

Author SHA1 Message Date
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
minggo a705618093 Cache CanvasRenderingContext2D properties as possbile (#7749)
* cache CanvasRenderingContext2D properties

* cache CanvasRenderingContext2D attributes

* cache CanvasRenderingContext2D properties

* create canvas with default widht/height

* fix typo
2020-11-10 19:13:33 +08:00
zhefeng.zhang f8474892f8 fixed tiledTypeSprite error (#7748) 2020-11-10 19:01:09 +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
Knox 37f46ca8ea improve particle system 2d (#7739)
* improve particle system 2d

1.add tooltip
2.improve code

* improve code

* improve code
2020-11-10 11:58:13 +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
cary 64c090968f Fix the crash when switching between particle scenes on native. (#7743)
* Fix the crash when switching between particle scenes on native.

* fix ci
2020-11-09 19:52:55 +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
Knox 6677e39fd2 improve _underlineHeight init value to 2 in the label (#7733) 2020-11-07 17:51:14 +08:00
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
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
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
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
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
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