Commit Graph

17466 Commits

Author SHA1 Message Date
PP ec36b5e700 fix EditBox.background.node is null (#9298)
* detect editBox background.node

* unregister editbox backgroundImage event on disable phase
2021-09-07 16:46:24 +08:00
PP 97b3657549 migrate input module out of platform (#9296)
* migrate input module out of platform

* revert EventKeyboard.isPressed deprecation

* fix CI
2021-09-07 15:24:43 +08:00
jk20012001 73ece827cf fix shadow artifacts in toon shader,synchronize modifications with builtin standard effect (#9297)
* 修复卡通渲染的阴影问题,和builtin-standard之前的修改同步

* 缩进修改
2021-09-07 15:16:05 +08:00
GengineJS e36e5e8fee Fixed prefab incorrect in native location (#9293) 2021-09-07 14:51:45 +08:00
PP c412d3a815 support touch manager on PAL (#9281)
* support touch manager

* update inputmanager

* update event manager

* optimize code
2021-09-07 14:10:04 +08:00
zxx43 de64ca9baa optimize update index buffer (#9278) 2021-09-07 11:18:47 +08:00
timlyeee ad048dff55 Change Windows Simulator from X86 to X64 (#3866)
* change simulator version from x86 to x64
* Fix some bugs for x64 version simulator
2021-09-07 09:58:52 +08:00
江战 9d264d289d fix ws crash (#3869) 2021-09-07 09:58:23 +08:00
江战 9675c4fbd0 V3.3.1 fix api 30 crash (#3867) 2021-09-07 09:47:56 +08:00
Leslie Leigh (李的序) 416753320a Curve document (#9228)
* Curve document

* Update

* update

* Update

* Update
2021-09-06 23:15:56 +08:00
linshunjun e1a14c0f58 update-(shading-toon.chunk)-fix-shadow (#9287) 2021-09-06 20:15:19 +08:00
troublemaker52025 689962baeb fix spotShadow soft merge error for v3.3.1 (#9290) 2021-09-06 19:16:28 +08:00
zxx43 8d61f407e7 add serializable (#9291) 2021-09-06 18:53:23 +08:00
troublemaker52025 40a40a00ef Remove shadow.autoAdapt property for v3.3.1 (#9286)
* Remove shadow.autoAdapt property for v3.3.1

* update
2021-09-06 18:48:26 +08:00
Yun Hsiao Wu 2134db8c4e fix fg exec storage (#3865)
* fix swapchain resize

* fix fg exec storage
2021-09-06 15:28:57 +08:00
zhakesi 009c6a9c80 fix: native platform set spine paused state not work (#9279) 2021-09-04 12:16:48 +08:00
Myway b726205bd8 submit terrain select brush (#9282) 2021-09-04 12:15:09 +08:00
Leslie Leigh (李的序) 87775ff2b4 Fast define curve (#9276)
* Fast define curve

* Use fastDefine
2021-09-03 18:57:02 +08:00
江战 f0091e6bed 3.3 remove attribute __object_id__ by default (#3864)
* disable object id by default

* fix linter
2021-09-03 16:26:53 +08:00
Myway 207c960aed fix terrain reset error (#9274)
* fix terrain reset error

* add get weight map interface

* fix eslint error
2021-09-03 10:51:49 +08:00
Cocos Robot a44fe63ae7 [ci skip][AUTO]: updating jsbinding automatically: 46976eff (#3862)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-02 20:00:46 +08:00
troublemaker52025 46976eff2d Shadow culling for v3.3.1 (#3810) 2021-09-02 19:34:51 +08:00
troublemaker52025 d90ae9227f Shadow culling for v3.3.1 (#9152)
* pre culling

* update culling

* update

* update

* update

* update

* add jsb

* fix ci

* update

* update fov to netave-engine

* update Shadow Projection

* update merge

* update

* fix ci error

* update

* update

* update

* update

* update

* update

* update shadow default value

* update boundingBox Method

* update _shadowpos

* update

* update

* update

* update

* rename range to shadowRange
2021-09-02 19:10:03 +08:00
Leslie Leigh (李的序) 01ed77565a Optimize RealKeyframeValue constructor (#9273) 2021-09-02 18:19:38 +08:00
江战 16ccd6998e 3.3.1 优化属性访问 (#9265)
* opt for non-jit

* move out var

* revert

* Update cocos/core/scene-graph/node.ts

* reduce access property

* Update cocos/core/scene-graph/node.ts

* use normal for loop
2021-09-02 17:21:05 +08:00
Zeqiang Li ee6ab09e96 metal drawable udpate (#3858) 2021-09-02 11:07:38 +08:00
troublemaker52025 c1c6885945 add soft shadow for spotLight v3.3.1 (#9162)
* add soft shadow for spotLight v3.3.1

* fix merge error
2021-09-02 11:05:47 +08:00
PP 400ef282fb support audio buffer manager (#9270) 2021-09-02 11:03:20 +08:00
Zeqiang Li d861a08b4b metal extra viewport issue (#9271) 2021-09-02 10:49:48 +08:00
Yun Hsiao Wu 47305ec5c5 GL: smarter framebuffer cache (#3860) 2021-09-01 20:47:54 +08:00
PP d5ccf5d7c7 add sprite frame changed event listener on EditBox (#9266) 2021-09-01 18:03:43 +08:00
江战 5c8713cbc6 return string (#3855) 2021-09-01 16:00:24 +08:00
GengineJS fd1ea41235 Fix the problem of deferred pipeline uimodel without light and metal crash (#9261)
* Fix the problem of deferred pipeline uimodel without light and metal crash

* update effect

* update comment

* update comment

* modify comment
2021-09-01 15:51:56 +08:00
mmyduckx ae02dfc02e remove old icon format in cmake (#3856)
* remove icon in cmake

* add camke config for AppIcon
2021-09-01 15:20:02 +08:00
ChiaNing 77177ec8f3 hack for iOS 14 to use mesh Buffer slice (#9248) 2021-09-01 13:39:52 +08:00
PP 2435520c88 revert deprecate EventKeyboard.isPressed (#9268) 2021-09-01 13:35:54 +08:00
ChiaNing 3412025645 add widget dirty when target anchor change (#9267) 2021-09-01 12:46:06 +08:00
Cocos Robot 692a08973c [ci skip][AUTO]: updating jsbinding automatically: f049a58a (#3854)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-09-01 09:34:34 +08:00
mmyduckx f049a58ae2 update icon for all platforms and Appsimulator (#3853) 2021-08-31 19:46:25 +08:00
Yun Hsiao Wu 4cf1350fe0 gfx: swapchain refactor (#9030)
* update effect.hideInEditor

* swapchain refactor

* webgl multi draw

* implicit depth/stencil format

* native adapt

* explicit resizable texture

* DrawInfo in InputAssembler

* device cached states

* sync defines

* gfx: empty backend

* update playground

* remove profiler camera

* update effect types

* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
Yun Hsiao Wu da2f03ff73 gfx: swapchain refactor (#3751)
* gfx: swapchain

* acquire/release/surface on swapchain

* fix swapchain texture creation

* acquire/present back on device

* formats are swapchain-specific

* swapchain: vk works

* enable device agent

* format fix

* update gfxdef

* fix enum decl

* pipeline adapt

* minor

* vk: compress attr locations directly in SPIR-V

* gles3 adjust

* InputAssembler owns an DrawInfo

* gles2 adapt

* texture keep track of its hash

* device cached states

* format

* glslang finalize

* buffer view adapt

* fg: subpass support

* minor

* 3.4 adapt

* profiler adapt

* buffer update frequency detection

* minor

* base commit

* swapchain works on metal

* spirv

* mtltexture issue

* remote test code

* depthtexture

* revert ifdef USE_METAL

* ios swapchain header

* fix some triple buffer issues

* resize accept surface transform

Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com>
2021-08-31 19:40:32 +08:00
pandamicro d059d03461 Add macro.ENABLE_GLES_ANTIALIAS (#9243)
* Rename macro.ENABLE_WEBGL_ANTIALIAS to macro.ENABLE_ANTIALIAS

* Upgrade game

* Rename to  ENABLE_GL_ANTIALIAS

* Improve api doc

* Revert scheduler

* Add ENABLE_GLES_ANTIALIAS

* Set default gles antialias to false
2021-08-31 13:51:55 +08:00
Leslie Leigh (李的序) 5146f672a3 Fix EditorExtendable when compile in babel loose (#9264) 2021-08-31 13:49:29 +08:00
ChiaNing ee6d6e57e0 fix button original Scale bug (#9237)
* fix button original Scale bug

* update to apply Target

* check target valid

* add test
2021-08-31 09:07:51 +08:00
zxx43 4d4f62b407 V3.3.1 curve (#9260)
* fix curve loop bug

* add multiplierMax

* restrict some curve ranges

* revert curve

* add range to all curve

* add

* add
2021-08-30 16:56:36 +08:00
PP 6bf458920c add enableAutoFullScreen deprecate info (#9251) 2021-08-30 10:25:10 +08:00
timlyeee 0a742ad421 Fix issue for android bug (#3852)
* https://forum.cocos.org/t/topic/119306/142
2021-08-26 16:48:46 +08:00
zhakesi 0f048e703e fix:when undo operation of move, spine disappear (#9252) 2021-08-26 15:40:12 +08:00
zheng han d07ad2e584 fix anim preview (#9220) 2021-08-25 19:23:16 +08:00
江战 e551852933 fix bugs (#9247) 2021-08-25 18:46:15 +08:00