James Chen
89c49d782a
[v3.6] Fix memory leak of memop::Pool::destroy and refactor it. ( #11908 )
2022-07-09 15:06:52 +08:00
James Chen
a079c138c0
[v3.6] Fix memory leak in UIModelProxy.cpp ( #11909 )
...
* Fix memory leak in UIModelProxy.cpp
* Format code.
* Update UIModelProxy.cpp
2022-07-09 14:27:24 +08:00
bofeng-song
113fad0259
refine: rename windowHanler to windowHandle, rename onDestory to onDestroy ( #11907 )
2022-07-09 13:54:18 +08:00
minggo
439e484ada
Update readme ( #11906 )
...
* add system requirements
2022-07-09 13:40:07 +08:00
Zeqiang Li
192322f836
fix mtlCommandBuffer life cycle inside NSLoop ( #11904 )
2022-07-09 11:20:21 +08:00
Zhang mingzhen
0560b566df
V3.6.0 batcher2d mask to native ( #11905 )
...
* native mask 1
* native rect mask part2
(cherry picked from commit 363c6a545302c15bbbd33285c172855e667c308d)
* fix code specification
* mask fillPass parameters
* fix mistake
* fillpass material condition
* mask to native generate batch
* revert wrong remove
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-09 00:57:25 +08:00
James Chen
8623b89992
Fix crash if closing app in SpineAttach test case. ( #11901 )
...
* Fix crash if closing app in SpineAttach test case.
2022-07-08 19:45:31 +08:00
Cocos Robot
147fc20978
[ci skip][AUTO]: Automated code generating update: ddc7503735c3bef8cd225e71106ea8f8d358e086 ( #11896 ) ( #11902 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-08 19:31:26 +08:00
James Chen
cb4b0014ed
Fix crash if closing app in surface shader test case. ( #11896 )
2022-07-08 19:19:35 +08:00
bofeng-song
7c8492c668
remove unneeded code, gameActivity has been ensured the render lifecycle ( #11897 )
2022-07-08 18:20:38 +08:00
Cocos Robot
50669a4ab2
[ci skip][AUTO]: Automated code generating update: 6fcd56922dfaedd7afbe782e07d4f8ff61781a5e ( #11592 ) ( #11898 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-08 17:48:33 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
James Chen
598ac36113
Fix memory overflow in getDirtyNode ( #11890 )
2022-07-08 13:35:23 +08:00
Yiwen
00bd0f514d
Fix vk validation warning ( #11884 )
...
* fix vk offset alignment and es ds reset
2022-07-08 10:13:43 +08:00
Yiwen
778ad062bc
add a method to reset the global descriptor's shadow map ( #11881 )
...
* add a method to reset the global descriptor's shadow map
2022-07-08 10:10:08 +08:00
timlyeee
b43de1af07
V3.6.0 exit ( #11856 )
2022-07-07 14:07:47 +08:00
timlyeee
f6a12b305c
Change copy resources logic for v8 dlls ( #11876 )
2022-07-06 18:34:39 +08:00
Yiwen
359ae855a5
record original queues if the sort function is not invoked. ( #11871 )
...
* record original queues if the sort function is not invoked.
* re-enable the instance queue's sort fucntion
* fix es lint
2022-07-06 16:16:29 +08:00
Cocos Robot
6da98e70c3
[ci skip][AUTO]: Automated code generating update: 90f6b7c37a51f4c5b0c954cbb5ec7cfd7fd28a41 ( #11864 ) ( #11866 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-06 10:14:27 +08:00
James Chen
ba4a98a71c
Keep the struct in cc::Rect the same as which in ts ( #11864 )
...
Co-authored-by: Yiwen <15225434259xue@gmail.com >
2022-07-06 09:54:24 +08:00
Yiwen
83cfd5c401
use the original order to fix the instance lighting and casting shadows ( #11865 )
2022-07-06 00:00:16 +08:00
Yiwen
cca281e483
fix copybufferstotexture ( #11860 )
...
* fix copybufferstotexture
2022-07-05 22:24:23 +08:00
timlyeee
91b0f34d9a
Fix windows crash when first entering into AudioBuffer scene ( #11859 )
2022-07-05 21:40:18 +08:00
James Chen
a5cdfe2511
fixed #11692 : [jsb] More SE_BIND_FUNC_FAST binding for Node transform relevant API ( #11854 )
...
* fixed #11692 : [jsb] More SE_BIND_FUNC_FAST binding for Node transform relevant API
* Format code
2022-07-05 18:01:28 +08:00
mmyduckx
cf346b6e39
add Scene load event when scene::load ( #11807 )
2022-07-05 16:36:08 +08:00
James Chen
b871eb1086
Clear shader source after they're uploaded to GPU. ( #11781 )
2022-07-05 16:06:54 +08:00
Yiwen
f09168ce1b
Add a basic sort function for RenderInstancedQueue. ( #11193 )
...
* fix instancing draw order
2022-07-05 15:44:08 +08:00
黄森斌
67e9aa1f33
V3.6.0 allow multiple custom scripts exist in project with one same className ( #11763 )
...
* use getClassById instead of _getClassById
* use getClassId instead of _getClassId
* public cc.js.getClassId api
* allow className already exists, new one will replace old classObject
* create component use cid
* allow className exist when registing
* custom script className allow duplicated
* revert some comments
* preserve api and deprecate _getClassById and _getClassId
* revert some comments
* revert comment
* Update cocos/core/utils/js-typed.ts
Co-authored-by: PP <chinese1236@qq.com >
Co-authored-by: PP <chinese1236@qq.com >
2022-07-05 15:19:56 +08:00
minggo
54fc7be53f
do not use align malloc ( #11844 )
...
c++17 supports create an aligned struct
2022-07-05 14:30:12 +08:00
Cocos Robot
c5ad77de1b
[ci skip][AUTO]: Automated code generating update: e821e0635bef9292af69fb0dc83b2a0a76f99153 ( #11845 ) ( #11848 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-05 13:46:43 +08:00
James Chen
e41ec8b765
Fix binding of Node.inverseTransformPoint. ( #11845 )
2022-07-05 13:33:25 +08:00
Cocos Robot
e4bf531cbe
[ci skip][AUTO]: Automated code generating update: 5795fbc0125abd629c53786120d260a900b4944e ( #11842 ) ( #11846 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-05 11:48:41 +08:00
Yiwen
d1e141990b
fix camera jsb ( #11842 )
...
* fix camera jsb
2022-07-05 11:38:11 +08:00
Yiwen
8d4b6cbc96
fix the device crach appeared when the device fallback is performed ( #11818 )
...
* fix the device crach appeared when the device fallback is performed
* Fix crash on SM-9005 (#2 )
Co-authored-by: James Chen <dumganhar@gmail.com >
2022-07-05 09:56:46 +08:00
James Chen
b6deb4ac91
[android] Use optimized compile and link flags to make shared library file (.so) smaller ( #11792 )
2022-07-04 17:35:41 +08:00
Cocos Robot
7b35d087a7
[ci skip][AUTO]: Automated code generating update: eb24b005f98a42ea87baccf07013cd85bf77d52b ( #11775 ) ( #11834 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-04 17:11:32 +08:00
James Chen
9fdfb687e2
Mesh supports half float format and the data can be deleted
...
1. Add support for converting float to half from some vertex attributes at runtime;
2. Add Mesh.allowDataAccess property for releasing data after it is uploaded to GPU
2022-07-04 16:59:51 +08:00
Cocos Robot
b0183ae9de
[ci skip][AUTO]: Automated code generating update: 124fe776af838ea3e854ce8ff3dc422481f3e632 ( #11823 ) ( #11826 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-04 13:55:58 +08:00
zhakesi
f5b9908624
fix inverseBindposes undefine native platform ( #11823 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-07-04 11:37:42 +08:00
江战
3887211c60
fix warning & include path ( #11825 )
2022-07-04 11:25:34 +08:00
minggo
02a1eb0f55
Use raw pointer ( #11804 )
...
* Revert "use IntrusivePtr to share object (#11729 )"
This reverts commit 8caec59711 .
* Framebuffer uses weak reference
* make doDestroy reentency
2022-07-04 10:20:07 +08:00
Cocos Robot
98a53fc7a8
[ci skip][AUTO]: Automated code generating update: 65799bfb36a656db039e78f9b8054ed58df3595d ( #11143 ) ( #11822 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-03 23:39:50 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
timlyeee
adc1eb6942
[Bug] fix executable check ( #11820 )
2022-07-02 22:23:06 +08:00
troublemaker52025
913aec8227
reduce instanced queue recordCommandBuffer at render-additive-light-queue v3.6.0 ( #11798 )
2022-07-01 19:33:36 +08:00
minggo
699c6c58d2
some refactor ( #11810 )
...
- put related codes together
- use more meaningful variable names
- do not use temple vector as possible
2022-07-01 19:00:06 +08:00
timlyeee
924f5136c0
fix mac ( #11813 )
2022-07-01 18:46:54 +08:00
jk20012001
402cf1602a
code style: rename spotlightingmap->spotshadowmap ( #11800 )
2022-07-01 16:17:52 +08:00
timlyeee
a69576912b
add win64 release, check after clean ( #11805 )
...
* add win64 release, check after clean
2022-07-01 16:17:02 +08:00
Cocos Robot
e13f1ed021
[ci skip][AUTO]: Automated code generating update: 5770a3d382506ed1bd87d2564d4ec1060b5d54a3 ( #11803 ) ( #11806 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-07-01 15:15:57 +08:00