61 Commits

Author SHA1 Message Date
minggo
5663b38e33 Merge branch 'v3.8.2' into develop-merge-v3.8.2
Conflicts:
	cocos/3d/assets/mesh.ts
	editor/inspector/contributions/node.js
	editor/inspector/utils/prop.js
	native/cocos/3d/assets/Mesh.h
	native/cocos/engine/Engine.cpp
	native/cocos/renderer/gfx-gles3/GLES3Commands.cpp
	native/cocos/renderer/pipeline/custom/NativePipeline.cpp
	native/external-config.json
2023-08-31 14:41:18 +08:00
Yiwen
bde3cd4cc3 Add adv mesh functionalities. (#16009)
* stage

* update

* update

* fix physics & ray cast problem

* fix default value, clean unused code, fix lint errors

* clean code

* update meta file

* update external, license

* fix tidy, circular dep

* fix type cast

* rm unit test

* fix unit test

* update comment
2023-08-21 10:15:24 +08:00
James Chen
d6d3723c95 fixed #15781: Potential memory issue in StringUtil::format if argument size is greater than 4096 (#15903)
* fixed #15781: Potential memory issue in StringUtil::format if argument size is greater than 4096

* Fix missing va_end
2023-08-14 14:46:02 +08:00
Zhou Zhenglong
e583e37d34 Merge branch 'v3.8.1' into develop-merge 2023-08-11 14:44:30 +08:00
hyde zhou
b48581d91a V3.8.1 pipeline (#15875) 2023-08-09 15:23:40 +08:00
Zhou Zhenglong
fabb7febd1 Merge branch 'v3.8.1' into develop-merge 2023-07-19 14:41:42 +08:00
minggo
e4072ec212 Improve logic (#15742)
* add test case for Node.setSiblingIndex()

* make the logic more clear and reuse this._siblingIndex

* add uint test for Node::setSiblingIndex() in c++

* simplify logic in c++

* add comment

* fix logic
2023-07-18 16:27:26 +08:00
hyde zhou
979e3c9677 V3.8.1 msaa (#15584) 2023-07-18 11:55:05 +08:00
hyde zhou
e06bb6cdb4 [V3.8.0 pipeline] add deferred pipeline (#15452) 2023-06-16 17:35:18 +08:00
troublemaker52025
aedc32acf6 Adding project macro definitions to the native engine (#15399) 2023-06-09 16:41:52 +08:00
troublemaker52025
20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
hyde zhou
6cbad38241 pipeline changes after v3.7.3 (#14998) 2023-05-10 17:46:45 +08:00
minggo
a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
Zach Lee
bfe9d90051 VRS && Compute Shader Support (#14728) 2023-04-10 12:57:35 +08:00
江战
b61606a2dd add support for executable-name (#14713) 2023-04-10 09:57:22 +08:00
minggo
bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
Zeqiang Li
c86934fcbd split barrier fix & collect undefined layout before bfs (#14569) 2023-03-14 23:24:03 +08:00
santy-wang
0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
李吉林
9538714d1b add moveTowards & rotateTowards (#14543) 2023-03-13 10:00:39 +08:00
Yiwen
b6abb65171 Math tune cpp (#14526)
* fix problem, add missing functions for vec4

* add unit test for math lib, review geom lib, fix comment, clean code

* revert changes on native math lib

* fix typo, cancel deprecates

* fix csm layer frustum usage

* tune document

* restore native changes

* stage math

* correct frustum

* add more unit test

* fix mistakes introduced in the last commit

* add missing changes

* update

* update deprecated information, rename interfaces

* fix operator priority issue

* fix math library related issues
2023-03-12 15:58:07 +08:00
hyde zhou
6ed4719968 pipeline update (#14486)
* adding queue phase

* adding per phase descriptor set

* adding render phase descriptor set

* Optimize memory usage and rendering time of WebPipeline (#106)

* Pass ubo execution optimization (#107)

* adding compute shader

* add compute shader

* add compute dispatch

* add compute shader

* adding subpass

* add dummy web subpass builder

* remove present pass

* remove present pass

* adding subpass to RenderGraph

* fix unit test

* lint fix

* fix lint

* adding raster subpass

* native subpass builder added

* Complete render phase to layoutgraph (#108)

* rename RasterTag to RasterPassTag

* rename ComputePass to Compute

* subpassGraph added

* add shading rate attachment

* fix typo

* RenderSwapchain default constructible

* Optimize Execution Memory (#110)

* add storage buffer/texture support

* add storage buffer and shading rate texture

* fix lint

* fix typo

* V3.7.2 pipeline (#109)

* fix merge conflict

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-03-09 17:57:05 +08:00
李吉林
f4e8b1e03a fix cpp math library (#14458)
* fix cpp math library
2023-03-03 17:33:33 +08:00
James Chen
78f4dd8be6 [native] Merge some optimizations from new serialization task (#14338)
* [native] Merge some optimizations from new serialization task

- Optimize the loading time of loading scene which has plenty of nodes.
2023-02-23 14:51:26 +08:00
Zeqiang Li
820703d082 resource states & fgd signal split end barrier (#14207) 2023-02-13 18:27:56 +08:00
李吉林
ce1cca0a0a revert mat3 set (#13796) 2022-12-13 15:59:31 +08:00
李吉林
85395fbcd6 fix interpolation bug due to Mat3::set (#13750)
* fix interpolation bug due to Mat3::set
2022-12-08 20:26:02 +08:00
江战
046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
minggo
5b88e5121d Merge branch 'v3.6.3' into merge_v3.6.3 2022-11-23 16:19:25 +08:00
江战
d62bf5cd15 add sebind::callFunction with jsThis (#13473) 2022-11-22 16:34:10 +08:00
江战
376f0ca284 use std array to store event listeners (#13283)
* use std array to store event listeners

* fix offAll

* make code debuggable

* make code debuggable

* rename to DECLARE_TARGET_EVENT_BEGIN_WITH_PARENTS
2022-11-10 11:00:33 +08:00
hyde zhou
87cff94d16 [develop] web-pipeline updated (#13158) 2022-11-08 12:48:30 +08:00
江战
68b82d663d Add tests for event-system (#13195) 2022-11-01 14:43:21 +08:00
江战
280fd976bc Add EventTarget & EventBus (#13100) 2022-10-28 15:44:33 +08:00
hyde zhou
912ed4edb4 manually merge bloom, fg culling, native pipeline updates (#12837) 2022-09-22 16:21:21 +08:00
hyde zhou
bb5aa2523f [pipeline] rename graph _vertices (#12802) 2022-09-20 14:43:44 +08:00
James Chen
d1e7907c02 fixed #12176 :Add approxEquals method for Mat3/Mat4/Quaternion/Vec2/Vec3/Vec4. (#12610) 2022-09-01 14:37:18 +08:00
江战
1b6719a286 [3.6.1][sebind] Add helper function for calling js function (#12591) 2022-08-30 11:52:32 +08:00
江战
9d5ea47fc4 Fix header pragma once (#12450) 2022-08-18 10:31:52 +08:00
江战
d821ae4e5d Bugfix: shared_ptr type conversion & sebind constructor (#12397) 2022-08-16 16:24:24 +08:00
minggo
e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +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
江战
e7eeab9340 3.6 remove Mat4::transformVector for Vec3 (#12088)
* use Vec3::transformMat4 to replace Mat4::transformVector
2022-07-20 19:02:41 +08:00
James Chen
3025bcd012 [v3.6.0] Optimize se::Object::getPrivateData, math::IsEqualF, Vec3::transformMat4 (#12039) 2022-07-18 14:10:16 +08:00
minggo
d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
timlyeee
d19aa952a3 [Bug fix] copy v8 dlls for unit test and simulator (#11918) 2022-07-11 11:28:56 +08:00
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
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
江战
d008270ef3 3.6 bugfix set macro USE_V8_DEBUGGER in cmake (#11727) 2022-06-28 17:59:41 +08:00
minggo
cc9664405a use c++ 17 (#11389)
* use c++ 17
2022-06-08 10:19:35 +08:00
江战
952bf07ff5 3.6 sebind impl (#11125) 2022-05-25 11:17:36 +08:00