Zeqiang Li
684f467e50
fix auto test crash on ios and mac ( #11182 )
...
* fix auto test crash on ios and mac
* safe hash getter
2022-05-23 17:35:22 +08:00
Zhang mingzhen
c09995b45a
supplement JSB documents ( #11153 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-05-23 09:37:07 +08:00
mmyduckx
204543cfd8
fix restart buffer & shader leak and add prompts ( #11164 )
...
* fix restart buffer & shader lead and add prompts
2022-05-20 16:10:40 +08:00
bofeng-song
a24ea72451
Fix undefined depthstencilstate error ( #11165 )
...
* Fix undefined depthstencilstate error
2022-05-20 14:35:55 +08:00
minggo
9b0233cca4
Startup shutdown ( #11150 )
...
* Adjust exit process
- detelte objects in reserve order
- delete some global objects, may refactor in future
* remove unneeded codes
2022-05-20 10:31:39 +08:00
bofeng-song
57f031eb1e
Fixing cc.js file that will have multiple copies of node.jsb.ts file … ( #11155 )
...
* Fixing cc.js file that will have multiple copies of node.jsb.ts file in them
2022-05-19 18:30:03 +08:00
Yiwen
9780ad2164
Fix the logic error that the RenderWindow's fbo uses a user-defined depth attachment but ( #11147 )
...
not the swapchain's depth attachment regardless of the swapchain's state.
2022-05-19 15:22:32 +08:00
李吉林
25cc44e315
refactor DebugRenderer exiting ( #11145 )
2022-05-19 11:41:50 +08:00
徐兵
28e9584799
add custom skybox material ( #11133 )
...
* add custom skybox material
* code format
* code format
2022-05-19 11:33:23 +08:00
James Chen
70343e9c7c
fixed 3d-tasks/12347: [bug] Yellow robots which enables InstanceDraw could not be shown in JointTextureLayout test case ( #11136 )
2022-05-19 09:24:58 +08:00
minggo
ac92997d96
do not handle Root in engine ( #11140 )
2022-05-18 18:20:55 +08:00
James Chen
48f7c674cc
boost_hash_range return size_t which is 64bit on 64bit devices, so need to cast it to uint64_t. ( #11137 )
2022-05-18 17:22:46 +08:00
bofeng-song
b3c62b9597
Suspend game thread after it has been running in the background for a… ( #11112 )
...
* Suspend game thread after it has been running in the background for a specified amount of time
* Use the macro switch to decide whether to enable thread pause & remove unneeded code
2022-05-18 15:43:55 +08:00
Cocos Robot
e300d17167
[ci skip][AUTO]: Automated code generating update: 14e696cfcc8e46b0aecb3c95683c3fe0773334b0 ( #11128 ) ( #11130 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-18 15:16:02 +08:00
minggo
fac5bf833a
Subsystem startup shutdown ( #11128 )
...
* refactor startup/shutdown process of BuiltinResMgr
* refactor startup/shutdown process of ProgramLib
2022-05-18 11:09:55 +08:00
Cocos Robot
cbc500d020
[ci skip][AUTO]: Automated code generating update: cd5f758d5fbd96f9598e388e28886c2be9b69a96 ( #11123 ) ( #11127 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-18 09:57:12 +08:00
minggo
75dcf062c6
refactor startup/shutdown process of gfx device ( #11123 )
...
* refactor startup/shutdown process of gfx device
2022-05-17 17:29:09 +08:00
mmyduckx
22cc2e4878
add SharedPreferences related stroage implement ( #11097 )
2022-05-17 11:35:48 +08:00
minggo
b33e91fb15
refactor startup/shutdown process of DebugRenderer ( #11114 )
...
* refactor startup/shutdown process of DebugRenderer
2022-05-16 19:32:01 +08:00
minggo
c3a6205ce2
Refactor startup/shutdown process of ScriptEngine ( #11108 )
...
* refactor startup/shutdown process of ScriptEngine
2022-05-16 17:39:44 +08:00
minggo
b6debf5d3f
refactor Profiler startup/shutdown ( #11105 )
2022-05-16 11:36:33 +08:00
袁炜海
17874c6fbd
feat: hide addComponent button when scene is active ( #11088 )
2022-05-16 10:35:00 +08:00
Cocos Robot
d0c5e2eed1
[ci skip][AUTO]: Automated code generating update: db5a5b6463c517f61071b766a82f4448cf9c297f ( #11060 ) ( #11103 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-16 10:25:17 +08:00
James Chen
7203b63a50
fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject ( #11060 )
...
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
minggo
0c12729812
refactor startup/shutdown of file system ( #11089 )
...
* refactor startup/shutdown of file system
2022-05-16 09:48:24 +08:00
Cocos Robot
72ffc19fe0
[ci skip][AUTO]: Automated code generating update: f1428c983d5a1668dae9b166ed5282fb7f22a058 ( #11063 ) ( #11087 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-14 16:06:20 +08:00
zxx43
630fd4731e
V3.6.0 instanced particle shader fix ( #11063 )
...
* add particle instance support
* do not change particle-system.ts
* add param type to fix eslint error
* fix memory leak
* fix native destroy error
* fix particle shader bug
* remove #else
* change attribute name
* use vec2 for texcoord
* fix shader
* fix gpu shader bug
* compile native shader
2022-05-14 15:56:37 +08:00
PP
085a86be6e
fix eslint for js-typed.ts ( #11080 )
...
* fix eslint for js-typed.ts
* fix ci
* fix ci
2022-05-14 13:35:06 +08:00
PP
9aebd76c41
remove async usage in engine ( #11064 )
2022-05-14 10:11:34 +08:00
timlyeee
80fb5bcd30
update simulator to x64 ( #11054 )
2022-05-13 16:24:23 +08:00
Cocos Robot
dd4e9269bc
[ci skip][AUTO]: Automated code generating update: fe6e7b5ec5709d637a46e0d74c15af270b9d42db ( #11055 ) ( #11059 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-13 16:19:50 +08:00
James Chen
96e65e11fb
Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera. ( #11055 )
...
* Remove HTMLElement*
* RenderingSubMesh should not inherit Asset.
* Remove `override` for RenderingSubMesh::destroy
* Scene should own RenderScene and camera needs to be detached in RenderScene::removeCamera.
2022-05-13 13:31:20 +08:00
changhua
77ae1964a9
fix build template ejs file for bytedance-minigame ( #11050 )
2022-05-13 10:46:15 +08:00
mmyduckx
8c76a64e8a
fix tween-action related change scene crash ( #11036 )
...
* fix tween-action related change scene crash
* add isCCObject helper funciton
2022-05-12 18:25:00 +08:00
mmyduckx
c2f762c16d
Update clear platform ( #11037 )
...
* update clear-platform
2022-05-12 14:53:24 +08:00
李吉林
db2df7ee3a
add mesh comments ( #11034 )
...
* add mesh comments
* add @en
2022-05-11 20:52:54 +08:00
bofeng-song
4e6a2f1be3
Android: support exit procedure ( #10937 )
2022-05-11 18:13:53 +08:00
bofeng-song
d37bdb094f
add android_game_sdk's license ( #11035 )
...
* add android_game_sdk's license
2022-05-11 18:03:12 +08:00
James Chen
3e4f58531e
[v3.6][JSB] Revert the count of v8 internal field from 2 to 1, internal field only stores se::Object itself now. ( #11024 )
...
* [v3.6][JSB] Revert the count of v8 internal field from 2 to 1, internal field only store se::Object itself now.
2022-05-11 13:50:01 +08:00
bofeng-song
5bd5b59de4
reset gradle & jdk11 dependency ( #11015 )
...
* reset gradle to the original version
set compile tools version to 28
reset jdk11 dependency
2022-05-11 13:41:06 +08:00
mmyduckx
bb70fbcc4e
fix etc1 related compress texture crash ( #11023 )
...
* fix etc1 related compress texture crash
2022-05-11 10:58:02 +08:00
PP
bdf217396c
fix CI fetch-ral ( #11001 ) ( #11013 )
2022-05-10 11:31:41 +08:00
James Chen
0200e65aae
[JSB] Check whether node._children && node._children.length are valid in updateChildrenForDeserialize ( #11012 )
...
* [JSB] Check whether node._children && node._children.length are valid in updateChildrenForDeserialize
* [JSB] Optimize nodeProto._onBatchCreated, reduce the count of visiting properties.
2022-05-10 10:58:18 +08:00
江战
b6dce18eee
Revert "update clang-tidy ( #10989 )" ( #11010 )
...
This reverts commit a573bdc027 .
2022-05-10 10:24:36 +08:00
李吉林
d45e70bd52
move font builtin resource from 3d to base ( #11009 )
2022-05-10 10:09:52 +08:00
ChiaNing
045e6430cb
add base-Renderer and separate & rename renderableComp ( #10903 )
...
* add base-Renderer and separate & rename renderableComp
* rename
* some fix
* misc fix
* format change
* file name change & api doc add
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-09 17:44:56 +08:00
mmyduckx
a9ce83bb71
[Feature]ios-breakpoint-download when killApp in background. ( #10968 )
...
* [Feature]ios-breakpoint-download when killApp in background.
* [refine] use delay only for downloadTask
* [refine] add hasUnfinishedTask flag
* add comment for bgSesseionIdentifiter
2022-05-09 13:40:48 +08:00
zxx43
100e923bee
V3.6.0 add instanced particle ( #10918 )
...
* add particle instance support
* do not change particle-system.ts
* add param type to fix eslint error
* fix memory leak
* fix native destroy error
2022-05-09 10:43:31 +08:00
Cocos Robot
789485cba1
[ci skip][AUTO]: Automated code generating update: 203b39363b5c704661ee660c8538617246fa4aa1 ( #10993 ) ( #10995 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-07 18:34:49 +08:00
James Chen
c717b4bd00
Add static property 'isJSBClass' for JSB classes and only enable it in DEBUG mode. ( #10993 )
2022-05-07 18:04:05 +08:00