Commit Graph

4804 Commits

Author SHA1 Message Date
GengineJS 01a791ff77 Fix the problem that the planar-shadow of the deferred pipeline is not displayed (#4053) 2021-11-19 11:34:31 +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 083b9fe436 set model dirty when attaching to scene (#4054) 2021-11-17 18:54:05 +08:00
timlyeee c7efe4e668 Using self defined function to replace strdup (#4046) 2021-11-17 10:27:12 +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
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
Yun Hsiao Wu 2984594f96 gfx: onAcquire callback (#4038) 2021-11-11 10:15:26 +08:00
Zeqiang Li b415b43cfb reorganize internal commandbuffer (#4042)
* reorganize mtlcmdbuffer

* remove debug label
2021-11-11 10:12:51 +08:00
GengineJS 8386790150 Restore part of pipeline code (#4040) 2021-11-10 15:37:29 +08:00
mmyduckx c7924301a0 add M1 arch PhysX support (#4041)
* add M1 arch PhysX support

* update tag
2021-11-10 09:34:46 +08:00
Zeqiang Li 9e215bd39b mac memless compile issue (#4037) 2021-11-09 09:59:50 +08:00
timlyeee c38c8255b6 sync push (#4034) 2021-11-05 13:32:54 +08:00
Zeqiang Li a09180243c buffer binding and rt-read-pixel rendering issue (#4033)
* buffer binding and rt-read-pixel rendering issue

* another solution
2021-11-05 10:31:47 +08:00
timlyeee 6f652286e4 Missing Symbol for v8 in low level android (#4032)
* Missing Symbol for v8 in low level android

* license

* move ohos symbol to cpp
2021-11-04 13:59:05 +08:00
江战 f143270e6b fix symbol (#4028) 2021-11-02 19:28:50 +08:00
GengineJS ad63b94fc4 Remove the updatebuffer operation inside renderpass (#4026)
* Remove the updatebuffer operation inside renderpass

* Change postprocessstage texture usage

* ia default value
2021-11-02 19:28:10 +08:00
timlyeee 9471249a02 Add ENABLE_SANDBOX option (#4029)
Add option for compile step
2021-11-02 19:25:46 +08:00
Zeqiang Li 68d508abbd fix iphone 5s compile issue (#4027) 2021-11-02 17:41:27 +08:00
DolaMay a2d87f2e60 Ajust z cluster thread num to meet threads limits (#4025)
* Ajust z cluster thread num to meet threads limits

* Bug fix: sphere and spot lights shared a max lights number
2021-11-01 23:24:05 +08:00
GengineJS 2aa0db788b Solve the problem of batched buffer memory leak (#4023)
* Solve the problem of batched buffer memory leak

* update batchedbuffer
2021-11-01 18:28:24 +08:00
timlyeee 6084e75352 Add inherited link flag for apple system (#4024)
https://github.com/cocos-creator/3d-tasks/issues/9768
2021-11-01 18:15:33 +08:00
lawrence-liuyue 55017b51be Sspr envmap (#4021)
* sspr use envmap

* sspr use envmap update

* Update LightingStage.cpp

* DeferredPipeline: enable main light ShadowMap

* position reconstruction in reflector pass

* sspr denoise envmap

* use envmap in sspr when envmap is enabled
2021-11-01 18:15:17 +08:00
Kun Lin 40e04cf6fe Bloom supports dynamic switch (#4022) 2021-11-01 18:14:52 +08:00
Zeqiang Li cebf90ded6 fix copytextobuffer (#4019)
* fix copytextobufer

* nullptr after destroy

* remove begin in device copytextobuffers

* fix ios
2021-11-01 17:11:24 +08:00
江战 a9241b8955 3.4.0 reduce warning (#4020)
* reduce warning
2021-10-30 14:41:35 +08:00
Yun Hsiao Wu a6ddac0320 forward stage should always clear (#4017) 2021-10-29 18:06:38 +08:00
Zeqiang Li 0af0578d6c metal sampler index (#4018)
* metal sampler index

* comment

* better strategy
2021-10-29 16:49:17 +08:00
jk20012001 bb8686572e Add accurate fog (#4016) 2021-10-29 10:22:50 +08:00
李吉林 8d96e25cd6 add no wait query for vk (#4010)
* add no wait query for vk

* rename resetQuery and completeQuery

* fix warning

* add forWait for query

* rename to vkPool
2021-10-28 18:21:06 +08:00
qiuguohua 30993747a5 Remove all_flag in IOS (#4014) 2021-10-28 10:00:05 +08:00