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
Zeqiang Li
5e6eeb5c12
mem leak during restart ( #13806 )
2022-12-16 11:42:28 +08:00
江战
046a2b1378
Re-impl CC_ASSERT & CC_ASSERTF ( #13588 )
2022-12-05 17:12:30 +08:00
Zach Lee
1461974c9f
Fix MessageQueue deadlock. ( #13278 )
2022-11-22 11:11:37 +08:00
Zeqiang Li
c3ba2277ac
fix potential mem leak ( #12995 )
2022-10-11 11:39:36 +08:00
minggo
d40b8739bc
Merge branch 'v3.6.0' into develop_merge_v3.6
2022-07-18 10:38:14 +08:00
James Chen
746bc1e571
Revert to use c++17 std::shared_mutex in ReadWriteLock.h ( #11760 )
2022-06-30 16:58:54 +08:00
James Chen
5ae5dbbd54
fixed #11339 : [v3.6] Crash after hot update by invoking cc.game.restart(). ( #11348 )
...
* fixed #11339 : [v3.6] Crash after hot update.
MessageQueue::terminateConsumerThread needs to wait consumer thead to exit. So don't detach consumer thead and we need to join the thread at the end of terminateConsumerThread.
* Delete _consumerThead after join.
2022-06-06 13:35:09 +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
8e7669bf92
replace assert with CC_ASSERT ( #10913 )
...
* replace assert with CC_ASSERT
2022-04-29 10:18:41 +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
cd48cf7106
Replace CCASSERT with CC_ASSERT ( #10682 )
...
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
yangchao
17eefa6d26
fix linux compile err ( #10622 )
...
* fix linux compile err
2022-04-01 16:19:56 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
Cocos Robot
df50878b14
[ci skip][AUTO]: Automated clang-format update: 735860a2aa285979c890bad6356b14afeff13db5 ( #10560 ) ( #10570 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-29 16:40:20 +08:00
minggo
1a9d49e4c6
replace std::list/std::array with ccstd::list/ccstd::array ( #10560 )
...
* replace std::list/std::array with ccstd::list/ccstd::array
2022-03-29 16:36:53 +08:00
minggo
2379892c02
Unify stl ( #10427 )
...
* replace std::deque and std::queue
* replace std::unordered_set
* replace std::queue, std::deque and std::unordered_set
2022-03-22 14:00:36 +08:00
Yun Hsiao Wu
df6465c723
remove debug code ( #10293 )
...
they use overly-strict memory orders, which is not good to keep around
anyways
2022-03-10 09:42:26 +08:00
minggo
aca0a1bccb
Remove memory management ( #10125 )
...
* remove NedPooling
* remove Jealloc
* remove some macros
* move memory related macros into Memory.h
* delete MemTrack
2022-02-22 18:12:48 +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
minggo
f08555248f
fix conflict
2022-01-24 17:23:03 +08:00
Yun Hsiao Wu
14a17c9d22
license upgrade ( #4210 )
2022-01-24 17:18:47 +08:00
Zeqiang Li
4b1422a7f3
event init & mem align ( #4116 )
2021-12-21 11:08:11 +08:00
Yun Hsiao Wu
5524b5c5d4
nx adaptation framework ( #4050 )
2021-12-14 15:04:57 +08:00
minggo
ac7418f1c1
fix conflict
2021-11-30 10:48:30 +08:00
oahcy
5379e6ef35
引擎适配linux平台 ( #4035 )
2021-11-29 17:17:15 +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
Yun Hsiao Wu
283e936c09
mq: more accurate switch chunk size ( #3956 )
2021-10-08 18:33:57 +08:00
minggo
ea980f509c
merge v3.3.2
2021-09-24 12:38:10 +08:00
江战
5074a5a826
V3.4.0 usec++14 ( #3898 )
...
This reverts commit fff4cc8fc94fb9b1a8424a2b89e9966184c6c4ce.
2021-09-18 13:53:58 +08:00
Zeqiang Li
3e28c2821a
api min required -> ios 10.0 ( #3885 )
...
* ios 10 alignas
* ios 10 api
2021-09-15 16:03:12 +08:00
江战
1bac46bb23
Use c++14 by default ( #3880 )
2021-09-13 10:41:27 +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
minggo
ee9201b490
fix typo ( #3771 )
2021-07-26 16:33:53 +08:00
Yun Hsiao Wu
5c88f24b3f
misc gfx & fg improvements ( #3703 )
2021-07-13 14:07:47 +08:00
Zeqiang Li
63ca1034a9
reduce persistent memory ( #3662 )
2021-07-09 16:00:42 +08:00
minggo
7244eb2a5e
fix some memory leak ( #3686 )
2021-07-06 14:34:52 +08:00
Yun Hsiao Wu
d7db4dc817
gfx: resolve attachments ( #3684 )
2021-07-06 14:02:59 +08:00
minggo
028ec8443d
Misc ( #3683 )
...
* improve codes:
1. remove unneeded codes
2. fix potential memory leak
2021-07-05 10:21:01 +08:00
Yun Hsiao Wu
b2fe7ba5c9
gfx: sRGB texture support ( #3619 )
2021-06-17 18:10:06 +08:00
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
cary
43c6e02f80
Fix noexcept error. ( #3426 )
...
* Fix noexcept error.
2021-04-19 17:46:59 +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
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
cary
e5fe94e743
Fix the material and resources of the deferred pipeline. ( #3294 )
2021-03-03 08:46:00 +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
a674efe2dc
fix conflicts
2021-02-07 10:57:40 +08:00
Yun Hsiao Wu
d0fb6d5281
fix format
2021-02-05 16:41:01 +08:00