Commit Graph

21566 Commits

Author SHA1 Message Date
bofeng-song 4edbf5bd8e Opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity. (#17509)
* Web's opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity.
2024-08-07 17:02:23 +08:00
yoki0805 b11e7d225e Fix the UIRenderer check logic in UIOpacity. (#17508) 2024-08-07 13:59:23 +08:00
hyde zhou b0889f0873 effect add versioning (#17502) 2024-08-07 11:26:27 +08:00
yoki0805 f59afb548c fix-ui-opacity (#17503)
Fix UIOpacity issue on native platform.
2024-08-07 09:52:35 +08:00
Cocos Robot 6e4d84016a [ci skip][AUTO]: Automated code generating update: c1db54aebae22be34d0b33fc07acb057fc17f27c (#17491) (#17500)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-08-06 18:21:03 +08:00
James Chen 32727868b0 Reduce the generated javascript code size (#17491) 2024-08-06 18:14:44 +08:00
yoki0805 5a1d7d5639 ui-opacity cleanup (#17482)
A little improvement.
2024-08-06 15:16:16 +08:00
bofeng-song 18db6ca258 fix Skeleton's opacity can not work normally (#17497)
* fix Skeleton's opacity can not work normally
2024-08-06 13:58:39 +08:00
hyde zhou a9e4d0d2ff make id available (#17494) 2024-08-06 09:33:14 +08:00
hyde zhou 8748d8b041 rename graph nullVertex to N (#17493) 2024-08-05 17:29:24 +08:00
GengineJS 87a15356bf [Fixed] Fix the problem of wrong edges of csm (#17492) 2024-08-05 16:58:44 +08:00
hyde zhou be94c0900d Reduce graph code (#17490) 2024-08-05 15:03:41 +08:00
hyde zhou 005077ed8b zlib effect.bin (#17487) 2024-08-05 10:39:01 +08:00
媛媛 860d92aeb5 hide custom-pipeline-post-process in module config (#17489) 2024-08-05 10:35:30 +08:00
hyde zhou 0e9bdba454 fix undefined reflection probe manager (#17488) 2024-08-05 10:23:39 +08:00
hyde zhou fc7c067d14 Typescript add declare (#17483) 2024-08-02 15:56:31 +08:00
hyde zhou 0e4bc286d0 simplified object getter (#17481) 2024-08-02 14:56:54 +08:00
hyde zhou 53da682a80 Reduce graph code (#17480) 2024-08-02 13:56:58 +08:00
finscn 02d0aa2291 Fix the bug that some objects are not released when destroying SkeletonData (#17432) 2024-08-02 09:49:43 +08:00
finscn ec8270eb7f reduce the invocation of get skeletonJsonStr (#17435) 2024-08-02 09:46:31 +08:00
James Chen 77d88d54b6 [optimization] free string memory after JSON is parsed. (#17479) 2024-08-01 18:30:08 +08:00
bofeng-song 434e06e88b Update external version (#17475) 2024-08-01 18:29:04 +08:00
hyde zhou 5003dc9a04 reduce graph code (#17474) 2024-08-01 16:56:46 +08:00
James Chen 046545cd72 Fix lambda capture type issues for VS 2017 and use right operator for createJSONObject(std::u16string &&jsonStr) (#17472) 2024-08-01 16:22:20 +08:00
yoki0805 b24bfc41fa Reduce the frequency of looking up matrix elements within the loop, and reduce the division operations for color setup (#17473)
* Optimize 2d assembler

Reduce the frequency of looking up matrix elements within the loop.

* Reduce division operations for color

Reduce division operations for color.
2024-08-01 14:38:48 +08:00
yoki0805 e0207b4aa9 Optimize ui components: to avoid creating temp objects. (#17456)
* Optimize ui components: to avoid creating temp objects.

To avoid creating temp objects.

* Update progress-bar.ts

Fix the finalPosition variable means.

* Update progress-bar.ts

Resolve ESLint warning.

* Update widget-manager.ts

Add some comment.

* Update widget-manager.ts

modify the comment.
2024-08-01 11:04:49 +08:00
James Chen cb0e57c256 Add LICENSE_simdutf.txt (#17469) 2024-07-31 22:47:35 +08:00
hyde zhou f2f024bcc9 revert SHA-1: 67233882cf (#17467)
* V3.8.4 reduce code (#17428)

Has bug in editor.
2024-07-31 22:25:49 +08:00
James Chen ab6b7bb70c fixed #17012: Loading assets synchronously causes rendering to freeze. (#17464) 2024-07-31 22:01:24 +08:00
hyde zhou 24b76fb528 use const enum, simplify object pool (#17465)
* serialization simplified

* use const enum

* pool updated
2024-07-31 19:10:04 +08:00
bofeng-song d6eeed0b44 Update external version (#17466) 2024-07-31 19:06:11 +08:00
hyde zhou e0a82d78d8 serialization simplified (#17463) 2024-07-31 18:13:16 +08:00
yoki0805 50baffe94e Optimize particle-simulator-2d (#17420)
Optimize particle color setup
2024-07-31 18:01:30 +08:00
hyde zhou 0d975f09dd separate names, only used in editor (#17462)
* separate names, only used in editor

* remove reset default parameters
2024-07-31 15:31:15 +08:00
hyde zhou a7f3d733a1 RenderPipeline moved to legacy-pipeline (#17461) 2024-07-31 11:41:36 +08:00
hyde zhou ae96107198 separate engine and editor code (#17460) 2024-07-31 09:47:03 +08:00
hyde zhou 057c355bc7 remove graph tryGet (#17459)
* remove tryGet

* simplify get
2024-07-30 17:16:08 +08:00
hyde zhou 1e7aafe225 reduce graph code (#17457)
* disable remove vertex, edge

* remove property map

* remove unnecessary comment
2024-07-30 16:11:48 +08:00
finscn c9cc292ae0 去掉 debug.ts 文件中的 debugger (#17417)
去掉 debug.ts 文件中的 `debugger`, 改为 console.error()
2024-07-30 15:44:51 +08:00
hyde zhou 7ba28799a0 remove old web layout (#17458) 2024-07-30 15:10:52 +08:00
bofeng-song 7995f42a16 Due to ByteDance platform's web audio mode, bufferSource playback can cause memory leaks; therefore, the default audio playback has been changed to use InnerAudioContext. (#17454)
* Due to ByteDance platform's web audio mode, bufferSource playback can cause memory leaks; therefore, the default audio playback has been changed to use InnerAudioContext.
2024-07-30 14:16:45 +08:00
hyde zhou dda764eb21 add post process culling (#17452)
* add post process culling

* disable post-process by default

* remove post process builder

* cleanup

* backward compatible
2024-07-30 13:42:05 +08:00
hyde zhou 3f40ef68ba remove builtin-pipeline.rpp (#17453) 2024-07-30 13:41:18 +08:00
hyde zhou 1e13d9b5c9 remove unused code (#17449) 2024-07-30 11:43:32 +08:00
hyde zhou 0d0a5b0e9c remove Forward Deferred pipelines (#17448) 2024-07-30 11:02:16 +08:00
Cocos Robot b0217a6862 [ci skip][AUTO]: Automated code generating update: 3112dc47342a70a3314bfa6a2ef0d1143b9989d0 (#17442) (#17443)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-07-29 18:06:12 +08:00
hyde zhou 979d7dd841 add legacy-pipeline (#17442) 2024-07-29 17:59:28 +08:00
hyde zhou 8106f8677d add legacy-pipeline culling (#17260) 2024-07-29 16:45:31 +08:00
hyde zhou 67233882cf V3.8.4 reduce code (#17428)
* fix vs2017 problems.

* simplify getTexture

* disable dof

* reduce pipeline settings code
2024-07-29 14:27:31 +08:00
hyde zhou f41241ac1f disable dof (#17429) 2024-07-29 11:35:57 +08:00