Commit Graph

11345 Commits

Author SHA1 Message Date
ChiaNing cbc142f89c fix label memory leak when destroy (#9677)
* fix label memory leak when  destroy

* function move
2021-11-17 17:15:19 +08:00
Leslie Leigh (李的序) 05484abc30 Rename animation.StateStatus -> animation.MotionStateStatus (#9675) 2021-11-17 15:55:03 +08:00
zheng han c1dccb9c7e 1. fix typos (#9673)
2. export TweenAction
2021-11-17 13:44:42 +08:00
jk20012001 dea29af42d unlit shader linear mode (#9671) 2021-11-16 18:44:01 +08:00
jk20012001 d3fe96f5cc Fix linear color in other effects (#9665)
* Fix linear color in other effects

* Update compiled shaders

* Fix name
2021-11-16 17:48:38 +08:00
zxx43 9d9481fb54 revert (#9668) 2021-11-16 10:34:51 +08:00
pandamicro 4c526a60c7 Update comment about component.schedule 2021-11-16 10:10:02 +08:00
zxx43 781ae1a6dc V3.4 vulkan shader fix (#9663)
* fix pseudoRandom vulkan compatible issue

* refine shader

* add comment for this issue
2021-11-15 20:03:39 +08:00
PP 55299dc7fa start audioSourceBufferNode before running audio context (#9660)
* start audioSourceBufferNode before running audio context

* remove test
2021-11-15 11:37:29 +08:00
timlyeee cddda466a2 fix eslint for splash-screen.ts (#9662) 2021-11-15 10:09:05 +08:00
PP 93352ac8e7 fix nodeEventProcessor.once() (#9649)
* fix `nodeEventProcessor.once()`

* optimize return type

* support _registerOffCallback in CallbacksInvoker
2021-11-15 10:08:27 +08:00
Leslie Leigh (李的序) a23c8aa98d Update fbx meta (#9653) 2021-11-13 20:05:46 +08:00
zhangxin 4f40ae2fef add quote-props rules and eslint fix (#9656) 2021-11-13 17:44:58 +08:00
timlyeee 3b7d6ce7be Mixin => Addon for pipeline (#9648) 2021-11-13 15:38:44 +08:00
Santy-Wang 2b0d7daf3d fix pvd error (#9654) 2021-11-13 15:37:40 +08:00
Santy-Wang 89f8cfbad3 optimize layer (#9658)
* optimize layer

* refine
2021-11-13 15:33:07 +08:00
PP 6096119f62 support input dispatch immediately (#9652)
* support input.dispatchImmediately

* optimize input._frameDispatchEvents()

* optimize dispatchOrPushEventTouch

stash

* no need to ban frame dispatch events

* change dispatchImmediately as private property
2021-11-12 20:12:36 +08:00
timlyeee e0d8758fcb [temp hack] use simple flag to pause splashScreen (#9606)
* use simple flag to control framemove

* Pause splashScreen for native platform as windows

* .

* remove unused include

* rename functions
2021-11-12 14:39:53 +08:00
ChiaNing 935a47f31a Fix overrides bug when preview (#9650)
* Fix overrides bug when preview

* Remove GPUDriven override
2021-11-12 10:36:57 +08:00
PP 1abbc90c23 compability for PROPORTIONAL_TO_FRAME container strategy (#9642)
* support isProportionalToFrame field on screen-adapter

update

stash

* rename _setupContainer to _setupCanvas

* optimize view.setResolutionPolicy()

* remove TIME_OUT to handle resize event

* compability for PROPORTIONAL_TO_FRAME container strategy

comp

update

* add NOTE

* optimize 'window-resize'

resize

* deprecate game.frame && game.container

deprecate

game

* close screen.resolutionScale interface

close

* fix npm test

* fix view unit test

* space
2021-11-11 19:24:39 +08:00
Yun Hsiao Wu a3bc15d83d misc fixes (#9631)
* prefer D24S8 first

* webgl creates only one context

* restore render area semantic

* fix inefficient usages in pipeline

* fix raycast pre-rotation adaptation

* draw profiler only once
2021-11-11 17:21:09 +08:00
黄森斌 1a03cd1f0b fix render-texture edit (#9635) 2021-11-10 23:02:27 +08:00
Myway 836aa99122 fixed error when terrain component deleted and undo set terrain asset (#9646) 2021-11-10 22:52:30 +08:00
jk20012001 4f3d85ab78 Fix fog macro->function arguments type error (#9637)
* Fix fog macro->function arguments type error
Fix fog color linear conversion

* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
PP ab69d20027 Revert "deprecate ENABLE_WEBGL_ANTIALIAS (#9626)" (#9645)
This reverts commit 5ffc4482cd.
2021-11-10 11:27:51 +08:00
Leslie Leigh (李的序) 3b4892ef41 Fix typing on Node.getComponent(3) (#9634) 2021-11-05 18:39:21 +08:00
jk20012001 f488ea0bb1 Fix initialize function override mip levels(groundalbedo.w) (#9633)
* Fix initialize function override mip levels(groundalbedo.w)

* Code style
2021-11-05 17:51:00 +08:00
jk20012001 7ad092a260 Fix: linear color conversion without alpha channel (#9620)
* Fix: linear color conversion without alpha channel

* Code style
2021-11-05 15:22:23 +08:00
Zhang mingzhen 60cae28a26 Optimize label serialization of "spacingX" and "underlineHeight" on v3.4 (#9628)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:09 +08:00
PP d39ce3d3d8 support preventSwallow on EventMouse && EventTouch (#9621)
* support swallowedByTopNode on EventMouse && EventTouch

* experimental

* deprecation

* revert deprecate touch

* use swallowEvent

* update

* use preventSwallow
2021-11-05 14:04:54 +08:00
Leslie Leigh (李的序) 309af621ec Fix typing on Node.getComponent(2) (#9632)
* Fix typing on Node.getComponent() (#9622)

* Fix typing on Node.getComponent()

* Update

* Fix typing on Node.getComponent
2021-11-05 14:03:31 +08:00
PP 5ffc4482cd deprecate ENABLE_WEBGL_ANTIALIAS (#9626)
* deprecate ENABLE_WEBGL_ANTIALIAS

update

* remove deprecation usage
2021-11-05 10:40:51 +08:00
zxx43 fbdc0ef287 add renderCulling tool tip (#9619) 2021-11-04 23:16:14 +08:00
PP dea48a404c remove DPR hack on vivo platform (#9625) 2021-11-04 23:07:48 +08:00
Leslie Leigh (李的序) 41f81a5ca9 Revert "Fix typing on Node.getComponent() (#9622)" (#9627)
This reverts commit 34ace04e9f.
2021-11-04 23:06:44 +08:00
Leslie Leigh (李的序) 34ace04e9f Fix typing on Node.getComponent() (#9622)
* Fix typing on Node.getComponent()

* Update
2021-11-04 18:04:57 +08:00
ChiaNing fd20b561be remove GPU_DRIVEN flag (#9617) 2021-11-04 12:44:24 +08:00
alpha 643444d597 Fix color.fromHex function can't set alpha to zero (#9614) 2021-11-04 12:33:08 +08:00
黄森斌 5f36cbdfff export BindableNumber from animationApi (#9615) 2021-11-04 12:12:25 +08:00
Yun Hsiao Wu fa1ad1eee6 pass owns instanced/batched buffer (#9605)
* pass owns instanced/batched buffer

* no zero-sized buffer

* fix effect default content
2021-11-04 12:08:07 +08:00
zxx43 a897c04885 deprecate enableCulling (#9616) 2021-11-04 12:03:44 +08:00
zxx43 b12d9cac59 Fix tooltip mistake (#9603)
* fix doc mistake

* modify some description

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-04 00:13:47 +08:00
W-MTZing f535925cb7 fixed Cocos play getting Webgl error (#9609) 2021-11-03 23:53:57 +08:00
zxx43 02094d319c Change enable culling to render culling & replace enable culling as data culling (#9611)
* remove enable culling & use render culling instead

* fix setter
2021-11-03 23:52:33 +08:00
zhangxin f3d04f76c0 Refactor particle system render culling (#9613)
* enableCulling to data Culling

* Update particle-system.js
2021-11-03 23:52:14 +08:00
Leslie Leigh (李的序) c961d105f3 Triggers should be only reset when a motion state arrived (#9612)
* Triggers should be only reset when a motion state arrived

* Code

* Fix
2021-11-03 19:43:53 +08:00
GengineJS 911e3bdb95 Calculate shadingscale when initializing framebuffer (#9608) 2021-11-03 18:36:14 +08:00
Leslie Leigh (李的序) 48dbbe3293 Respect to wrap mode of animation clip (#9607) 2021-11-03 16:43:19 +08:00
PP 14a34d2c17 reset currentTime when stop native audio (#9604) 2021-11-03 16:41:34 +08:00