Commit Graph

17466 Commits

Author SHA1 Message Date
PP ae7635be17 add note for perperties on SubContextView component (#9676) 2021-11-18 13:47:05 +08:00
troublemaker52025 a076fb496c merge valid punctual light culling for v3.4.0 (#9664)
* merge valid punctual light culling for v3.4.0

* update

* update 2

* update 3

* update 4
2021-11-18 13:45:35 +08:00
Leslie Leigh (李的序) d5154269e2 Fix log() takes not effect if debug mode <= verbose (#9681) 2021-11-18 12:00:24 +08:00
troublemaker52025 7bf2fc0fba merge valid punctual light culling for v3.4.0 (#4048)
* merge valid punctual light culling for v3.4.0
2021-11-18 11:18:02 +08:00
江战 7ac99a900a Update compile-platforms.yml (#4049)
fix format
2021-11-18 09:55:00 +08:00
Zeqiang Li 6edf257ecf merge clear vp pass (#4052) 2021-11-18 09:52:49 +08:00
Yun Hsiao Wu 2ff4e8a8cf set model dirty when attaching to scene (#9674) 2021-11-17 18:54:09 +08:00
Yun Hsiao Wu 083b9fe436 set model dirty when attaching to scene (#4054) 2021-11-17 18:54:05 +08:00
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
timlyeee c7efe4e668 Using self defined function to replace strdup (#4046) 2021-11-17 10:27:12 +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
fish9167 e53192132b change github action (#4047)
* change token name
2021-11-15 16:25:07 +08:00
timlyeee 810f90f854 Fix restart issue (#4008) 2021-11-15 14:03:25 +08:00
Zeqiang Li 71d37a4529 fix mac can not completely quit & depth clamp 2021-11-15 13:50:45 +08:00
Zeqiang Li 793fa94628 add dpr change event 2021-11-15 13:50:45 +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
Yun Hsiao Wu 34c4bf7373 draw profiler only once 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 82519dc245 unify dynamic offset behavior 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 86766eaaac fix additive light queue 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 1b43ff8f49 force profiler to render at full viewport 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 22f829266e fix vk compressed format detection 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 31bf96a0c5 validate buffer size against stride 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 14d0d52576 agent: sync when destroying surface 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 30437372f6 gfx: leave resize logic to the underlying backends
For there is no unified way to reliably manage the process across
backends. Right from the beginning the input information from system
event is just not reliable enough to be used as ground truth.

This also means the asynchronicity between device & render threads will break
whenever a resize event happens.
2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 8647d75b24 use renderbuffer for non-sampling textures 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 70f01edc0d fix fg gc bug 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 8877e4f647 restore render area semantic 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu a297dea9b6 fix cluster demo on vk 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 4317224a12 prefer D24S8 first 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu ebf1ce2b8c fix es2 surface destroy 2021-11-11 15:56:43 +08:00
Yun Hsiao Wu 03aed7783f fg.gc at pipeline destroy 2021-11-11 15:56:43 +08:00
timlyeee 633f1d8be4 Fix jsb auto bindings (#4043) 2021-11-11 10:42:37 +08:00