Commit Graph

51 Commits

Author SHA1 Message Date
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
Zach Lee 6321ef28d4 Feat: gpuObjects use smart_ptr [vulkan][buffer, texture] (#13030) 2022-10-18 10:52:07 +08:00
Zach Lee 98f62d1705 Added GFXDeviceObject. (#12909) 2022-09-29 13:56:29 +08:00
Zach Lee 699fdfad90 Feat: Expires bufferView after resizing it's source buffer. (#12869) 2022-09-27 11:50:37 +08:00
Zach Lee fc0102ec87 Fix: use objectId instead of pointer to check for dirty flag in descriptorSet. (#12804) 2022-09-19 17:10:22 +08:00
hyde zhou 8d25a7ddca fix forceUpdate (#11706)
* fix forceUpdate
2022-06-27 11:39:25 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo 444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
minggo 34bf14269c unify stl (#10402)
* add ccstd::vector
* replace cc::vector with ccstd::vector 
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
Yun Hsiao Wu 5524b5c5d4 nx adaptation framework (#4050) 2021-12-14 15:04:57 +08:00
Yun Hsiao Wu 89131fad2d GL: better subpass support (#3887)
* vk: better subpass dependency deduction

* GL: better subpass support

* uint -> uint32_t

* officially make viewport/scissor dynamic by default

* gfx: states store hashes

* gfx: defend against usages after destroy
2021-09-16 09:43:26 +08:00
minggo f3049c0acb merge v3.3.1 to v3.4.0 2021-09-09 11:00:18 +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
Yun Hsiao Wu 98e8cc4b3e vk: fix descriptor release (#3850) 2021-08-25 14:12:57 +08:00
Yun Hsiao Wu 2056271bac misc pipeline fixes (#3811) 2021-08-10 09:49:18 +08:00
Yun Hsiao Wu d7db4dc817 gfx: resolve attachments (#3684) 2021-07-06 14:02:59 +08:00
Yun Hsiao Wu 56bef4aec0 GLES: framebuffer fetch 2021-05-08 19:03:30 +08:00
Yun Hsiao Wu 90f345b768 format & type fixes (#3428)
* separate script for windows

* buffer.update const qualifier

* fix ES2 MRT supprot

* vk: subpass support

* better enum operators
2021-04-19 22:23:23 +08:00
Yun Hsiao Wu e1c240f2d0 Clang-Tidy adaptations (#3379)
* gfx: CommandBuffer.draw accept DrawInfo

* clang-tidy config

* tidy adapt

* enable function name check

* better workflow
2021-04-12 09:41:28 +08:00
Yun Hsiao Wu f4fd7a2496 base should not depend on se (#3359)
* base should not depend on se

* formatting
2021-03-30 09:43:25 +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 a42be36e36 gfx: validator (#3337)
* gfx: validator

* replace c-style casts

regexes used:
(?<!>)\(\(([\w\s\*]+?)\)([\w\[\]\->.:]+)\)
\[\(\w+\)(Feature::\w+)\]
2021-03-22 16:15:31 +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 a674efe2dc fix conflicts 2021-02-07 10:57:40 +08:00
Yun Hsiao Wu defdc8d5b0 Merge branch 'v3.1' of https://github.com/cocos-creator/engine-native into device-proof 2021-02-07 10:33:25 +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 8c96bfa860 editor adapt 2021-02-03 16:38:40 +08:00
Yun Hsiao Wu 1c1406eab6 vk: more synchronization fixes (#3263) 2021-01-28 16:38:18 +08:00
Yun Hsiao Wu 84d748db31 vk: fix synchronization issues (#3256) 2021-01-27 19:02:38 +08:00
Yun Hsiao Wu 6ebd9a1985 misc fixes 2021-01-26 16:58:00 +08:00
Yun Hsiao Wu 6d5c823b82 vk: disable all barrier deduction for now 2021-01-25 10:35:44 +08:00
Yun Hsiao Wu ec0088baaf vk: barrier refactor 2021-01-21 23:51:40 +08:00
Yun Hsiao Wu 09e384abfc explicit shader resource info 2021-01-19 16:25:59 +08:00
Yun Hsiao Wu 4a14924bc2 mage barrier deduction 2021-01-19 16:25:53 +08:00
Yun Hsiao Wu 4d7a2c219a storage image support 2021-01-15 14:56:02 +08:00
Yun Hsiao Wu 74086d4c1e merge 3d-gfx 2021-01-11 17:12:40 +08:00
pandamicro 17c2879bc0 Fix merge issue 2021-01-11 17:12:38 +08:00
Yun Hsiao Wu 3d80ca5670 adapt 2021-01-11 17:12:36 +08:00
Yun Hsiao Wu 4eac776f40 merge latest device 2021-01-11 17:12:36 +08:00
Yun Hsiao Wu ccab942007 vk: triple buffer 2021-01-11 17:12:28 +08:00
Yun Hsiao Wu df14320156 vk: pre-allocated descriptor sets 2021-01-11 17:12:26 +08:00
minggo a728537098 add license (#3165) 2020-12-29 11:25:30 +08:00
Yun Hsiao Wu 9d3d6647dd merge latest device layer (#3145) 2020-12-28 17:23:16 +08:00
Yun Hsiao Wu d703c56798 misc bugfixes (#2963) 2020-10-30 20:32:41 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
Yun Hsiao Wu efad97b643 array pool refactor (#2883)
* fix draw call issueing

* vk: descriptor set: default sampler only

* array pool refactor

* skip backupBuffer & device bindings

* MRT feature flag

* skip getDevice
2020-10-12 14:26:10 +08:00