Commit Graph

9733 Commits

Author SHA1 Message Date
minggo df0efdc74a clip more JS codes on native (#7520) 2020-10-14 09:42:32 +08:00
Knox df196b3ded update _deltaTime calculate for editor (#7503) 2020-10-13 19:09:31 +08:00
JoneLau bc96749ac3 Fix the problem of insufficient memory caused by constant clear (#7486) 2020-10-13 19:08:56 +08:00
Leslie Leigh (李的序) 0bbd77d4fd Move offline-mapping.js into engine repos (#7506) 2020-10-13 17:44:43 +08:00
minggo 8c93b9e890 clip shader.js/input-assembler.js/buffer.js (#7516) 2020-10-13 15:11:57 +08:00
Knox ad75ad86cc improve web view tooltip (#7514) 2020-10-13 10:05:05 +08:00
Leslie Leigh (李的序) 82f66b4e54 Add ccconfig.json for module overrides(alpha) (#7508) 2020-10-13 09:54:28 +08:00
minggo 249d4cd6fb use native Device (#7511) 2020-10-12 18:30:08 +08:00
minggo 27570b6750 fix circle dependence (#7509) 2020-10-12 15:55:17 +08:00
zheng han c8a4884d1a 3d physics 2d gizmo (#7493)
* add mask param to raycast

* refine code

* 1. add some decorator
2. export earcut

* add dashed line

* revert mainLoop modify

Co-authored-by: 2youyou2 <501251991@qq.com>
2020-10-12 15:50:07 +08:00
coulsonwang 35a165e8ca add SphereView to memory pool (#7484) 2020-10-12 15:05:15 +08:00
Yun Hsiao Wu 9bba200429 array pool refactor (#7496)
* refactor array pool

* ModelView.INSTANCED_BUFFER

* MRT feature flag

* minor
2020-10-12 14:25:36 +08:00
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00
Knox 04cb888694 rename webview to web-view (#7502)
* rename webview to web-view

* refine code
2020-10-12 11:36:14 +08:00
zhefeng.zhang d555cb5f93 sync 2D #6825 to 3d engine (#7467)
* sync #6825 to 3d engine

* correction code
2020-10-11 17:28:48 +08:00
江战 040ebc4f6b sync https://github.com/cocos-creator-packages/jsb-adapter/pull/210 (#7483) 2020-10-11 17:24:27 +08:00
PP 6000791697 Revert "fix sharedCanvas (#7405)" (#7495)
This reverts commit 93d3d8c5de.

# Conflicts:
#	cocos/core/assets/image-asset.ts
2020-10-11 17:20:13 +08:00
黄森斌 8ae5b52379 typescript template add document reference link (#7488) 2020-10-11 17:19:01 +08:00
Knox 1ca96f678b improve web view component (#7414)
* add web view

* add web view gizmo icon
2020-10-11 17:12:11 +08:00
minggo 3539745c14 use native Texture/TextureInfo/TextureViewInfo on native platforms (#7498) 2020-10-10 18:28:16 +08:00
ChiaNing 0382ba40c1 SPF Optimization for build (#7482)
* SPF Optimization for build

* update
2020-10-09 15:22:09 +08:00
PP 73be65cd31 support new SubContextView (#7303)
* support new SubContextView

* update

* add type property when postMessage
2020-10-08 23:57:03 +08:00
pandamicro b579427fd8 Merge pull request #7475 from pandamicro/3d
Merge v1.2 to 3.0
2020-09-30 18:37:11 +08:00
pandamicro 9d9b8d6169 Fix ci 2020-09-30 18:34:30 +08:00
pandamicro 7481303268 Merge branch '3d-v1.2' into 3d
# Conflicts:
#	cocos/core/3d/framework/camera-component.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/components/component-event-handler.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/instanced-buffer.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/shadows.ts
#	cocos/core/renderer/scene/skybox.ts
#	cocos/core/splash-screen.ts
#	cocos/ui/components/button.ts
#	cocos/ui/components/editbox/edit-box-impl.ts
#	editor/assets/primitives.fbx
#	package-lock.json
#	package.json
2020-09-30 18:01:33 +08:00
minggo c9bbcf905f GFXInputState GFXPipelineStateInfo use jsb binded class (#7473) 2020-09-30 17:25:20 +08:00
Knox 1a0ffc6af8 fix calculate delta time bug (#7471)
* fix calculate delta time bug

there is no need to calculate Delta Time under the editor.

* refine code
2020-09-30 16:21:15 +08:00
troublemaker52025 3375a5cf15 Shadow optimization (#7459)
* toon receives shadow

* fix gfx state cache

* 背面消影

* merge cc_ShadowPCF && cc_ShadowMapSize to cc_ShadowInfo;  add bias to shader and editor

* update

* merge pr #7452

https://github.com/cocos-creator/engine/pull/7452

* reomve atten; use NL

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2020-09-30 15:36:01 +08:00
Leslie Leigh (李的序) 21a6bb135a Optimize morph rendering (#7436) 2020-09-30 15:24:29 +08:00
yinkaile 6096ec001e add type definition to tween (#7368) 2020-09-30 15:22:18 +08:00
Knox 454c7bd3ee improve video player and support for Android and iOS platforms. (#7470)
* improve video player and support for Android and iOS platforms.

* refine code
2020-09-30 14:10:52 +08:00
minggo 0d29f4f3f3 make only native gfx work (#7468) 2020-09-29 14:48:43 +08:00
pandamicro 30662bd702 Merge pull request #7464 from pandamicro/3d-v1.2
Merge v1.1 into v1.2
2020-09-28 18:02:01 +08:00
pandamicro 27e36c1179 Merge remote-tracking branch 'origin/3d-v1.1' into 3d-v1.2
# Conflicts:
#	cocos/core/math/quat.ts
#	cocos/core/math/rect.ts
2020-09-28 17:55:37 +08:00
Yun Hsiao Wu f7ddf5a041 fix camera.clearColor (#7462) 2020-09-28 17:05:46 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
JoneLau 1398ad4b1c fixed vb initialization and submit twice (#7460) 2020-09-28 16:50:38 +08:00
Yun Hsiao Wu c2e3de2caa GFX: public interfaces (#7444)
* public interfaces: render pass, IA, PSO

* public interfaces: Queue, Sampler, Shader, DSLayout

* public interfaces: DS, CB, Texture, Buffer, Device

* public interfaces: other supporting structs

* fix framebuffer state cache
2020-09-28 11:32:47 +08:00
Knox 22d3869788 fix set font size invalid in rich text (#7457) 2020-09-28 10:39:28 +08:00
pandamicro 455fa20193 Revert "create terrain block bound (#7445)" (#7458)
This reverts commit dd43404370.
2020-09-28 10:39:01 +08:00
zhefeng.zhang 221014f454 sync #5924 (#7208)
Co-authored-by: zhefeng.zhang <35944775+Jno1995@users.noreply.github.com>
2020-09-27 18:07:02 +08:00
SijieWang cd9ae84ce7 fix cc.SkeletalAnimationComponent.Socket (#7453) 2020-09-27 17:43:19 +08:00
ChiaNing 34785205ff Editbox event bug fix (#7451) 2020-09-27 16:28:03 +08:00
coulsonwang 0ea7abaa25 add index.jsb.ts (#7450) 2020-09-27 15:48:33 +08:00
minggo 00f1b65311 do not adapt PipelineState (#7448) 2020-09-27 11:23:06 +08:00
Myway dd43404370 create terrain block bound (#7445) 2020-09-26 22:16:14 +08:00
cary d2cd17532a Fix ui destroy error when ui flow not exist. (#7442)
* Fix ui destroy error when ui flow not exist.

* refine code
2020-09-25 17:24:43 +08:00
minggo e439afc0ae use native PipelineStateManager in native environment (#7447) 2020-09-25 14:16:11 +08:00
minggo 76c767adf1 Buffer pool stores mix data type (#7430) 2020-09-24 09:57:07 +08:00
Yun Hsiao Wu 80461d1566 fix audio stop after interrupted (#7443)
* minor

* fix audio stop after interrupted
2020-09-23 15:56:14 +08:00