Commit Graph

5594 Commits

Author SHA1 Message Date
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
江战 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
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
江战 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
江战 a422233d31 fix find_pacakge options (#12550) 2022-08-26 14:56:13 +08:00
James Chen 43f7aa0d35 [v3.6.1] Optimize JSBClassType::findClass if sub class type is not found. (#12548) 2022-08-26 11:13:11 +08:00
hyde zhou cf24d5aac5 fix potential null context (#12546) 2022-08-25 18:08:25 +08:00
Zeqiang Li a50a57ae1f fix buffer gc wrong index on metal (#12507)
* fix buffer gc wrong index on metal
2022-08-25 15:24:40 +08:00
江战 a32569741f 3.6.1 Android dont link unused libraries (#12537)
* Update external-config.json

* enable flags in engine
2022-08-25 11:51:09 +08:00
timlyeee 2bd62354a7 V3.6.1 save image data (#12503) 2022-08-24 17:42:47 +08:00
江战 f18975a7a9 V3.6.1 se::Object private object add interfaces (#12515) 2022-08-24 16:06:49 +08:00
Cocos Robot 6ab275d044 [ci skip][AUTO]: Automated code generating update: 740e74ffe5dd87bcf5758947a98328f9655853cf (#12506) (#12509)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-22 22:00:55 +08:00
hyde zhou b7c720eb3b improve xr pipeline implementation (#12506) 2022-08-22 19:11:18 +08:00
Cocos Robot 1a142f9aa0 [ci skip][AUTO]: Automated code generating update: f353686728b36b82af0b182577f115de976d02fa (#12496) (#12504)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-22 18:27:20 +08:00
QingliWang 6a8f53b186 Add features for XR developement. (#12413)
* Change Android mainloop, add global config and template projects for XR.

* Change gfx/gles device's process flow for XR, working with other PRs, waiting.

* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.

* Change render process for XR.

* Develop XR input and events.

* Develop 3D feature of UI widgets and raycast effect for XR.

Co-authored-by: fqamic <fqamic@vip.qq.com>
2022-08-22 16:34:45 +08:00
James Chen c65f3714d3 Fix the bug of trigger assertion in ValueArrayPool::get. (#12499) 2022-08-22 15:50:07 +08:00
ChiaNing febb0d9bf9 change render entity enable default value (#12488)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-22 10:56:10 +08:00
mmyduckx b1f46fcb86 add ios simulator version requirement doc. (#12468) 2022-08-22 10:52:55 +08:00
James Chen e4cd83ec59 Fix potential crash in Node::isChildOf (#12493) 2022-08-22 09:54:42 +08:00