ChiaNing
985f4fd94c
Fix pass hash when blend change ( #12294 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-08-02 16:05:24 +08:00
zhakesi
dc91a469ae
use native middleware buffer ( #12233 )
...
* use native middleware buffer
* fix clang-tidy
* fix clang-tidy
* set useLinkData as meshBuffer's property
* refactoring some code
* set 2d.ini
* fix word component
* fix clip middleware2d
* ...
* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
James Chen
fe0fd229a4
Fix CocosApplication doesn't unregister engine event when restarting. ( #12250 )
2022-07-28 18:15:35 +08:00
Zhang mingzhen
ecd94ea596
add vbColorDirty for native color filling ( #12221 )
...
* set colorDirty as true initially.
* move it to onEnable
* add vbColorDirty to protected native code sorting
* for complete padding
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-27 19:28:39 +08:00
zhakesi
4644228090
fix binding inverseBindposes ( #12205 )
2022-07-26 20:14:19 +08:00
Santy-Wang
07facb9bf1
optimize memory ( #12157 )
2022-07-23 15:28:25 +08:00
zhakesi
e18e900162
support spine/dragonbones use local native batcher2d ( #12141 )
...
* support spine/dragonbones use local native batcher2d
* avoid tiled map use local
* render-entity add set use local
* modify some code
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-07-22 12:54:15 +08:00
hyde zhou
8dfcbabeb0
[V3.6.0 gfx] auto barrier added ( #12118 )
...
auto barrier added.
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
2022-07-21 23:21:23 +08:00
James Chen
235d0e9017
Fix TextureCube binding. ( #12133 )
2022-07-21 22:36:46 +08:00
徐兵
2e69f679d3
reflection convolutional map baking speed optimization ( #12112 )
2022-07-21 19:20:42 +08:00
hyde zhou
0c82b143fc
[V3.6.0 pipeline] added web forward and deferred pipelines ( #11646 )
...
* added custom web forward and deferred pipelines
2022-07-21 12:40:13 +08:00
Santy-Wang
2ae2d94b93
optimize performance ( #12080 )
...
* optimize performance
* fix binding
* fix bugs
* fix bugs
* fix crash
* remove useless func
* fix ci
* fix ci
* fix ci
2022-07-21 11:50:43 +08:00
troublemaker52025
d5f77d0af1
[optimization] Split csm ubo v3.6.0 ( #12072 )
...
* split csm ubo v3.6.0
* update
* Modify *.meta file to ignore material upgrade
* update
* update
* update 2
* use better struct padding and save memory
* update mate
* fix ci error
* memory alignment
* update
* update 2
* chenge func name
* update
2022-07-20 22:58:25 +08:00
江战
68a9972729
update readme ( #12095 )
2022-07-20 15:30:16 +08:00
James Chen
131fb74b32
Fix the parameter of TextureCube::setImage, support to pass nullptr to it, keep the same logic as which in web ( #12062 )
2022-07-20 11:09:24 +08:00
ChiaNing
d9c93a57c7
remove blend state on fillPass function ( #12068 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-19 17:18:38 +08:00
Zhang mingzhen
12625f09d8
RenderDrawInfo code sorting ( #12055 )
...
* remove blendHash and DrawInfoAttrLayout
* remove code in cpp
* remove blend hash in ts
* remove blendhash of middleware in ts
* remove rebundant code
* remove stencilStage in drawinfo
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-19 13:35:54 +08:00
zhakesi
51d999e0e6
native batcher2d tiled-map addUserNode complete ( #12059 )
2022-07-19 10:53:42 +08:00
ChiaNing
6b64c7e8da
Remove custom Material flag ( #12021 )
...
* Remove custom Material flag
* remove commit model material
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-16 09:36:32 +08:00
James Chen
34f4c1c2eb
Fix typo of TextureCube::setMipmapAtlas and update property binding in tojs/assets.ini ( #12016 )
2022-07-15 16:10:33 +08:00
James Chen
f644e78e5c
[v3.6.0] Refactor native Batcher2d lifecycle ( #12011 )
2022-07-15 14:17:33 +08:00
Zhang mingzhen
05bde85ed7
V3.6.0 batcher2d code sorting ( #11943 )
...
* parentOpacity move to RenderEntity
(cherry picked from commit f1d9b5cb55c1912bd61ba490ec46ce7108097556)
* parentOpacity remove from entity and put into funtion parameters
* unify dynamic and static handle process
* reform entity shared buffer structure
* modify default value of struct
* set drawinfo type for spine/dragonbones
* remove legacy method
* reform color .type as uint8 from float
* CI fix
* remove static-cast
* CI fix
* CI fix
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
Co-authored-by: liqiao <liqiao@cocos.com >
2022-07-13 15:48:31 +08:00
James Chen
9f615e1fec
fixed #11911 : [v3.6][optimization] Use External ArrayBuffer to optimize the shared memory in Node ( #11926 )
2022-07-13 13:50:53 +08:00
李吉林
f6a41a76a1
export DebugRenderer to ts ( #11946 )
...
* export DebugRenderer to ts
2022-07-12 22:33:36 +08:00
Zhang mingzhen
731d703648
Mask to native bug fix ( #11913 )
...
* mask inverted bug fix
(cherry picked from commit dc695c992983042ca7af3ac91051db40049dfbd1)
* sync customMaterial for commitIA of middleware in native
* fix CI
* remove abundant mask code
* add nolint
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-11 13:43:56 +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
bofeng-song
7c8492c668
remove unneeded code, gameActivity has been ensured the render lifecycle ( #11897 )
2022-07-08 18:20:38 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
James Chen
e41ec8b765
Fix binding of Node.inverseTransformPoint. ( #11845 )
2022-07-05 13:33:25 +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
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
James Chen
174ba0eff2
Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. ( #11740 )
2022-06-30 10:25:02 +08:00
mmyduckx
4fdf948d24
refactor downloaderTask API style ( #11697 )
2022-06-29 11:34:15 +08:00
James Chen
8fcfed75ca
[jsb] Fix that BufferAsset is not bound correctly. ( #11695 )
...
* [jsb] Fix that BufferAsset is not bound correctly.
2022-06-24 18:44:17 +08:00
timlyeee
23e10124ef
V3.6.0 get pcm buffer from audio ( #11521 )
2022-06-24 09:39:13 +08:00
Zeqiang Li
c61a02f807
3.6.0 barrier interface ( #11571 )
...
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
troublemaker52025
0d558dd03b
[v3.6.0] fix deferred pipeline has no shadow && merge error [shadow biase, spotLight.aspect] ( #11636 )
...
* force deferred pipeline enable receive shadow for all objects in shading pass
* fix shadow bias and spot aspect code according to merge conflict from 3.5.1 to 3.6
2022-06-22 10:08:24 +08:00
ChiaNing
f2a9607aa4
The base version of sorting priority add ( #11599 )
...
* sorting Priority add
* fix CI
* name change
* binding add
* name change to priority
* bind remove
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-20 17:54:31 +08:00
Yiwen
fcd873895d
add a method to force update the descriptor ( #11550 )
...
* add a method to force update the descriptor
2022-06-16 17:40:33 +08:00
James Chen
19ca60062c
fixed #11310 : [v3.6][bug] VideoPlayer script error ( #11536 )
2022-06-16 14:11:33 +08:00
minggo
3e818c45c9
Change macro name ( #11528 )
...
* CC_PLATFORM_MAC_IOS -> CC_PLATFORM_IOS
* CC_PLATFORM_MAC_OSX -> CC_PLATFORM_MACOS
* add codes to keep compatible
2022-06-16 14:05:16 +08:00
jk20012001
9965af4abb
add debug view mode ( #11449 )
...
* add debug view mode
* code style
* fix single mode lighting lack of gamma & tonemapping
* comment style
* move from legacyCC to render-pipeline
* fix gamma & tonemapping not matched in debug view modes
* 原生实现
* move to root
* fix CSMLayers
* pack ubo data
* fix binding
* update binding
* update shaders for debug view
* code style
* fix CI
fix fog in composite mode
* resolve conversation
* resolve conversations
* function order
* resolve conversations
2022-06-14 00:13:27 +08:00
hyde zhou
24ab74050d
V3.6.0 pipeline ( #11327 )
...
* Refactoring EffectAsset, ProgramLib, (Material) Pass.
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: GengineJS <476393671@qq.com >
2022-06-13 11:15:21 +08:00
troublemaker52025
a9a68e50ae
[v3.6.0] CSM panel modification ( #11397 )
...
* [v3.6.0] CSM panel modification
* update
* fix ci error
* fix ci error
* fix ci error
* build effect
* change namespace to '_csmXxxx' && '_xxxCSM'
* modification reply
* update
* update
* update
* fix ci error
* fix ci error
* fix ci error 2
* fix ci error 2
* fix ci error 3
* fix ci error 4
* fix ci error 5
2022-06-10 14:08:10 +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
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
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
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