Commit Graph

4804 Commits

Author SHA1 Message Date
Yun Hsiao Wu ed77f18027 misc fixes (#4013)
* sampler wrap mode validation

* fg: fewer hashing per frame

* better interface names for query pool

* auto update fbo after rt resize

so that the framegraph reuse logic can work
2021-10-28 09:45:38 +08:00
江战 c8bbda6277 fix se crash (#4012) 2021-10-27 18:43:23 +08:00
江战 4b182ce19a 3.4.0 fix ci (#4011) 2021-10-27 16:02:22 +08:00
fish9167 67cf6efa4d Add GitHup Action (#4005)
* add githup action

automation add label, assignment

* add githup action

mirror to gitee
2021-10-27 14:03:14 +08:00
qiuguohua eeb9d5c689 Merge the code of v3.3.1 platform adaptation layer into the development branch (#3958)
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system

* 1、Fix github compile windows error

* 1、Fix github compile windows error

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation

* Solve mac and ios compilation failure

* Fix the problem of compilation of Windows-side simulator

* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;

* 1.Add the isDisplayStats and setDisplayStats method to the screen interface

* Fix clang-tidy compilation warning

* Fix clang-tidy compilation warning

* Repair the emulator, compatible with mac and win

* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors

* Rename interfaces to modules

* Replace CC_ASSERT with CCASSERT

* Replace CC_ASSERT with CCASSERT

Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +08:00
江战 88e708af51 fix OHOS compile error https://github.com/cocos-creator/3d-tasks/issues/9600 (#4006) 2021-10-27 09:53:18 +08:00
江战 adbcee9d4c keep screen on (#4007) 2021-10-27 09:51:48 +08:00
Yun Hsiao Wu 4ab0e5e10d fix RT size specification (#4004) 2021-10-25 17:07:38 +08:00
GengineJS 0807852bf5 Fixed bloom Stage judgment issue (#4003) 2021-10-25 15:22:13 +08:00
GengineJS ea219cc323 fbo scale > 1, profiler misalignment problem and bloom viewport setti… (#4001)
* fbo scale > 1, profiler misalignment problem and bloom viewport setting error problem

* To optimize the pipeline sampler

* Change renderArea to static

* update renderarea
2021-10-22 19:19:57 +08:00
troublemaker52025 e6b4ba89fb Using float texture function for v3.4.0 (#4002) 2021-10-22 15:37:28 +08:00
Yun Hsiao Wu 4f5cb3adf3 vk: fix scissor update (#4000) 2021-10-21 18:38:17 +08:00
timlyeee bba944aab9 Update config.json (#3999) 2021-10-21 17:10:40 +08:00
Yun Hsiao Wu de153fd3f5 misc fixes (#3998)
* assert on zero-sized buffer/texture

* fix gl sampler creation under device thread
2021-10-21 09:49:55 +08:00
GengineJS 8bf599fc18 Modify the default value of shadingscale to 1 (#3997) 2021-10-20 15:01:40 +08:00
Yun Hsiao Wu e55ab9be46 fix scissor update strat (#3995) 2021-10-20 11:13:16 +08:00
李吉林 859974a4ca V3.4.0 metal occlusion query (#3993)
* add occlusion query for metal and defer
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-10-19 18:26:49 +08:00
Yun Hsiao Wu 0e713cb6a4 render area affects viewport only (#3992)
* more validations

* render area affects viewport only
2021-10-19 18:26:13 +08:00
Yun Hsiao Wu dbcb157efb misc gfx fixes (#3991)
* better hashing strat

* gfx: unify states hash

* vk: upload texture in multiple chunks if needed

* gfx: states lifecycle management
2021-10-19 14:14:46 +08:00
minggo 57ea781a4a Merge pull request #3989 from cocos-creator/v3.3.2
merge V3.3.2
2021-10-15 11:00:45 +08:00
江战 90e6860e2f add skip_public_fields (#3987) 2021-10-14 09:48:03 +08:00
timlyeee 08f6d01a7c Fix ci auto bindings error (#3984) 2021-10-13 21:54:01 +08:00
Cocos Robot 8f098450d9 [ci skip][AUTO]: updating jsbinding automatically: bed27fcc (#3983)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-10-13 18:33:28 +08:00
mmyduckx b82e184f5d fix ios repeat restart crash (#3982) 2021-10-13 18:27:57 +08:00
李吉林 bed27fcccf V3.4.0 occlusion query2 (#3975)
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-10-13 18:21:03 +08:00
Kun Lin 528b9b0b99 Update bloom (#3970)
* Update bloom

* Remove bloom pass for UI camera
2021-10-13 16:59:31 +08:00
Yun Hsiao Wu 134914b53d fix buffer/texture info js binding (#3981) 2021-10-13 16:57:05 +08:00
jk20012001 33974aeaef Revert clear color linear conversion in HDR (#3979) 2021-10-13 16:27:13 +08:00
Cocos Robot 1949ffd686 [ci skip][AUTO]: updating jsbinding automatically: 8f8569f3 (#3980)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-10-13 16:21:53 +08:00
Yun Hsiao Wu 8f8569f39e gfx: better hashing strategies (#3969) 2021-10-13 16:03:58 +08:00
江战 606dd0f2f0 [ci] compile ios verbose (#3978)
* [v3.4.0] [ci] compile ios verbose (#3974
2021-10-13 14:54:53 +08:00
江战 70dae69670 [v3.4.0] [ci] compile ios verbose 2 (#3977)
* do not stop on compile error
2021-10-13 14:54:36 +08:00
江战 4c6eeb9a4f [v3.4.0] [ci] compile ios verbose (#3974)
* compile ios verbose

* mac recompile
2021-10-13 12:38:45 +08:00
lawrence-liuyue c9c0040258 DeferredPipeline: enable main light ShadowMap (#3968) 2021-10-12 16:47:55 +08:00
Cocos Robot 7831322047 [ci skip][AUTO]: updating jsbinding automatically: a1d63f56 (#3967)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-10-12 15:00:51 +08:00
GengineJS a1d63f56ec Pipeline custom zoom fbo size (#3964)
* ForwardPipeline custom zoom fbo size

* DeferredPipeline custom zoom fbo size
2021-10-12 14:48:50 +08:00
Cocos Robot 6034839c2e [ci skip][AUTO]: updating jsbinding automatically: 4c94f2ca (#3966)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-10-12 11:00:35 +08:00
jk20012001 4c94f2ca56 Support HDR/LDR Light Sources v3.4.0 (#3951)
* Support HDR/LDR Light Sources

* Fix ClangTidy error

* Fix name style error

* Synchronize naming for HDR

* Fix name style and compiling errors

* Remove fpScale, make deferred and forward uniform

* Fix diffusemap binding error

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-10-12 10:47:28 +08:00
Cocos Robot 5e734702d0 [ci skip][AUTO]: updating jsbinding automatically: 5e282a9c (#3963)
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
2021-10-11 16:06:41 +08:00
Yun Hsiao Wu 5e282a9ce5 fg: use hashmap in resource allocators (#3962)
...to handle hash collisions gracefully.
2021-10-11 15:28:03 +08:00
Zeqiang Li 3965709e15 fix mac crash (#3960) 2021-10-09 17:31:35 +08:00
mmyduckx 56f1226a3a update LanunScreenBackgroudLandsacpe pic (#3959) 2021-10-09 11:52:53 +08:00
timlyeee 9d5c6daa3f Fix stack overflow error when allocate new memory (#3957)
* Clear dynamic offset for each setDynamicOffsets
2021-10-09 11:19:46 +08:00
江战 c1710b94cb [3.4] update v8 to 9.1 (#3819) 2021-10-09 10:26:36 +08:00
zxx43 8261d4a810 Native particle culling (#3952)
* no culling for models without bounding box

* move particle culling
2021-10-08 18:34:25 +08:00
Yun Hsiao Wu 283e936c09 mq: more accurate switch chunk size (#3956) 2021-10-08 18:33:57 +08:00
troublemaker52025 a9d6d73425 fix close window crash for v3.4.0 (#3954) 2021-10-08 15:45:06 +08:00
Yun Hsiao Wu 3296cef8f4 fix deferred pipe (#3955) 2021-10-08 14:08:50 +08:00
lawrence-liuyue 42bddf6ce4 Enable Subpass in deferred pipeline (#3942)
* enable subpass in deferred pipeline

* subpass bug fix

* Update GbufferStage.cpp

* Update GbufferStage.cpp

* Update LightingStage.cpp
2021-10-03 17:22:46 +08:00
江战 199ee4ce81 fix stack (#3953) 2021-09-30 20:04:00 +08:00