Commit Graph

5722 Commits

Author SHA1 Message Date
ycg 4e545eb4cb Add Hindi language. (#13084) 2022-10-19 14:32:49 +08:00
hyde zhou 8db3fc5093 [develop] graph serialization updated (#13068)
* graph serialization updated

* add ccclass back

* graph ts serialization added

* format

* fix switch

* improve safety
2022-10-19 13:38:14 +08:00
江战 ce4e422a5e Update CMakeLists.txt (#13077) 2022-10-19 10:33:37 +08:00
Cocos Robot 88402b9d58 [ci skip][AUTO]: Automated code generating update: 6bb4677d9555e9692c41c8eb32828ab53c0758e9 (#12936) (#13080)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-10-19 10:30:45 +08:00
Yiwen f413ff7a9b Add a new class to manage a set of default device resources. (#12936) 2022-10-19 10:19:40 +08:00
mmyduckx 5e70d67b5f fix JSBLoadFont memory leak & refine implementation (#13076) 2022-10-18 18:21:28 +08:00
Zeqiang Li ae26608e57 adapt to develop (#13070) 2022-10-18 10:56:26 +08:00
Zach Lee 6321ef28d4 Feat: gpuObjects use smart_ptr [vulkan][buffer, texture] (#13030) 2022-10-18 10:52:07 +08:00
hyde zhou 1333ff1f43 [develop] add layout graph serialization (#13020) 2022-10-17 14:43:36 +08:00
Zach Lee d26b12d722 Feat: GFXBuffer supports exposing staging buffer address to reduce me… (#13041) 2022-10-17 11:04:15 +08:00
Cocos Robot eeece02134 [ci skip][AUTO]: Automated code generating update: 8f0764b4e8ad042f7d42c21b5dbbf59df3ae28c0 (#12938) (#13060)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-10-17 10:50:32 +08:00
Yiwen 3232007e9f Adapt ES/WEBGL to support 3d texture/2d array texture. (#12938) 2022-10-17 10:41:25 +08:00
Cocos Robot 4e2f0a29e0 [ci skip][AUTO]: Automated code generating update: dc597684a74e8bf3868b2de81962241f58800fb2 (#13051) (#13055)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-10-17 10:10:57 +08:00
timlyeee 020fd0170d Update auto bindings (#13051) 2022-10-14 18:06:09 +08:00
Santy-Wang ac15e6a9ea Sync v3.6.2 to develop
Develop sync v3.6.2
2022-10-12 17:09:41 +08:00
Santy-Wang d400e5b296 Revert "sync v3.6.2 to develop" (#13027)
This reverts commit 23455e75c6.
2022-10-12 17:08:32 +08:00
Santy-Wang 23455e75c6 sync v3.6.2 to develop
* when checking useSystemFont, the fontFamily should appear (#12684)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>

* remove rebundant useLocalData (#12640)

(cherry picked from commit 7cca98171d765a32e8732ad01b994bc10e861314)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>

* Modify version number (#12726)

Co-authored-by: liuyi <liuyi@cocos.com>

* fix builtin asset hot-reload (#12736)

* improve: move xr init to infrastructure (#12765)

* improve: move xr init to infrastructure

* fix: move initxr, before gfx

* fix: format warning

* [Feature] build template add config file (#12701)

* part of build template add config json for creating build templates and version checks for each platform

* update default template version

* add RenderQueue custom ability to classic pipeline (#12760)

* Wgpu 3.6.2 WGPU_CI_ON  (#12731)

* fix okhttp onClosing not call close (#12783)

* fix transparency, emissive and  specularfactor with dcc effects (#12798)

* reverse occlusion parameter in effects (#12795)

* [native] Fix getting wrong value of globals.ambient.skyLightingColor (#12810)

* refine:  remove unneeded code (#12808)

* feat: update meta files (#12807)

* middleware2d components rendering in native mode (#12788)

* middleware2d components rendering in native mode

* support spine/dragonbones set enable batch

* support spine rendering in batching mode

* get batcher2d instance from root

* process about with type conversion

* fix some code style

* use material hash to merge draw batch

* deal with fill z

* fix dragonbones fill z

* remove some code no used any more

* refactoring some code

* modify some code

* add free memory

* fix clang-tidy

* delete mesh-buffer-layout in destructor

* byte alignment

* [ci skip][AUTO]: Automated code generating update: 88c3a7ffdd8f95cd2c7776d6d3d6a8e36862d0bf  (#12788) (#12818)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* simplify (#12782)

* [code] move decode32 to unpack.chunk (#12823)

* [Optimize] Cache current time for audio player in minigame. (#12814)

* Cache current time for minigames

* Save current time as private member

* Make cache time changed in callback

* update cache time to abort middle state for seek

* LogRemote upgrade configuration protocol (#12833)

* update config

* Update LogRemote.cpp

* update default_skybox and sun direction (#12811)

* fix submeshes have different instancing options (#12786)

* [ci skip][AUTO]: Automated code generating update: 3200403d155bbfbdef67440c48febc087ac1f0e5  (#12786) (#12871)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* spine/dragonbones support batch mode in web platform (#12847)

* spine/dragonbones support batch mode in web platform

* set data hash 0 in commitMiddleware

* optimizate merge draw batch for middleware

* keep commitIA in batcher2d

* modify deprecated about commitIA

* feat: support webgpu on build-engine (#12627)

* feat: support webgpu

* build-engine-feat: support building external asset

* update

* Publish @cocos/build-engine@4.4.0-webgpu.0

* fix tiled merge draw call with sprite (#12877)

* fix:CC_ASSERT(!_currentApp.expired()); (#12844)

application has destroyed when WebSocketServer process callback in game thread

* [Bug fix] remove the player of the audio source when its clip is set to null  (#12865)

* remove player when the audio source's clip is set to null

* fix binary format spine load crash (#12894)

* wgpu: remove reinit on same object (#12799)

* add i18n for skybox (#12899)

* 3.6.2 fix android orientation crash (#12885)

* do not cache argument in global space

* add doc

* add a comment for readAttachment (#12902)

* If it is preview, replace overrideUuid  directly (#12905)

* sort the attributes (#12904)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>

* add i18n for shadow (#12906)

* update default-skybox and sun direction (#12917)

* fix:WebSocket connection to 'ws://XXXX/' failed: A server must not mask any frames that it sends to the client. (#12882)

* remove USE_BATCHING (#12892)

* fix a native middleware blend problem (#12914)

* migrated remove USE_BATCHING (#12895)

* [feature] support output bullet.wasm on  runtime based platform which the using of wasm api is more similar with weixin (#12881)

* V3.6.2 fix particle crash (#12913)

* fix native crash

* revert to pointer

* revert

* do not use reference

* if PREVIEW load cce scripts before loadProjectBundles (#12916)

* If it is preview, replace overrideUuid  directly

* load cce scripts before loadProjectBundles

* Update game.ts

* Update game.ts

* Update game.ts

* Update game.ts

* fix download url request not encode space (#12826)

* Export texture info for wgpu WGPU_CI_ON (#12926)

* export texture info for wgpu

* missing js file

* update external config

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>

* fix: build-engine (#12929)

* richtext addChild optimization (#12928)

* 1. remove rebundant invoking
2. ttf canvas texture resizes to width and height as (1,1)

* remove start() and move it to onLoad()

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>

* fix animation asset on inspector preview bug (#12900)

* optimize label component editing

* fix animation asset on inspector preview bug

* optimize i18n break words

* update node-executable by env (#12930)

* Fix: toDataURL is not supported for this content on iPhone 7p (#12830)

* Fix: toDataURL is not supported for this content on iPhone 7p

* Add srgb transform. (#12873)

* add localCfg.cmake (#12932)

* _loadCCEScripts  will be browser-preview only  (#12925)

* _loadCCEScripts  will be browser-preview only

* add comment

* a compatible way of data copy & default buffer size for uniform buffer (#12935)

* a compatible way of data copy & default buffer size for uniform buffer

* update external config

* [fix] default scene ambient and dirlight color (#12955)

* sync readme for wgpu (#12966)

* [fix] specularIntensity is invalid with builtin-standard (#12971)

* [native] type2writer:add FLOAT3 to Color case for compatiblity (#12962)

* V3.6.2 format return null error fix (#12973)

* add i18n for model (#12985)

* fix potential mem leak (#12995)

* [fix] camera clear flag is skybox but skybox is disabled #13589 (#12964)

* [fix] shader compilation error with CC_DEVICE_SUPPORT_FLOAT_TEXTURE=0 (#13015)

* fix import

* sync tojs to swig about middleware and 2d module (#4)

* sync tojs to swig about scene module (#5)

* remove Model::getInstancedAttributeBlock

Co-authored-by: Zhang mingzhen <32831993+Zhmz@users.noreply.github.com>
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
Co-authored-by: LIUYIa <102024185+LIUYIa@users.noreply.github.com>
Co-authored-by: liuyi <liuyi@cocos.com>
Co-authored-by: fqamic <fqamic@vip.qq.com>
Co-authored-by: minggo <nudtzxm@gmail.com>
Co-authored-by: changhua <39176194+changhua0118@users.noreply.github.com>
Co-authored-by: hyde zhou <zlzhou.sh@outlook.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
Co-authored-by: bofeng-song <bofeng.song@chukong-inc.com>
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com>
Co-authored-by: zhakesi <liqiao@cocos.com>
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: timlyeee <43355299+timlyeee@users.noreply.github.com>
Co-authored-by: PP <chinese1236@qq.com>
Co-authored-by: oahc09 <oahc09@gmail.com>
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com>
Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com>
Co-authored-by: CC9701 <73738313+CC9701@users.noreply.github.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
Co-authored-by: 黄森斌 <arsen2010@126.com>
Co-authored-by: ycg <1670543365@qq.com>
Co-authored-by: AFeiYA <386665678@qq.com>
Co-authored-by: zhakesi <zhakesi@foxmail.com>
2022-10-12 16:56:06 +08:00
liqiao c6386e3450 remove Model::getInstancedAttributeBlock 2022-10-12 16:12:15 +08:00
zhakesi 70c2e34411 sync tojs to swig about scene module (#5) 2022-10-12 15:59:52 +08:00
zhakesi 7676097f97 sync tojs to swig about middleware and 2d module (#4) 2022-10-12 15:37:11 +08:00
hyde zhou 96042f6bb8 [develop] add SamplerInfo to custom pipeline (#13021) 2022-10-12 15:30:21 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
jk20012001 25c4949ce5 [fix] camera clear flag is skybox but skybox is disabled #13589 (#12964) 2022-10-11 18:56:55 +08:00
Yiwen 6619da1fa7 Vk upload buffer by chunk (#12978) 2022-10-11 17:21:40 +08:00
hyde zhou 576efdeaf2 [develop] adding pipeline serialization (#13008) 2022-10-11 17:17:58 +08:00
Zeqiang Li c3ba2277ac fix potential mem leak (#12995) 2022-10-11 11:39:36 +08:00
hyde zhou bf3c54addf move structs to types.ts (#13004) 2022-10-10 16:48:27 +08:00
hyde zhou afa74ed094 [develop] update custom pipeline implementation (#12977) 2022-10-10 14:36:17 +08:00
troublemaker52025 ddfa2fd42a [optimization] Remove camera dependency (#12983) 2022-10-10 10:29:19 +08:00
hyde zhou b4b77cd069 fix vs2017 c++17 comformance error (#12998) 2022-10-09 18:49:48 +08:00
hyde zhou 4adb5387af [develop] change boost::string_view to std::string_view (#12982) 2022-10-09 10:59:39 +08:00
zxx43 28dcb4ab40 V3.6.2 format return null error fix (#12973) 2022-10-08 10:56:58 +08:00
mmyduckx 57811da71a [native] type2writer:add FLOAT3 to Color case for compatiblity (#12962) 2022-10-08 10:33:42 +08:00
Yiwen f6530ffa9e change path of define.ts in gfx-define-generator (#12939)
* change path of define.ts in gfx-define-generator

* correct the creation of web swapchain

* fix windowId. valid windowId starts from 1
2022-10-08 10:30:07 +08:00
hyde zhou 407f01ad0b [develop] improve pipeline performance (#12967) 2022-10-08 10:24:21 +08:00
Zeqiang Li 323d1d4054 sync readme for wgpu (#12966) 2022-09-30 14:13:03 +08:00
James Chen f3288f77c5 Add Object::createObjectWithConstructor (#12946) 2022-09-30 10:23:57 +08:00
James Chen 1d9243d255 [optimization] Remove __objectSet in v8/Object.cpp to avoid unneeded hash operations. (#12944)
* [optimization] Remove __objectSet in v8/Object.cpp to avoid unneeded hash operations.

* Reset _gcFuncValue to undefined in ScriptEngine::cleanup
2022-09-30 10:23:03 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
Zeqiang Li bd1573ae18 update readme (#12948) 2022-09-29 13:58:12 +08:00
Zach Lee 98f62d1705 Added GFXDeviceObject. (#12909) 2022-09-29 13:56:29 +08:00
hyde zhou 377fc271f4 [develop] rename PER_QUEUE to PER_PHASE (#12934) 2022-09-28 18:07:09 +08:00
Zeqiang Li e4930f3332 a compatible way of data copy & default buffer size for uniform buffer (#12935)
* a compatible way of data copy & default buffer size for uniform buffer

* update external config
2022-09-28 16:22:06 +08:00
江战 e7d11dbaa4 update node-executable by env (#12930) 2022-09-28 13:41:38 +08:00
Zeqiang Li 097e29b2c2 Export texture info for wgpu WGPU_CI_ON (#12926)
* export texture info for wgpu

* missing js file

* update external config

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-09-28 10:23:05 +08:00
mmyduckx 9112cfa5cd fix download url request not encode space (#12826) 2022-09-28 09:49:04 +08:00
zxx43 89664f6acd V3.6.2 fix particle crash (#12913)
* fix native crash

* revert to pointer

* revert

* do not use reference
2022-09-27 19:12:28 +08:00
zhakesi 3b3facf730 fix a native middleware blend problem (#12914) 2022-09-27 19:04:22 +08:00
Cocos Robot cf874e6528 [ci skip][AUTO]: Automated code generating update: 98eef5bcc82840ddfeb724e952b0abf7f8542895 (#12886) (#12920)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-27 18:02:52 +08:00
hyde zhou e8366a7a7b [develop] custom pipeline startup refactoring (#12886)
* manually merge bloom, fg culling, native pipeline updates

* fix lint

* camera usage added

* use parent name instead of default & add some phase names

* adding render graph execution

* execute render graph added

* refactoring workflow

* uses interface instead of abstract class

* add setup step

* camera usage added

* adding setup stage

* unify camera get set

* adding ppl setup

* fixed bloom effect

* change descriptor merge

* modify uniform collect as descriptor

* revert

* revert phase

* adding render callback

* update setup workflow

* pipeline builder updated

* refactoring native pipeline setup

* revert jsb

* improve cameraList clear

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <>
2022-09-27 17:57:21 +08:00