Commit Graph

5627 Commits

Author SHA1 Message Date
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
hyde zhou cc01929094 [develop pipeline] uses ccstd::hash (#12658) 2022-09-14 18:25:46 +08:00
santy-wang 7bbad4a0a4 Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync 2022-09-14 11:47:58 +08:00
bofeng-song 1cb8a2aec7 [bug] Fixed that some key events were not dispatched (#12744) 2022-09-13 17:26:25 +08:00
mmyduckx ee2e6e9f0f fix multi-download in iOS (#12743) 2022-09-13 17:22:59 +08:00
Cocos Robot 57338526e2 [ci skip][AUTO]: Automated code generating update: c38c91d2fe9dde23349f582892493b1b721f2ec0 (#12739) (#12740)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-13 17:09:50 +08:00
江战 297c3fcd4f remove reference (#12739) 2022-09-13 14:12:36 +08:00
fqamic b7c717492f improve: update engine to support xr development (#12727)
* improve: update engine to support xr development
1.Fixed slider moving in wrong direction
Use local coordinates for determination
2.fix: XR error opening thread detach
The build supports Vulkan and OpenGLES, but when the device does not support Vulkan, the XR platform cannot support thread detach.
3.update xr common

* fix: clang tidy error

* improve: update external version
2022-09-09 16:09:27 +08:00
zhakesi 6de3d10128 remove sync to native FloatsPerVertex (#12721) 2022-09-09 10:56:22 +08:00
zhakesi ef9392829c remove uimeshbuffer sync to native floatsPerVertex (#12722) 2022-09-09 10:55:50 +08:00
bofeng-song 526e41bfa8 [bug] fix game thread block by set wrong _loopTimeOut (#12724)
* [bug] fix game thread block by set wrong _loopTimeOut
2022-09-08 18:23:05 +08:00
江战 6ef5179b4a fix path error (#12720) 2022-09-08 17:08:52 +08:00
江战 92a94f5999 CI: downgrade macos & xcode version for iOS (#12716) 2022-09-08 13:45:25 +08:00
江战 319f4c89cc Remove std::optional for Xcode 12 / iOS 11 (#12708) 2022-09-08 09:31:33 +08:00
jk20012001 ce2e7616e8 [fix] compiling error (#12709) 2022-09-07 17:45:02 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
troublemaker52025 158a0d7a04 [Bug] fix shadow truncation error with native-engine (#12698) 2022-09-07 10:15:50 +08:00
oahc09 448c093cf4 improve:remove IXRInteraface's dependent from GFXDevice.h (#12690)
* improve:remove IXRInteraface's dependent from GFXDevice.h

* improve:remove IXRInteraface's redundant code from DeviceValidator.h/cpp
2022-09-06 17:44:46 +08:00
James Chen 645b14088c Update external: disable warning for unused variable in auto generated glue code (#12691) 2022-09-06 15:17:16 +08:00
timlyeee 1494b2eb3b Fix file commit fault (#12685) 2022-09-06 14:06:23 +08:00
troublemaker52025 87ab491462 [Bug] Fixed csm define set error (#12680) 2022-09-05 17:56:20 +08:00
Cocos Robot 48c70e6e5f [ci skip][AUTO]: Automated code generating update: ebc226f698 (#12669) (#12672)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-05 10:43:27 +08:00
minggo ebc226f698 fix compiling error 2022-09-05 09:39:48 +08:00
James Chen b9be4cba6d Fix linking errors. (#156) 2022-09-02 20:59:44 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
江战 fc05e55032 3.6 genbindings abort on error (#12659)
* check return code

* Update native/tools/tojs/genbindings.py

* am update external
2022-09-02 18:50:28 +08:00
Cocos Robot 6347132143 [ci skip][AUTO]: Automated code generating update: de9b09d267e2e856a75f43b2bd93e8957dfadfae (#12653) (#12663)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 15:50:45 +08:00
fqamic 1946f2d39d improve: update engine to support xr development (#12653)
* improve: update engine to support xr development
1.detach thread support more device
2.revert the modification of xr for makeCurrent
3.sync android templates change to xr
4.fix monado runtime templates, excessive permission

* improve: update engine to support xr development
1.add xr pico templates
2.update xr huaweivr templates
3.add xr api file
4.fix 'GFXDevice.h' base header file problem
2022-09-02 15:25:40 +08:00
Cocos Robot c923074bca [ci skip][AUTO]: Automated code generating update: b4a084b208061fefd566798f56a7ff999173fcb8 (#12656) (#12657)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 13:39:01 +08:00
Cocos Robot 7caa64eb90 [ci skip][AUTO]: Automated code generating update: 479c2d377f09f145c664b6fde421a4bce6b47f5e (#12636) (#12656)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-02 11:02:21 +08:00
ChiaNing 482b20ea47 Mask Refactoring (#12636)
* first version mask

* image stencil material fix

* misc fix

* type change fix

* export fix

* some native code

* native fix

* use less remove

* remove isForMask

* material change

* delate sprite frame

* use less remove

* misc fix

* ci

* mate updte

* de

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-09-02 10:17:44 +08:00
Cocos Robot c52128b5fb [ci skip][AUTO]: Automated code generating update: 5cde9c441e2de3da3f24486f4585fd9289f62b89 (#12619) (#12654)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-01 22:25:43 +08:00
zhakesi a388541901 spine/dragonbones renderdata use rgba8 color format (#12619)
* add color4b format

* render-2d adapter color format

* spine dragonbones use simple color

* rename V3F_T2F_C4B

* use attributes to init mesh buffer

* remove Vertex2DFormat
2022-09-01 21:44:19 +08:00
Cocos Robot 764ec8fe3d [ci skip][AUTO]: Automated code generating update: 86ecfa1c872a045e3fbb476f561c068f8134be27 (#12641) (#12650)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-01 18:02:25 +08:00
James Chen 225e29e34c Fix downloader connection timeout (#12642) 2022-09-01 15:49:07 +08:00
James Chen 8877c3dec9 Fix wrong result on HarmonyOS devices if CC_OPTIMIZE_MESH_DATA is enabled (#12641) 2022-09-01 15:48:50 +08:00
James Chen 7b65436e02 fixed #12625: The prototype chain for mesh.maxPosition is not Vec3 on version 3.6.0 (#12628) 2022-09-01 15:48:25 +08:00
Zeqiang Li 110922a57b [iOS/macOS] Fix potential crash when destroying engine (#12643) 2022-09-01 15:46:11 +08:00
James Chen df0a1e03e2 fixed #12234: Replace __objectMap type in jswrapper/v8/Object.cpp to unordered_set. (#12607)
* fixed #12234: Replace __objectMap type in jswrapper/v8/Object.cpp to unordered_set.

* Remove unused comment.
2022-09-01 14:54:53 +08:00
James Chen e1e35558eb fixed #12151: [optimization] Functions in se::State should be inlined (#12617)
* fixed #12151: [optimization] Functions in se::State should be inlined

* Update native-unit-test.yml
2022-09-01 14:49:12 +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
James Chen dc81a20f3a [v3.6.1] Fix jointTexture configuration not loaded on native platforms. (#12639)
* Fix jointTexture configuration not loaded on native platforms.

* Remove unused std::floor in Root.cpp

* Fix clang-tidy
2022-09-01 12:56:40 +08:00
timlyeee 4381b41525 V3.6.1 fix audio stuck (#12589) 2022-09-01 11:48:34 +08:00
江战 df653f4325 profiler use string_view as argument (#12405)
* use string_view as argument
2022-09-01 11:42:24 +08:00
Zhang mingzhen 0410f097e1 particle local mode on native (#12624)
* particle local mode on native

* remove rebundant code

* when positionType changes, update entity data

* move to onEnable

* rename as renderTransform

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-09-01 11:35:19 +08:00
timlyeee 88cdfd71e3 [android] Fix local reference table overflow when use callStaticStringMethod (#12621) 2022-08-31 11:13:20 +08:00
timlyeee 2123f1765a [audio] Support to set current time before load ended for iOS, macOS and Windows (#12616) 2022-08-31 11:12:36 +08:00
江战 1b6719a286 [3.6.1][sebind] Add helper function for calling js function (#12591) 2022-08-30 11:52:32 +08:00
timlyeee 12ab61220b Remove script engine hook registers in MeshBuffer.cpp/SharedBufferManager.cpp/TypedArrayPool.cpp (#12298) 2022-08-30 11:50:24 +08:00
timlyeee bc5c3a1d60 Support wav audio play on Windows (#12422) 2022-08-29 13:49:23 +08:00