timlyeee
ae245aaec0
Fix promise exception output ( #10237 )
...
* Fix promise exception output
* use std::string to store event and stack trace
* record stack trace for second time unhandledRejectedPromise exception
2022-03-09 16:47:00 +08:00
timlyeee
8f53542267
fix win64 restart crash ( #10233 )
...
* fix win64 restart crash
* supply restart fix from v3.4.2/v3.5(supply a default context)
* temp hack for v8::Arraybuffer(abi conflict).
* remove use of windows dll for x86
2022-03-09 16:07:24 +08:00
hyde zhou
3997ea716a
v3.6.0 pipeline update ( #10275 )
...
* add setViewport setScissor
* scene transversal modified
* accidentally omitted
2022-03-09 16:06:51 +08:00
Cocos Robot
c3f2f4a1cb
[ci skip][AUTO]: Automated clang-format update: 3b49861e5f ( #10261 ) ( #10267 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-09 13:38:22 +08:00
Cocos Robot
78bb084fa6
[ci skip][AUTO]: Automated code generating update: 3b49861e5f ( #10261 ) ( #10268 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-09 13:36:43 +08:00
minggo
3b49861e5f
fix auto merge error
2022-03-09 09:53:26 +08:00
minggo
73c303f556
Merge branch 'v3.5.0' into merge_v3.5.0
2022-03-08 14:53:00 +08:00
Cocos Robot
c6a95abc6b
[ci skip][AUTO]: Automated code generating update: c775c5de21429b0ae2820d89bb8667406a49cfa7 ( #10246 ) ( #10259 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-08 13:36:22 +08:00
bofeng-song
4b92dfd675
support audiofocuschange for android ( #10246 )
...
* support audiofocuschange for android
2022-03-08 10:20:46 +08:00
hyde zhou
f622c7b8b5
[pipeline] custom pipeline update ( #10250 )
...
* add layouts
* fix eslint error
* rendergraph creates device resources
* restore resourceGraph
* resource graph updated
* add scene interface
* layout graph updated
* stop use IntrusivePtr<gfx::Swapchain>
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
2022-03-08 09:50:11 +08:00
timlyeee
bb62e41c40
fix crash when app jump to camera ( #10255 )
2022-03-08 09:42:23 +08:00
minggo
1cd206f531
cc::Object do not inherit from cc::RefCounted ( #10251 )
2022-03-07 17:43:06 +08:00
SijieWang
d54dd94650
[Optimize] git update external ( #10242 )
...
* [Optimize] git update external
* review code
Co-authored-by: Sijie <devhacker520@hotmail.com >
2022-03-04 17:42:02 +08:00
mmyduckx
99d9a58622
remove ios App Review Policy related code ( #10236 )
2022-03-04 16:51:38 +08:00
hyde zhou
02e3738302
[pipeline] refactor RenderPipeline and PipelineSceneData interface ( #10238 )
...
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
2022-03-04 16:43:29 +08:00
mmyduckx
09591ee83b
fix restart crash ( #10229 )
...
* fix restart crash
* add comment
2022-03-03 11:53:29 +08:00
hyde zhou
675dc0c853
V3.6.0 pipeline decouple GlobalDescriptorSetManager from RenderPipeline ( #10227 )
2022-03-03 11:31:20 +08:00
bofeng-song
65e89c2094
fix translucent problem due to SurfaceView‘s limit ( #10228 )
2022-03-02 17:47:27 +08:00
hyde zhou
86ef5443e6
V3.6.0 pipeline ( #10146 )
...
* add custom render pipeline
* adding render pipeline jsb
* turn off clang-format
* tojs ini generation added
* adding render pipeline interface
* add interface
* refactoring interface
* add math
* format
* adding jsb
* revert include rule
* jsb added
* interface updated
* inheritance added
* remove dependency
* fix cleanPath namespace
* impl moved to render::impl
* remove remove_cvref_t
* enum renamed
* expects ensures renamed
* parameter name changed
* member name format changed
* impl cleaned
* functions renamed
* clang-format on
* impl cleaned
* overloaded renamed
* make range renamed
* VertexOverloaded renamed
* fix sevalue_to_native, use function specialization
* remove nodiscard
* Pipeline Builders renamed
* fix js enum naming bug
* add web pipeline
* add auto generation guard
* add descriptor interface
* fix layout name
* add DescriptorHierarchy
* LayoutGraphData renamed
* impl updated
* fix initialization
* fix member initialization
* fix GraphImpl this->
* this-> removed
* this-> removed
* Tag type renamed
* add license
* fix tag init
* rename
* layout graph renamed
* layout graph updated
* cntr updated
* adding descriptor hierarchy
* add present pass
* update jsb
* add layout graph
* change setter inheritance
* fix web-pipeline diamond inheritance problem
* cleanup
* change namespace
* adding layout graph
* add external resource type
* add factory
* adding native pipeline
* custom pipeline added
* adding UuidGraph
* uuid graph added
* adding pipeline runtime
* add uuid contains, rename addressable
* pipeline interface changed
* rendergraph completes filtering and dependencies
* Change the residency judgment
* RenderTexture changed to RenderWindow
* adding PipelineRuntime
* adding pipeline wrapper
* fix link error
* remove createPipelineRuntime
Co-authored-by: GengineJS <476393671@qq.com >
2022-03-02 13:41:15 +08:00
timlyeee
c91db1f369
Fix ios device display effect ( #10184 )
...
* Fix ios device display effect
2022-03-02 10:27:51 +08:00
Cocos Robot
25399bc1a9
[ci skip][AUTO]: Automated clang-format update: bbb83c366fce82c1d817e53907a8cdffdccd5b41 ( #10096 ) ( #10224 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:18:31 +08:00
Cocos Robot
2cfc659779
[ci skip][AUTO]: Automated clang-format update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 ( #10211 ) ( #10222 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:17:46 +08:00
Cocos Robot
54cfb9f897
[ci skip][AUTO]: Automated genbindings update: dc993f3861cb486d66fd4de1de2bf861b0d97b96 ( #10211 ) ( #10223 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-02 10:17:32 +08:00
Yiwen
b2ec8b022f
select mipmap levels dynamically ( #10096 )
...
* draft
* fix some stupid bugs introduced in the lase commit
* fixed bug when init webgl's texture.
* draft
* fix some bugs
* fix some warnings
* fix undefined type cast
* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.
* fix some bugs appear when resize texture, clean the changes. all tests passed.
* remove debug codes, improve performance, correct the framebuffer size.
* make some input parameters readonly
* Make the gfx function's parameter's access priority the same as native engine
* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
minggo
164d4ccc14
Rename Vector and Map ( #10206 )
...
* Vector -> RefVector
* Map -> RefMap
2022-03-02 09:56:38 +08:00
bofeng-song
141128f148
refine context2d, reduce call from native to js ( #10211 )
...
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
minggo
3ca3306ef1
Revert "fix misuse of drawAPI on metal ( #10195 ) ( #10202 )" ( #10212 )
...
This reverts commit f3051234be .
2022-03-01 15:06:46 +08:00
minggo
a5c138be50
Revert "fix misuse of drawAPI on metal ( #10195 )" ( #10213 )
...
This reverts commit 75d96e6de4 .
2022-03-01 14:53:35 +08:00
James Chen
3c5ee10731
[v3.6] Move native/external/config.json to native/external-config.json ( #10207 )
...
* Move native/external/config.json to native/external-config.json
* Update CI config.
* Update native/utils/download-deps.js
* Update native/tools/make-package/config.json
* Remove native/.github
2022-03-01 10:34:56 +08:00
James Chen
c24d75e115
[v3.5.0] Move native/external/config.json to native/external-config.json ( #10208 )
...
* Move native/external/config.json to native/external-config.json
* Update CI config.
* Update native/utils/download-deps.js
* Remove native/.github
2022-03-01 10:34:35 +08:00
江战
f2a80139a3
jsb add convert routines for size_t/long ( #10198 )
2022-03-01 10:29:12 +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
江战
bfb2c1aaa9
3.6 apple: jsb add convert routines for size_t/long ( #10200 )
...
* jsb add convert routines for size_t/long
2022-03-01 09:48:32 +08:00
yangchao
ff4e5784e7
update config.json ( #10204 )
2022-02-28 17:25:51 +08:00
Zeqiang Li
f3051234be
fix misuse of drawAPI on metal ( #10195 ) ( #10202 )
2022-02-28 16:45:03 +08:00
Cocos Robot
3bc403cdf5
[ci skip][AUTO]: Automated code generating update: 2d992f2b638e48fc8f029de24c1843de8d1f22f7 ( #10190 ) ( #10196 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-02-28 11:26:27 +08:00
Cocos Robot
6d4a51fbe7
[ci skip][AUTO]: Automated clang-format update: 678436827a04f45a277fa8ccc5e05ea9acec73b0 ( #10172 ) ( #10197 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-02-28 11:03:21 +08:00
minggo
6b89ccc3d0
fix spine binary data read issue. ( #10172 )
2022-02-28 10:45:09 +08:00
Zeqiang Li
75d96e6de4
fix misuse of drawAPI on metal ( #10195 )
2022-02-28 09:57:23 +08:00
James Chen
f20c80e850
Remove __jsb_CCPrivateData_class and its relevant code. ( #10190 )
...
* Remove __jsb_CCPrivateData_class and its relevant code.
2022-02-28 09:56:22 +08:00
Cocos Robot
6469e9a7e6
[ci skip][AUTO]: Automated code generating update: e917aa5001cacdab6d9c65b7c62d007b56fa64b8 ( #10183 ) ( #10192 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-02-28 09:56:00 +08:00
yangchao
87f795d572
fix : linux build use static link. need add sndio lib ( #10186 )
...
* fix : linux build use static link
* update config.json
2022-02-25 17:54:44 +08:00
timlyeee
f175150b6c
Cherry pick from v3.4.2 ( #10182 )
...
* supply a default context when surface destroyed (#4222 )
* Fix loop audio would stop for ios system (#4254 )
* IOS system has an uncertain state between foreground and background, and our condition sometimes miss the point to load buffers.
* Queue for 3 buffers might be too short to live, use 4 or even more instead.
* Use same mtx for write (#4220 )
2022-02-25 13:52:31 +08:00
Cocos Robot
a8650b60f7
[ci skip][AUTO]: Automated genbindings update: 281e09a5192e334a061f19ea55ed6e98a2cc3cbb ( #10102 ) ( #10178 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-02-25 09:57:21 +08:00
troublemaker52025
e723e5aa3a
Add renderMesh bias for v3.5.0 ( #10102 )
...
* Add renderMesh bias for v3.5.0
* fix ci error
* change function name
* fix merge error
* update
* update 2
* update
* update
* update 2
2022-02-24 23:27:09 +08:00
江战
362f42b70c
update okhttp to 3.12.14 ( #10169 )
2022-02-24 18:22:20 +08:00
James Chen
bd54a082a3
Update Spidermonkey (97.0.1) backend for se (jswrapper) ( #10170 )
...
* Update spidermonkey backend for se.
* Update cmakelist
* Bug fix for se spidermonkey backend.
* Fix constructor binding for spidermonkey backend.
* Fix wrong syntax of calling native function in simple-texture.jsb.ts & builtin-res-mgr.jsb.ts
* Use jsb.createExternalArrayBuffer for caching since it will not be moved during GGC.
* Cleanup se spidermonkey backend
* Add Object::createExternalArrayBuffer for se v8 backend.
* Remove unused code in jsb_assets_manual.cpp
* Add jsb.createExternalArrayBuffer binding.
* Remove unused WebGLRenderingContext registeration.
* Remove unused code in jsb_global_init.cpp
* Add Root::setDevice.
* Invoke ScriptEngine::mainLoopUpdate in Engine.cpp.
* Update CMakeLists.txt
* Make missing return type as an error.
* Cleanup for sm/ScriptEngine.cpp
* prefine.cmake fix for vs.
2022-02-24 18:20:54 +08:00
minggo
ef075d6887
Update config.json ( #10167 )
2022-02-24 16:24:48 +08:00
yangchao
c559839905
update config.json ( #10168 )
2022-02-24 15:41:08 +08:00
yangchao
e9e47b9dba
do not create window in server mode ( #10161 )
...
* add no window impl
* add empty win impl file
2022-02-24 14:41:04 +08:00