Commit Graph

5539 Commits

Author SHA1 Message Date
bofeng-song dc3147c761 fix text changed while set oblique to 0 (#12431) 2022-08-17 11:15:28 +08:00
minggo 39af5ff285 add reset function (#12429) 2022-08-17 11:14:38 +08:00
江战 d821ae4e5d Bugfix: shared_ptr type conversion & sebind constructor (#12397) 2022-08-16 16:24:24 +08:00
Cocos Robot 502e48653b [ci skip][AUTO]: Automated code generating update: b7d5d702ff06f38e3d7425a36ccd4779dcc3d272 (#12368) (#12441)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-16 16:14:13 +08:00
troublemaker52025 ac8b1f6527 [optimization] Use define to replace uniform (#12368) 2022-08-16 16:06:56 +08:00
Yiwen 8b4d8ebc45 Fix pipeline dangling ptr (#12369)
* fix the dangling ptr problem in pipeline. Dont rely on the destroy order of jsb, it's not stable and any assumption on destruction order will introduce potential error.
2022-08-16 13:47:42 +08:00
江战 3eeb2d39f3 fix source_group (#12424) 2022-08-16 09:52:43 +08:00
bofeng-song 85fe41bf19 Context2d support italic at mac & ios (#12421) 2022-08-15 17:37:39 +08:00
江战 f15a83ee98 Update external-config.json (#12407) 2022-08-15 09:54:55 +08:00
bofeng-song f6d0702962 support shadow feature at IOS platform (#12382) 2022-08-11 18:28:05 +08:00
hyde zhou c57fba63c7 [v3.6.1-shader] add deferred shader compiling (#12386) 2022-08-11 16:55:26 +08:00
mmyduckx 7aaa124458 Websocket onclose api consist with Web API (#12370)
* make native websocket consistent with web API
2022-08-10 17:15:17 +08:00
minggo 5557cb8689 Merge pull request #12360 from minggo/merge_v3.6
Merge v3.6
2022-08-08 14:30:44 +08:00
Cocos Robot 5c38f01a63 [ci skip][AUTO]: Automated code generating update: b6f870f121cbf1a25a3d32de3b31e1ed6c7c463c (#12332) (#12358)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-08 13:47:13 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
bofeng-song 9c7df0123c context2d support shadow attribute at Android platform (#12332) 2022-08-08 10:14:59 +08:00
James Chen e008d1a660 Use const reference in Skybox::updateSubModels to avoid new vector allocation. (#12346)
* Use const reference in Skybox::updateSubModels to avoid new vector allocation.
Remove friend class declare in Model.
2022-08-05 16:27:46 +08:00
江战 6449d481b9 add back conversion function seval_to_std_string (#12350) 2022-08-05 15:39:26 +08:00
徐兵 d0787ac94a [fix] add isEnabled for skybox mesh material update (#12351) 2022-08-05 15:22:16 +08:00
徐兵 bf05e1e403 [fix] skybox crash with auto releasing assets (#12348) 2022-08-05 14:38:21 +08:00
Zhang mingzhen c9be479827 fix memory leak and move it into private area (#12339)
* fix memory leak and move it into private area

* revert moving to private

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-08-05 10:48:20 +08:00
Cocos Robot 36a2caa8cc [ci skip][AUTO]: Automated code generating update: e1282deec7b27b853565a323460c1e9dae6b1940 (#12335) (#12337)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 23:12:57 +08:00
Santy-Wang 5e2aea4296 bind clearStaticDrawInfos (#12335) 2022-08-04 22:59:52 +08:00
Zhang mingzhen 7bbce32970 static drawinfo should be reset when flushing assembler (#12333)
* static drawinfo should be reset  when flushing assembler

* add reset drawinfo method

* revert mistake

* fix mistakes

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-08-04 22:14:23 +08:00
Cocos Robot e16ff1154d [ci skip][AUTO]: Automated code generating update: cc0bbc31557c7fc65c9a4b4e3f96eb897e32467c (#12319) (#12329)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 19:23:03 +08:00
qiuguohua f58ef95956 Fix the problem that the mac cannot set the frame rate (#12301) 2022-08-04 13:44:53 +08:00
mmyduckx 6e0be03987 add Node::getPathInHierarchy (#12319) 2022-08-04 13:44:09 +08:00
yangchao 2c8214c351 fix : mac server mod use loopp (#12327) 2022-08-04 13:31:05 +08:00
Cocos Robot d81e3e0e29 [ci skip][AUTO]: Automated code generating update: 4cc29f4b11e05b9403ad432df44f9a376eb5dae5 (#12321) (#12324)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 10:46:11 +08:00
timlyeee accb187a9b Add missing methods for Material (#12321) 2022-08-04 10:18:43 +08:00
Cocos Robot 63c624f20b [ci skip][AUTO]: Automated code generating update: 9a5c6dcc0b3729d484567cd447358227c12f7e00 (#12318) (#12322)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-04 09:40:15 +08:00
minggo 684d560dfc bind missing functions (#12318) 2022-08-03 18:42:19 +08:00
James Chen dfd7bfdba8 Fix timeout timer is not cleared while xhr.abort is invoked (#12303)
* Fix timeout timer is not cleared while xhr.abort is invoked
2022-08-03 15:55:04 +08:00
Cocos Robot 25a83bd061 [ci skip][AUTO]: Automated code generating update: e437cfb8500ea7f5e3c22ab9f92cfb6f684fdcc0 (#12294) (#12296)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-08-02 16:15:16 +08:00
ChiaNing 985f4fd94c Fix pass hash when blend change (#12294)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-02 16:05:24 +08:00
Yiwen fd3287af9b fallback to vk 1.2 if a new driver is used (#12270)
* fallback to vk 1.2 if a new driver is used
2022-08-01 17:17:55 +08:00
bofeng-song c8d5ecf248 only dispatch changed touch event to ts (#12285)
* only dispatch changed touch event to ts
2022-08-01 14:16:26 +08:00
bofeng-song 927ed08578 Fix android crash while use vulkan. Test cases may add lable while enter background/foreground (#12282) 2022-08-01 09:45:57 +08:00
bofeng-song 563a72a9dc only enable sensor need to register sensor listener (#12283) 2022-08-01 09:44:50 +08:00
qiuguohua 567b631981 When using xmlhttp when exiting, there is an assertion problem refere… (#12277)
* When using xmlhttp when exiting, there is an assertion problem referencing engine

* To avoid breaking compatibility, change SchedulerSharedPtr to SchedulerPtr
2022-07-29 20:07:56 +08:00
James Chen fc6ff454b9 Fix memory issues for XMLHttpRequest & WebSocket (#12271)
* Add missing addRef for Http relevant classes.

* Fix all XMLHttpRequest instances are leak.

* Fix unroot logic in jsb_websocket.cpp
2022-07-29 15:52:17 +08:00
James Chen 2f4896ec9e Use log instead of assert in cleanup to avoid assert crash in pr test. (#12269) 2022-07-29 15:09:00 +08:00
timlyeee 7075a2fa36 Update external-config.json (#12268) 2022-07-29 14:46:18 +08:00
江战 b518d9e8f8 add deprecation checks (#12266) 2022-07-29 14:42:52 +08:00
minggo 063e049d66 use Map::emplace() to avoid creating pair object (#12152) 2022-07-29 09:47:55 +08:00
James Chen ee757d5854 Fix the crash after the behavior of Data_to_seval changed from returning TypedArray to returning ArrayBuffer. (#12260) 2022-07-28 23:41:53 +08:00
James Chen 2a2c2b7505 Fix Object::clearPrivateData doesn't set _privateData to nullptr (#12259) 2022-07-28 23:16:49 +08:00
Cocos Robot d1ed27bf48 [ci skip][AUTO]: Automated code generating update: a8d62ebd7e6a068f25d01280005f13ddbeff23ad (#12233) (#12258)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-07-28 20:35:49 +08:00
zhakesi dc91a469ae use native middleware buffer (#12233)
* use native middleware buffer

* fix clang-tidy

* fix clang-tidy

* set useLinkData as meshBuffer's property

* refactoring some code

* set 2d.ini

* fix word component

* fix clip middleware2d

* ...

* function attributes to getAttributes
2022-07-28 19:00:30 +08:00
Yiwen 182cae57e4 add an extra alignment to GeneralBarrierInfo to make it 8 byte aligned (#12247) 2022-07-28 18:54:06 +08:00