Commit Graph

5475 Commits

Author SHA1 Message Date
Cocos Robot 0ff4f4aeb2 [ci skip][AUTO]: Automated genbindings update: 5984c4132aefc0c4710eeee7003809721bd6cb4d (#4246) (#4251)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-09 16:19:55 +08:00
mmyduckx e332c02ca0 add forward declaration for 3d/scene-graph/scene (#4246)
* add forward declaration for 3d/scene-graph/scene

* fix genbindings error

* define ctor in cpp
2022-02-09 15:41:00 +08:00
timlyeee 9c4cfbc866 remove hack code (#4248)
* remove hack code 

remove macro use,  hack code cc_get_application_view  was already be removed
2022-02-09 13:36:38 +08:00
Cocos Robot 69ab328ed8 [ci skip][AUTO]: Automated genbindings update: 0567b413c0 (#4245) (#4249)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-09 13:36:04 +08:00
minggo d1b2c0b349 Merge pull request #4245 from minggo/v3.6_merge_v3.5
V3.6 merge v3.5
2022-02-09 11:51:57 +08:00
minggo 0567b413c0 fix compiling error 2022-02-09 11:11:10 +08:00
minggo e1822484de Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-02-08 17:48:25 +08:00
timlyeee 83734a835c Fix android and ohos load library bug (#4240) 2022-02-08 17:29:41 +08:00
James Chen a4e3a694ac Make TextureBase constructor public since editor needs it (#4242) 2022-02-08 17:29:03 +08:00
James Chen b092d37774 Trigger an assertion if invoking constructor in JS and C++ class doesn't have a public constructor. (#4239)
* Trigger an assertion if invoking constructor in JS and JSB didn't have a public constructor.
2022-02-08 16:43:55 +08:00
Cocos Robot 522280d51c [ci skip][AUTO]: Automated genbindings update: bb461886c3a4f08f2bd6003c7ac3cee672dba0de (#4234) (#4241)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-08 16:08:41 +08:00
徐兵 5f5a66a6f0 skybox optimization (#4234)
* skybox optimization
Co-authored-by: xubingbing <bingbing.xu@cocos.com>
2022-02-08 15:27:07 +08:00
bofeng-song ee2b9c9792 fix crash while close game & before game finish launch (#4231)
* fix crash while close game & before game finish launch
2022-02-08 15:25:23 +08:00
timlyeee abd84ac0e1 rename cocos2d to cocos (#4158)
* Rename cocos2d to cocos
2022-02-08 14:27:42 +08:00
qiuguohua 94cfe0d662 Fix the problem of onclose being called twice (#4238) 2022-02-08 14:10:35 +08:00
minggo bf72f0e4ec Update config.json (#4237) 2022-02-08 13:41:04 +08:00
minggo de8f96b1dd Update config.json (#4236) 2022-02-08 11:45:49 +08:00
Cocos Robot 1d1d31c6b7 [ci skip][AUTO]: Automated genbindings update: 5a25a7c02e407a91ff0a0b140052e12760265f52 (#4233) (#4235)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-02-08 11:04:02 +08:00
James Chen b5e0a34300 Bind BuiltinResMgr to JS. (#4233)
* findClass should find nativeObj 's real type at first.
* Only use cpp version of BuiltinResMgr now.
* Bind BuiltinResMgr to JS.
2022-02-08 10:45:24 +08:00
Yun Hsiao Wu 2902e37d52 more validations (#4230) 2022-02-08 10:31:29 +08:00
James Chen 07188edc83 Fix random crashes while previewing material in editor's inspector window. (#4232)
* Fix random crashes while previewing material in editor's inspector window.
2022-02-08 09:35:19 +08:00
wkp 936d9e63c4 adapt editor native scene (#4218)
* feat : adapt editor native scene
2022-01-27 19:02:18 +08:00
minggo daf0a2a10c Update config.json (#4227) 2022-01-26 18:42:49 +08:00
Cocos Robot 18aee740c4 [ci skip][AUTO]: Automated genbindings update: c1362abc4f16a77da2514133e2f5fb4e0728c21c (#4225) (#4228)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-26 18:06:39 +08:00
bofeng-song 0952f8f838 fix todo (#4225)
* fix todo
2022-01-26 17:54:27 +08:00
Cocos Robot 662514d6ab [ci skip][AUTO]: Automated genbindings update: 8604096a429db78eb700b42ad72bd7a29bad8fa9 (#4213) (#4226)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-26 15:02:03 +08:00
bofeng-song b2a4c896f6 fix todo (#4213)
* fix todo
* remove unneed remark
* ENABLE_ANTIALIAS_FXAA  defined from cfg.cmake(Macro Value set  from editor)
2022-01-26 14:18:46 +08:00
James Chen f6f59892af Refactor IntrusivePtr, remove reinterpret_cast (#4221)
* Refactor IntrusivePtr, remove reinterpret_cast
2022-01-26 11:57:02 +08:00
Cocos Robot bea0bec893 [ci skip][AUTO]: Automated genbindings update: cea241b4d3 (#4223) (#4224)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-26 11:54:19 +08:00
minggo ebd499e936 Merge pull request #4223 from minggo/v3.6_merge_v3.5.0
V3.6 merge v3.5.0
2022-01-26 11:45:13 +08:00
minggo cea241b4d3 fix crash 2022-01-26 11:06:13 +08:00
minggo 7f24f34b22 Merge branch 'v3.5.0' into v3.6_merge_v3.5.0 2022-01-25 19:52:06 +08:00
Yiwen 8e81f9cfdb add a new interface to query format feature info (#4169)
* create a seperated branch to solve the Issue 8203

* Add format feature for query

* fix bugs and add formatFeature info for metal backend.

* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;

* fix a bug of textureExclusive, fix some typos.

* clean the code, correct some formatFeatures.

* fix bugs in metal backend, fix bugs found on windows.

* Use a proper log funciton in DeviceValidator. Fix code format.

* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
Cocos Robot 77097c0dcb [ci skip][AUTO]: Automated genbindings update: 1c989f87f4cb90d1534103ef7032f7a4f7de7dcb (#4212) (#4215)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-25 10:18:01 +08:00
bofeng-song cb4c26b2b8 pass.cpp & SkeletalAnimationUtils.cpp synchronize with ts logic for EDITOR (#4205) 2022-01-24 18:33:58 +08:00
Yun Hsiao Wu 464cc90bcc JSB generation keeps licenses, fixed (#4212) 2022-01-24 18:33:01 +08:00
minggo 2e4289159f Merge pull request #4209 from minggo/v3.5.0_merge_v3.4.2
V3.5.0 merge v3.4.2
2022-01-24 18:24:55 +08:00
minggo f08555248f fix conflict 2022-01-24 17:23:03 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
minggo 45f096ead8 fix compiling error 2022-01-24 16:42:39 +08:00
minggo 1552345596 Merge branch 'v3.4.2' into v3.5.0_merge_v3.4.2
Conflicts:
	cocos/platform/android/jni/JniCocosActivity.cpp
	cocos/platform/apple/JsbBridgeWrapper.mm
	cocos/platform/ohos/jni/JniCocosAbility.cpp
	cocos/renderer/gfx-metal/MTLCommandBuffer.mm
	external/config.json
2022-01-24 15:01:01 +08:00
minggo 3c871193d7 Fix crash when exit (#4207)
* destroy BuiltinResMgr when exit app

* fix memory leak of DescriptorSet

* fix GFXBuffer memory leak

* fix crash when close app
2022-01-24 10:30:05 +08:00
timlyeee 83ecd19721 Divide foreground tasks and all-time tasks (#4206)
* Add JsbBridgeWrapper for ohos

* Divide Foreground tasks and all-time tasks

* implement a taskQ class

* Add ohos support
2022-01-24 10:25:05 +08:00
timlyeee 49c57bd9c5 Add JsbBridgeWrapper for ohos (#4204) 2022-01-21 11:10:38 +08:00
Yun Hsiao Wu a360e4390a gfx: refactor binding mappings (#4195)
* gfx: refactor binding mappings

* fg: fix scissor merge

* fix genbindings on PyYAML 6.0+
2022-01-21 09:43:55 +08:00
Zeqiang Li 08dadb4fae wgpu ci sdk update to latest (#4202)
* wgpu ci

* update emsdk to latest
2022-01-21 09:43:21 +08:00
Zeqiang Li 8ffcf82748 wgpu ci (#4201) 2022-01-20 11:47:49 +08:00
Cocos Robot 47c1b4ddcb [ci skip][AUTO]: Automated genbindings update: c9d9e6cafd1aeb61793841f389c6b79ca3e2091d (#4197) (#4199)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-01-19 18:21:46 +08:00
bofeng-song 8bdfbd60e2 implement syncCameraEditor for editor's logic & remove unneed code (#4197)
* implement syncCameraEditor  for editor's logic & remove unneed code
2022-01-19 16:13:48 +08:00
Zeqiang Li aa95a22288 subpass + invalid depth binding + valid dsAttachment format (#4198)
* subpass + invalid depth binding + valid dsAttachment format

* append
2022-01-19 16:07:03 +08:00