Commit Graph

48 Commits

Author SHA1 Message Date
troublemaker52025 e723e5aa3a Add renderMesh bias for v3.5.0 (#10102)
* Add renderMesh bias for v3.5.0

* fix ci error

* change function name

* fix merge error

* update

* update 2

* update

* update

* update 2
2022-02-24 23:27:09 +08:00
Yun Hsiao Wu 2902e37d52 more validations (#4230) 2022-02-08 10:31:29 +08:00
Yiwen 8e81f9cfdb add a new interface to query format feature info (#4169)
* create a seperated branch to solve the Issue 8203

* Add format feature for query

* fix bugs and add formatFeature info for metal backend.

* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;

* fix a bug of textureExclusive, fix some typos.

* clean the code, correct some formatFeatures.

* fix bugs in metal backend, fix bugs found on windows.

* Use a proper log funciton in DeviceValidator. Fix code format.

* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
Yun Hsiao Wu a360e4390a gfx: refactor binding mappings (#4195)
* gfx: refactor binding mappings

* fg: fix scissor merge

* fix genbindings on PyYAML 6.0+
2022-01-21 09:43:55 +08:00
troublemaker52025 32ea1cbfbf Combing planar-shadow calculations for v3.4.1 (#4127) 2022-01-05 23:26:28 +08:00
troublemaker52025 e6b4ba89fb Using float texture function for v3.4.0 (#4002) 2021-10-22 15:37:28 +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
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
Yun Hsiao Wu 3296cef8f4 fix deferred pipe (#3955) 2021-10-08 14:08:50 +08:00
DolaMay 1aed070f8f cluster native v340 code (#3923)
* cluster native v340 code

* pclint errors and review comments correct

* compile errors

* clang tidy bug fix

* cluster add enable and disable api

* add marco to switch cluster feature

* Code review: simplify fg read logic
2021-09-30 10:16:50 +08:00
minggo f3049c0acb merge v3.3.1 to v3.4.0 2021-09-09 11:00:18 +08:00
troublemaker52025 e9cf6704b7 GLES2 using packing mode to render shadow map for v3.3.1 (#3872) 2021-09-09 10:25:59 +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
江战 fcb82a20d6 Add BigInt to se::Value (#3706) 2021-07-14 09:48:52 +08:00
ref-ptr 001bd64fff CameraUBO和GlobalUBO更新机制替换为Buffer::update的memcpy (#3629) 2021-06-18 17:51:04 +08:00
cary f406185c87 Merge SSPR to v3.3. (#3601)
* support SSPR by hw
Co-authored-by: dddpppccc <291274416@qq.com>
2021-06-09 15:31:42 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
Yun Hsiao Wu 655b85b708 remove ad-hoc interfaces from device (#3498) 2021-04-29 22:05:28 +08:00
troublemaker52025 97ea27b812 Add Linear depth for nativeEngine in v3.1 (#3404)
* fix native-engine for linearDepth
2021-04-19 14:55:45 +08:00
mmyduckx 5ef2ab11bf Fix more warings (#3396) 2021-04-15 09:40:29 +08:00
Yun Hsiao Wu 9593a54b76 gfx: lifecyle validations (#3341)
* gfx: lifecyle validations

* better noexcept workaround

* more validations

* device layer reflection

* fix release build
2021-03-26 16:30:09 +08:00
Yun Hsiao Wu 8034bd59d8 [chore] gfx layer adjustments (#3323)
* [chore] move common routines to gfx base

* [chore] remove device pointer inside every gfx resources

* [chore] file structure

* gfx: empty backend

* [chore] device creator abstraction
2021-03-19 16:24:43 +08:00
Yun Hsiao Wu ea88ba33c6 codebase structure update (#3289)
* structure

* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00
Yun Hsiao Wu d0fb6d5281 fix format 2021-02-05 16:41:01 +08:00
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
Yun Hsiao Wu cae4a77261 fix conflicts 2021-02-03 17:46:26 +08:00
Yun Hsiao Wu 60969b42a4 Merge remote-tracking branch 'origin/v3.1' into device-proof 2021-02-03 17:25:33 +08:00
Yun Hsiao Wu 8c96bfa860 editor adapt 2021-02-03 16:38:40 +08:00
lawrence-liuyue 5fc7a37cd1 Hw deferred pipeline (#3179) 2021-02-02 22:16:53 +08:00
minggo a728537098 add license (#3165) 2020-12-29 11:25:30 +08:00
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
troublemaker52025 4cb66eac97 Refactoring shadow ubo submit for c++ (#3049) 2020-11-20 09:34:06 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
troublemaker52025 bffaf3f395 Add spot light shadow for C++ (#2978) 2020-11-11 10:15:54 +08:00
coulsonwang 8faa1aa90f reduce getPhaseID jsb call (#2995) 2020-11-09 16:23:04 +08:00
troublemaker52025 60245af9bd shadow sync to c++ (#2942) 2020-10-30 16:18:36 +08:00
coulsonwang eb864cb29f fix additive light queue (#2941) 2020-10-23 20:52:20 +08:00
coulsonwang af75495a0f fix shadowMap batched queue (#2937) 2020-10-22 11:31:56 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
coulsonwang b504111fee sync native pipeline (#2868) 2020-10-12 15:55:02 +08:00
coulsonwang de380ae677 fix native pipeline (#2734) 2020-08-31 09:32:13 +08:00
cary b2eb500d47 Add pipeline jsb binding. (#2722)
Co-authored-by: minggo <nudtzxm@gmail.com>
2020-08-28 17:48:37 +08:00
coulsonwang ab9a7bca3a apply UBOGlobal modify 2020-08-18 11:51:57 +08:00
coulsonwang 2513f68f20 fix 2020-08-18 09:37:53 +08:00
coulsonwang a388e63369 add scene culling
# Conflicts:
#	cocos/renderer/pipeline/forward/ForwardPipeline.h
#	cocos/renderer/pipeline/helper/SharedMemory.h
2020-08-17 18:23:25 +08:00
coulsonwang 103d4eb50f fix forward pipeline and forward flow
# Conflicts:
#	CMakeLists.txt
#	cocos/renderer/pipeline/Define.cpp
#	cocos/renderer/pipeline/RenderFlow.cpp
#	cocos/renderer/pipeline/RenderPipeline.cpp
#	cocos/renderer/pipeline/RenderWindow.h
#	cocos/renderer/pipeline/forward/ForwardFlow.cpp
#	cocos/renderer/pipeline/forward/ForwardFlow.h
#	cocos/renderer/pipeline/forward/ForwardPipeline.cpp
#	cocos/renderer/pipeline/forward/ForwardPipeline.h
#	cocos/renderer/pipeline/forward/ForwardStage.cpp
#	cocos/renderer/pipeline/helper/SharedMemory.h
#	cocos/renderer/pipeline/shadow/ShadowFlow.cpp
#	cocos/renderer/pipeline/shadow/ShadowFlow.h
#	cocos/renderer/pipeline/ui/UIFlow.h
2020-08-17 18:19:16 +08:00
coulsonwang 848e253f71 fix forward pipeline and forward flow 2020-08-10 18:33:26 +08:00