qiuguohua
723f2f0d4b
Replacing the Observer Pattern with the Event Pattern ( #10551 )
...
* Replacing the Observer Pattern with the Event Pattern
* Fix callbacksinvoker interface
* fix callbacksInvokder compilation error
* Add remove event listener
2022-03-29 15:06:29 +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
Zeqiang Li
d31520c10b
v3.4.2 -> V3.5.0 ( #10199 )
...
* 3.4 wgpu rebase (#4208 )
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com >
* spirv incorrect name on binding (#4259 )
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com >
2022-03-01 09:55:52 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +08:00
Yun Hsiao Wu
2902e37d52
more validations ( #4230 )
2022-02-08 10:31:29 +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
minggo
c0bdd3c0d8
Merge branch 'v3.4.1' into merge_v3.4.1
...
Conflicts:
cocos/bindings/event/EventDispatcher.cpp
cocos/platform/android/jni/JniCocosActivity.cpp
cocos/platform/apple/JsbBridge.mm
cocos/platform/java/jni/JniCocosOrientationHelper.cpp
cocos/platform/win32/CanvasRenderingContext2D-win32.cpp
2022-01-07 18:36:14 +08:00
Greg1129
4462b96617
issue 10384 memory leak fix ( #4115 )
...
* issue 10384 memory leak fix
2021-12-24 14:39:12 +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
qiuguohua
eeb9d5c689
Merge the code of v3.3.1 platform adaptation layer into the development branch ( #3958 )
...
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Merge platform adaptation layer code into the development branch
2、It passed the test in windows and ohos system
* 1、Fix github compile windows error
* 1、Fix github compile windows error
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* 1. Adjust the code format;
2. Fix js automatic generation binding
3. Adjust github CI compilation
* Solve mac and ios compilation failure
* Fix the problem of compilation of Windows-side simulator
* 1. Adapt the simulator to a new adaptation layer;
2. Fix the compilation warning of ios, and the implicit conversion failed;
3. Fix the mac compilation error, due to the problem of adding the link identification -all_load;
* 1.Add the isDisplayStats and setDisplayStats method to the screen interface
* Fix clang-tidy compilation warning
* Fix clang-tidy compilation warning
* Repair the emulator, compatible with mac and win
* 1、Repair detailed errors, including name modification and calling method modification
2、Delete redundant files in the template directory
3、Change the vibrate interface to vibrator
4、Fix word spelling errors
* Rename interfaces to modules
* Replace CC_ASSERT with CCASSERT
* Replace CC_ASSERT with CCASSERT
Co-authored-by: qiuguohua <>
2021-10-27 10:51:02 +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
李吉林
bed27fcccf
V3.4.0 occlusion query2 ( #3975 )
...
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-10-13 18:21:03 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +08:00
Yun Hsiao Wu
283e936c09
mq: more accurate switch chunk size ( #3956 )
2021-10-08 18:33:57 +08:00
minggo
e14fd73506
fix compling error and review
2021-09-24 14:09:30 +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
李吉林
fa210fa955
add octree scene manager ( #3891 )
...
* add octree scene manager
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-09-17 11:20:05 +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
李吉林
81167fbfbf
V3.4.0 20210816 ( #3835 )
...
* memory leak detector
* memory leak detector for mac&io
2021-08-17 09:25:11 +08:00
minggo
d261e62ecc
merge v3.3.0 and fix conflict
2021-08-13 22:28:13 +08:00
minggo
cf0a79b98a
add ogre license ( #3825 )
2021-08-13 16:38:33 +08:00
Yun Hsiao Wu
2056271bac
misc pipeline fixes ( #3811 )
2021-08-10 09:49:18 +08:00
江战
b0bbfb315b
V3.3 modularize ( #3780 )
2021-07-29 10:39:17 +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
江战
ba644b3988
3.3 ZipUtil threadsafety ( #3689 )
2021-07-08 16:39:32 +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
minggo
785b29bc0d
upgrade unzip ( #3679 )
2021-07-02 13:57:37 +08:00
minggo
aa522396a3
CC_INLINE to inline ( #3664 )
2021-06-28 16:41:13 +08:00
江战
8378a4a856
[3.3] some little fixes ( #3626 )
2021-06-18 10:49:40 +08:00
Yun Hsiao Wu
b2fe7ba5c9
gfx: sRGB texture support ( #3619 )
2021-06-17 18:10:06 +08:00
江战
e8f8bf4b03
3.3 add simple jobsystem ( #3609 )
2021-06-16 10:36:24 +08:00
Yun Hsiao Wu
9e0a8eaf7b
vk: enable triple buffer ( #3597 )
2021-06-04 11:22:36 +08:00
Yun Hsiao Wu
1ebe420662
structure adjustments ( #3532 )
2021-06-02 09:39:13 +08:00
minggo
102d524eac
Merge pull request #3536 from minggo/merge_v32
...
Merge v32
2021-06-01 13:56:35 +08:00
mmyduckx
e1fdf6b8ed
fix restart memory leak in native ( #3552 )
2021-05-25 15:09:45 +08:00
minggo
030c9f95be
sync v3.2 to v3.3
2021-05-21 11:31:00 +08:00
江战
a652715f5a
Harmony OS support - dont merge ( #3528 )
2021-05-21 10:43:22 +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