Commit Graph

56 Commits

Author SHA1 Message Date
Yun Hsiao Wu 1ebe420662 structure adjustments (#3532) 2021-06-02 09:39:13 +08:00
Yun Hsiao Wu 6eedb24f9f gfx: object id / typed id (#3508)
* unified objectID/typedID

* record command buffers for validation

* update auto fix doc
2021-05-10 15:07:31 +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 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 ab32b3083e vk: update barrier manager ref on destroy (#3304)
* vk: update barrier manager ref on destroy
2021-03-09 15:55:50 +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 126ab62e03 misc fixes 2021-02-05 14:03:49 +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 785cc14c27 render pass accept array of access types 2021-01-27 14:13:39 +08:00
Yun Hsiao Wu a3a6b149d0 barrier as explicit state object 2021-01-25 15:38:03 +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 e9efebaa79 blit image support 2021-01-16 11:17:07 +08:00
Yun Hsiao Wu 4d7a2c219a storage image support 2021-01-15 14:56:02 +08:00
Yun Hsiao Wu f1d96c6d9c compute shader: Vulkan 2021-01-13 17:54:32 +08:00
Yun Hsiao Wu a5496ea1d2 compute shader: GLES3 2021-01-13 16:23:50 +08:00
minggo 8e773f1527 fix coding style (#3167) 2021-01-12 16:35:20 +08:00
Yun Hsiao Wu 4c7119c9b4 interface adjust 2021-01-11 17:12:44 +08:00
Yun Hsiao Wu f267aad9aa not working: synced secondary recording 2021-01-11 17:12:42 +08:00
Yun Hsiao Wu 74086d4c1e merge 3d-gfx 2021-01-11 17:12:40 +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
pandamicro 879ff18171 Initial implementation of Metal parallel encoding 2021-01-11 17:12:34 +08:00
pandamicro ed6164c06e Revert "Add parallel pass flag to CommandBuffer::begin"
This reverts commit fba420b455c1af98ee2ad7844bc37947071e2a8a.
2021-01-11 17:12:33 +08:00
pandamicro f83dd883a2 Add parallel pass flag to CommandBuffer::begin 2021-01-11 17:12:33 +08:00
Yun Hsiao Wu e0c28d4b62 gl: full secondary cb 2021-01-11 17:12:30 +08:00
Yun Hsiao Wu ccab942007 vk: triple buffer 2021-01-11 17:12:28 +08:00
Yun Hsiao Wu 778ef759bb parallel submission framework 2021-01-11 17:12:27 +08:00
Yun Hsiao Wu df14320156 vk: pre-allocated descriptor sets 2021-01-11 17:12:26 +08:00
Yun Hsiao Wu 8e72fe805f GLES2: immediate submission 2021-01-04 11:01:26 +08:00
Yun Hsiao Wu 1a65678152 more fixes 2021-01-04 11:01:24 +08:00
Yun Hsiao Wu fc6d6e6767 fix back buffer index 2021-01-04 11:01:23 +08:00
Yun Hsiao Wu 33a18bb64b vk: async attempt 2021-01-04 11:01:15 +08:00
Yun Hsiao Wu 265785848a misc fixes (#3169)
* vk: prefer D24S8

* gles3: immutable texture
2020-12-30 17:31:24 +08:00
Yun Hsiao Wu d830a58603 misc fixes (#3166)
* vk: fix buffer usage

* fix compile
2020-12-29 20:08:22 +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
江战 37e7d729e8 [3.0] export bindDescriptorSetForJS to JS (#3123) 2020-12-17 19:03:23 +08:00
江战 1892c43901 [3d-gfx] JSB convert types with template functions (#3100) 2020-12-09 16:35:51 +08:00
Yun Hsiao Wu 267625277e vk: api version should follow device (#2967) 2020-10-31 20:01:53 +08:00