mmyduckx
7910e7e558
only use backgroundSession for ios ( #11408 )
2022-06-09 11:02:15 +08:00
Cocos Robot
8f9bebf427
[ci skip][AUTO]: Automated code generating update: cc1f2a1dd0ebecb7a1cb28539c6459ac390f5b9f ( #11422 ) ( #11424 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-09 09:17:48 +08:00
minggo
a15a2da91c
add limitation for job system on iOS ( #11410 )
2022-06-09 09:16:46 +08:00
PP
1bd1bf1c57
rename adapters ( #11401 )
...
* rename adapters
update
* update adapter require
2022-06-08 14:59:31 +08:00
Cocos Robot
977f323dfa
[ci skip][AUTO]: Automated code generating update: caa03bcc5d7f551a2ec49032ecd80facff839bc2 ( #11396 ) ( #11403 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-08 14:23:00 +08:00
徐兵
5e8f4a2e58
convolution map ( #11322 )
...
* upload mipmap from atlas
* add macro "USE_CONVOLUTION_MAP" and editable skybox material for native engine
* code format
* rename "USE_CONVOLUTION_MAP" and enum MipmapBakeMode, delete the mipmapMode property
* rename struct
* rename useOfflineMipmaps function
* rename function and fix macro 'CC_USE_IBL' 'CC_USE_DIFFUSEMAP' 'CC_USE_HDR' not working
* fix compile errors
* add documentation
* update documentation
* USE_RGBE_CUBEMAP macro changed to global
2022-06-08 12:10:06 +08:00
李吉林
1e34d3551a
V3.6.0 geometry compatibility ( #11393 )
...
* compatibility for geometry renderer
* add deprecated.ts
* add empty implementation in web-pipeline
* ts lint
2022-06-08 11:11:10 +08:00
minggo
cc9664405a
use c++ 17 ( #11389 )
...
* use c++ 17
2022-06-08 10:19:35 +08:00
pandamicro
062af6c001
Merge pull request #11387 from minggo/v3.6.0_merge_v3.5.1-ds
...
V3.6.0 merge v3.5.1 ds
2022-06-07 16:58:11 +08:00
Cocos Robot
722a7b63c0
[ci skip][AUTO]: Automated code generating update: 847af8272f7ab7fc0803ddefbebb7a2aad205beb ( #11379 ) ( #11385 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-07 15:25:27 +08:00
minggo
f07d3f3bda
Merge branch 'v3.5.1-ds' into v3.6.0_merge_v3.5.1-ds
2022-06-07 15:02:34 +08:00
James Chen
d30914f7b0
Fix missing include vector.h in Layers.h ( #11379 )
2022-06-07 14:34:22 +08:00
troublemaker52025
387b994f91
Add CSM for v3.6.0 ( #11120 )
...
* Add CSM for v3.6.0
* fix CI error
* fix Ci error 2
* Limit soft shadow sampling range
* update
* add soft 5x PCF
* add warn ID
* sync CSM to native engine
* fix CI error
* add Performance Mode
* fix ci error
* fix ci error 2
* fix ci error 3
* add precisely tailored
* use CC_SHADOWMAP_FORMAT
* update
* Modify default parameters
* sync to native engine
* revert config file
* fix ci error
* modify pr problem
* fix CI error
* fix ci error
* sync to js engine
* fix ci error
* fix cc_shadowMap not binding
* fix vulkan shadow effect error
* build effect
* fix ci error
* modify review
* fix ci error
* fix ci error 2
* delete unused interfaces
* fix ci error
* update
* update 2
* fix ci error
* delete csmDebugMode
* build effect
* use csmLeve to shadowCascadeLevel
* update
2022-06-07 14:30:49 +08:00
James Chen
b988e26034
fixed #11148 : Crash when delete ScriptEngine in exit process. ( #11364 )
...
* fixed #11148 : Crash when delete ScriptEngine in exit process.
2022-06-06 18:21:26 +08:00
James Chen
351af045c1
fixed #11362 : [3.6] No debugger could be attached. ( #11370 )
...
* fixed #11362 : [3.6] No debugger could be attached.
2022-06-06 16:11:03 +08:00
James Chen
8998b1bb7e
sevalue_to_native supports std::function<void()> and std::function<R()>, don't use attachObject to retain callback, use lambda to capture rooted callback se::Value instead. ( #11368 )
...
sevalue_to_native supports more types: ccstd::varaint<ARGS...> *, const ccstd::vector<T>*, ccstd::vector<T>* const .
2022-06-06 16:03:48 +08:00
Cocos Robot
e9f1d07945
[ci skip][AUTO]: Automated code generating update: 31c2a74fb63536c8252f5b16c5e012b32ad82fdf ( #11348 ) ( #11366 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-06 13:44:35 +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
Cocos Robot
3fca126e7b
[ci skip][AUTO]: Automated code generating update: f595289a62b8474aaf36fc9a9741b5606e26adab ( #11323 ) ( #11347 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-02 15:18:51 +08:00
James Chen
ae0ca842e5
[v3.6] Don't rename webview& video c++ destuctor to destroy in webview/video.ini, add a 'destroy' method and bind it instead. ( #11323 )
...
* [v3.6] Don't rename webview& video c++ destuctor to destroy in webview/video.ini, add a 'destroy' method and bind it instead.
* VideoPlayer doesn't need to be inherited from RefCounted.
* Add final keyword for VideoPlayer & WebView.
2022-06-02 15:01:57 +08:00
James Chen
61a3b74742
[v3.6][binding] Use se::HandleObject for non-JSB object in jsb_conversions.h ( #11326 )
...
* [v3.6][binding] Use se::HandleObject for non-JSB object in jsb_conversions.h
And add operator Object*() for se::HandleObject
2022-06-02 15:01:17 +08:00
hyde zhou
02407dbc70
V3.6.0 pipeline ( #11277 )
...
* decouple GlobalDescriptorSetManager from RenderPipeline
* formatting
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
* 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>
* add setViewport setScissor
* scene transversal modified
* accidentally omitted
* remove pipeline event from pipeline, decouple terrain from render pipeline
* shadingScale moved from PipelineSceneData to Pipeline
* Pipeline removed from PipelineSceneData
* pipelineEvent refactored
* fix typo
* rendergraph executes
* interface changed
* fix submit
* Update the draw function
* pipeline runtime added to pipeline
* automatically barrier
* typo
* comment
* forgot sth important
* add classic/custom pipeline switch
* web pipeline can be enabled
* relax pipeline interface
* pipeline use gfx::Color
* decouple native RenderPipeline
* fix clang tidy
* add get pipelineSceneData
* present refactored
* added executor example
* half way done
* find slot
* merge & sort layout
* layout graph updated
* enable native usesCustomPipeline
* change mergedbs
* fix comment
* fix eslint error
* fix
* draft
* update the rendergraph compiler
* update the compiler
* update executor
* update to latest
* revert mtlcmdbuffer manually
* valid added
* external node
* add framebuffer
* fix linter
* fix linter
* fix implicit narrow cast
* fix linter
* use native root.pipeline
* use Root to get pipeline instance
* fix ccstd::string
* turn off validation
* cleanup
* ccstd::pmr::string changed
* update the pipeline ubo
* use ccstd::pmr::string
* uses ccstd::pmr::vector
* uses ccstd::pmr::map
* reconstruction
* external res
* compile issue
* clang tidy
* fix ccstd::pmr::string hash
* fix potential issue
* Fixed some rendering errors of webpipeline in the editor
* Optimize attachment load/storeOp logic
* update executor
* WebPipeline bug fixed in editor
* Fix the problem of resource cache error when camera is deleted or added
* webpipeline performs logic adjustments and bug fixes
* render graph updated
* descriptor updated
* descriptor updated
* fix member traits
* libstdc++ does not support hashing std::pmr::string on linux
* refactor descriptor
* jsb allocator walkaround
* rename
* descriptor type refactored
* fix default
* adding layout graph builder
* transfer env
* switch env
* switch env
* adding native layout builder
* adding native builder
* adding layout graph
* adding descriptor
* adding descriptor layout
* create layout graph builder added
* fix root
* format
* add web layout graph builder
* refactor web layout graph
* fix intrusive ptr
* descriptor set data updated
* before applying another idea
* debug string added
* adding render graph
* adding resource graph
* adding native pipeline
* graph remove edge temporary fix
* remove_edge simplified
* remove edge simplified
* outIter renamed
* remove edges simplified
* fix reference graph impl
* run test case
* adding native impl
* remove unused native
* queue added
* pass reorder v1.0
* adding native pipeline
* adding native pipeline
* fix bug
* render graph setup added
* render graph updated
* fix ccstd::string
* getFirstChildLayout, num of children must be 1
* remove examples
* structure refactor
* pass reorder & framegraphDispatcher interface
* remove test code
* remove debug code
* ts added object detection
* ts get name added
* RenderGraph setup moved
* add ts layout graph implement
* fix lint
* fix ci: implicit type conversion
* ci
* adding warmup
* turn off custom
* pipeline updated
* format
* try disable clang 64 to 32 narrow warning
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2022-06-01 19:06:59 +08:00
James Chen
04a3732d8e
[v3.6] Fix initial ref count for assets-manager. ( #11325 )
...
The default value is 0 in v3.6, so need to addRef after new.
2022-06-01 17:44:07 +08:00
Cocos Robot
7ca18c11ed
[ci skip][AUTO]: Automated code generating update: 2c5709e9fb6e1d89f7e0121d4082e52561bde062 ( #11304 ) ( #11324 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-06-01 17:37:41 +08:00
minggo
4d302261bd
add copy constructor and operator= functions ( #11318 )
...
* add copy constructor and operator= functions
2022-06-01 17:37:07 +08:00
mmyduckx
cb713a75d8
Refactor image data binding ( #11304 )
...
* refactor image data binding
* use setPrivateObject instead.
2022-06-01 17:14:18 +08:00
kenshin
6af32ff046
fix ttf font render on android ( #11298 )
...
use ttf font with splice string "-Bold" can not found in sTypefaceCache.
2022-06-01 15:58:42 +08:00
qiuguohua
6e693451a5
deviceevent related issues ( #11308 )
...
* dispatchOrientationChangeEvent is not called
2022-06-01 14:47:18 +08:00
minggo
c33a59fb94
delete/recreate all resources when restart app ( #11301 )
...
* unify restart logic
2022-06-01 11:41:04 +08:00
Cocos Robot
af23ee705d
[ci skip][AUTO]: Automated code generating update: 2a51caedb255a578de9da01a8709b5866e87bf3f ( #11259 ) ( #11300 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-31 14:35:27 +08:00
mmyduckx
63e5694cfe
Sync shadow info ( #11259 )
...
* sync ts shadowInfo planeDirection&planeHeight
2022-05-31 14:27:41 +08:00
Cocos Robot
893b9012bb
[ci skip][AUTO]: Automated code generating update: 7953d3cad0ae59507d0d7db869fac8262fc3f54d ( #11286 ) ( #11293 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-31 10:13:52 +08:00
kenshin
bb611b381d
Update Downloader-java.cpp ( #11240 )
2022-05-31 09:58:02 +08:00
James Chen
fdc977ee78
[v3.6] Cleanup code, fix typo and add missing property bindings ( #11254 )
...
* Fix typo: Fog::setfogRange -> Fog::setFogRange
* Model::getInstancedAttributeBlock should return reference.
* Update scene.ini
* Fix errors in scene.ini.
* Put Node::_children private.
* Update access level, return value, typo.
* revert Ambient.h
* Remove an unused method: RenderScene::removeModel(index_t idx);
* Update scene.ini
* Add missing propery bindings in Shadows & AmbientInfo.
* Remove unused accessor in Ambient.h
2022-05-31 09:57:30 +08:00
qiuguohua
bb16068bab
Modify platfrom to platform ( #11283 )
...
* Modify platfrom to platform
2022-05-30 18:22:17 +08:00
江战
60a918965c
seval_to_Data accept arraybuffer ( #11280 )
2022-05-30 16:17:58 +08:00
Cocos Robot
eac66a91a4
[ci skip][AUTO]: Automated code generating update: b2ecfc0d54f5cc82da8a80f7f37576bc3231e7fe ( #11021 ) ( #11275 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-30 13:32:53 +08:00
hyde zhou
243547ffac
V3.6.0 pipeline ( #11021 )
...
* 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
* fix misuse of drawAPI on metal (#10195 )
* 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
* decouple GlobalDescriptorSetManager from RenderPipeline
* formatting
* move interface onGlobalPipelineStateChanged from PipelineSceneData to Pipeline
* 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>
* add setViewport setScissor
* scene transversal modified
* accidentally omitted
* remove pipeline event from pipeline, decouple terrain from render pipeline
* shadingScale moved from PipelineSceneData to Pipeline
* Pipeline removed from PipelineSceneData
* pipelineEvent refactored
* fix typo
* rendergraph executes
* interface changed
* fix submit
* Update the draw function
* pipeline runtime added to pipeline
* automatically barrier
* typo
* comment
* forgot sth important
* add classic/custom pipeline switch
* web pipeline can be enabled
* relax pipeline interface
* pipeline use gfx::Color
* decouple native RenderPipeline
* fix clang tidy
* add get pipelineSceneData
* present refactored
* added executor example
* half way done
* find slot
* merge & sort layout
* layout graph updated
* enable native usesCustomPipeline
* change mergedbs
* fix comment
* fix eslint error
* fix
* draft
* update the rendergraph compiler
* update the compiler
* update executor
* update to latest
* revert mtlcmdbuffer manually
* valid added
* external node
* add framebuffer
* fix linter
* fix linter
* fix implicit narrow cast
* fix linter
* use native root.pipeline
* use Root to get pipeline instance
* fix ccstd::string
* turn off validation
* cleanup
* ccstd::pmr::string changed
* update the pipeline ubo
* use ccstd::pmr::string
* uses ccstd::pmr::vector
* uses ccstd::pmr::map
* reconstruction
* external res
* compile issue
* clang tidy
* fix ccstd::pmr::string hash
* fix potential issue
* Fixed some rendering errors of webpipeline in the editor
* Optimize attachment load/storeOp logic
* update executor
* WebPipeline bug fixed in editor
* Fix the problem of resource cache error when camera is deleted or added
* webpipeline performs logic adjustments and bug fixes
* render graph updated
* descriptor updated
* descriptor updated
* fix member traits
* libstdc++ does not support hashing std::pmr::string on linux
* refactor descriptor
* jsb allocator walkaround
* rename
* descriptor type refactored
* fix default
* adding layout graph builder
* adding native layout builder
* adding native builder
* adding layout graph
* adding descriptor
* adding descriptor layout
* create layout graph builder added
* fix root
* format
* add web layout graph builder
* refactor web layout graph
* fix intrusive ptr
* descriptor set data updated
* debug string added
* adding render graph
* adding resource graph
* adding native pipeline
* graph remove edge temporary fix
* remove_edge simplified
* remove edge simplified
* outIter renamed
* remove edges simplified
* fix reference graph impl
* adding native impl
* remove unused native
* queue added
* adding native pipeline
* adding native pipeline
* fix bug
* render graph setup added
* render graph updated
* fix ccstd::string
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
Co-authored-by: GengineJS <476393671@qq.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
2022-05-30 11:50:22 +08:00
minggo
fe8e4ecd2b
Merge pull request #11256 from minggo/v3.6.0-merge-v3.5.1
...
V3.6.0 merge v3.5.1
2022-05-30 11:48:34 +08:00
Yiwen
791c264de6
Add buffer offset to gfx::BufferTextureCopy. ( #11007 )
...
- [x] sync to typescript engine
- [x] sync to jsb
2022-05-30 11:07:50 +08:00
minggo
226d81b6bd
sync logic to native
2022-05-30 10:51:27 +08:00
Cocos Robot
878db36f3c
[ci skip][AUTO]: Automated code generating update: 4caee626a658b4334e8f91892d4cdebf8e775aeb ( #11241 ) ( #11269 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-30 10:15:48 +08:00
zhakesi
89621a8084
optimize spine use local mode in native ( #11225 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-29 13:46:05 +08:00
zhakesi
0065242d91
fix dragonbone animation stop function with paramter null ( #11241 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-05-29 13:41:33 +08:00
minggo
77701a2d84
Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1
2022-05-27 15:23:33 +08:00
mmyduckx
b09494503f
fix skeletalAnimation memory leak ( #11249 )
2022-05-27 10:43:09 +08:00
Cocos Robot
2a8008924f
[ci skip][AUTO]: Automated code generating update: 4b8992ee0d0fb45c5eff98eb7d49d4d796636ff8 ( #11237 ) ( #11252 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-05-27 09:53:49 +08:00
James Chen
b65b47c04b
[v3.6][native] Cleanup code, minor changes ( #11237 )
...
* [v3.6][native] Cleanup code, minor changes
2022-05-27 09:46:04 +08:00
James Chen
2dbb19adee
issue #11221 : fix two memory leaks in BakedSkinningModel.cpp & v8/ScriptEngine.cpp ( #11222 )
...
* issue #11221 : fix two memory leaks in BakedSkinningModel.cpp & v8/ScriptEngine.cpp
* issue #11221 : fix a memory leak in ScriptEngine::runByteCodeFile.
* Update ScriptEngine.cpp
2022-05-26 13:59:05 +08:00
ChiaNing
48194f1d37
Update bindings-generator environment configuration instructions ( #11231 )
...
* Update bindings-generator environment configuration instructions
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-26 13:41:25 +08:00