24 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Zeqiang Li
3e28c2821a api min required -> ios 10.0 (#3885)
* ios 10 alignas
* ios 10 api
2021-09-15 16:03:12 +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
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
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
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
fc034ea606 performance test works 2021-01-11 17:12:40 +08:00
Yun Hsiao Wu
55722500c9 structure 2021-01-11 17:12:39 +08:00
Yun Hsiao Wu
0155b1942c structure 2021-01-11 17:12:39 +08:00