22 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
江战
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
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
Yun Hsiao Wu
14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
Yun Hsiao Wu
283e936c09 mq: more accurate switch chunk size (#3956) 2021-10-08 18:33:57 +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
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
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
55722500c9 structure 2021-01-11 17:12:39 +08:00
Yun Hsiao Wu
0155b1942c structure 2021-01-11 17:12:39 +08:00