Commit Graph

5622 Commits

Author SHA1 Message Date
oahc09 c2d6d7fc53 fix:WebSocket connection to 'ws://XXXX/' failed: A server must not mask any frames that it sends to the client. (#12882) 2022-09-27 17:45:56 +08:00
zhakesi 0db6cc04db add a comment for readAttachment (#12902) 2022-09-27 10:39:19 +08:00
江战 4dcfe23948 3.6.2 fix android orientation crash (#12885)
* do not cache argument in global space

* add doc
2022-09-27 10:35:54 +08:00
Zeqiang Li f730a810a1 wgpu: remove reinit on same object (#12799) 2022-09-27 10:33:51 +08:00
zhakesi 993fd74c64 fix binary format spine load crash (#12894) 2022-09-27 10:14:55 +08:00
oahc09 170c0f39e7 fix:CC_ASSERT(!_currentApp.expired()); (#12844)
application has destroyed when WebSocketServer process callback in game thread
2022-09-26 11:00:32 +08:00
zhakesi a7a924a6ed fix tiled merge draw call with sprite (#12877) 2022-09-26 10:36:24 +08:00
Cocos Robot 37120028a1 [ci skip][AUTO]: Automated code generating update: 3200403d155bbfbdef67440c48febc087ac1f0e5 (#12786) (#12871)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-26 09:56:42 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
江战 19fe1db252 LogRemote upgrade configuration protocol (#12833)
* update config

* Update LogRemote.cpp
2022-09-22 14:29:05 +08:00
江战 f72898a4a8 simplify (#12782) 2022-09-21 11:40:11 +08:00
Santy-Wang d6f38f3606 Merge pull request #12824 from cocos/v3.6.1
sync V3.6.1 to v3.6.2
2022-09-20 17:59:33 +08:00
Cocos Robot 8ec814ed5b [ci skip][AUTO]: Automated code generating update: 88c3a7ffdd8f95cd2c7776d6d3d6a8e36862d0bf (#12788) (#12818)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-09-20 17:33:59 +08:00
zhakesi c7761e5c19 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
2022-09-20 13:31:33 +08:00
James Chen 7dfe3bebce [native] Fix getting wrong value of globals.ambient.skyLightingColor (#12810) 2022-09-19 17:18:34 +08:00
troublemaker52025 91b377968d [Bug] fix spotAngle according to code merging error (#12801) 2022-09-16 17:59:28 +08:00
mmyduckx a5768715a8 fix okhttp onClosing not call close (#12783) 2022-09-16 10:37:35 +08:00
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
minggo b035f697bf Merge pull request #12769 from cocos/v3.6.1
V3.6.1
2022-09-15 09:46:23 +08:00
timlyeee 3e7d44925f [BUG] Decoder returns a wrong bytesPerFrame. (#12771)
As it forget to calculate the channel count for multi-channel audio
2022-09-15 09:44:34 +08:00
fqamic 18d2d57447 improve: update external version and remove some redundant codes (#12759)
* feat: update external version

* improve: remove redundancy code
2022-09-14 16:45:40 +08:00
mmyduckx 9f64efb024 fix parser HttpRequestHeader (#12757)
* fix parser HttpRequestHeader
2022-09-14 15:29:33 +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 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
Zhang mingzhen 7b5938fbf8 remove rebundant useLocalData (#12640)
(cherry picked from commit 7cca98171d765a32e8732ad01b994bc10e861314)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-09-08 10:39:50 +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