Commit Graph

4804 Commits

Author SHA1 Message Date
minggo 3fc5d1d76d 3d gfx use java activity (#2990)
* use java activity

* simplify codes

* initialize app

* first version of touch handler

* fix touch event's bug

* add keycode event support for android

* add sensor adapt

* add copyright header

* add webview support

* support video player

* add missing property

* add editor box support

* handle crash if come from background on Android

* update external version

Co-authored-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-11-07 17:38:33 +08:00
kenshin 2ad036ba09 3d gfx 2 4 3 patch (#2984)
* free AudioMix partial wake locks, and android device can enter power save

* fix audio engine crash, avoid update function reentrancy.

* fix hot update issue.

* avoid a NULL point crash when ScriptEngine::cleanup
2020-11-06 18:03:49 +08:00
吴智明 6ef6f267b1 fix project name bug when build android (#2985) 2020-11-06 18:02:51 +08:00
CocosRobot 79b03944aa [AUTO][ci skip]: updating cocos2dx_files.json (#2989)
* [ci skip][AUTO]: updating jsbinding automatically

* [AUTO][ci skip]: updating cocos2dx_files.json
2020-11-06 18:01:09 +08:00
minggo aa194152e5 Reduce jsb (#2986)
* convert BufferInfo

* convert JS object to TextureViewInfo

* convert JS object to TextureInfo

* convert JS object to DescriptorSetInfo
2020-11-06 17:32:44 +08:00
ChiaNing 6ba1c6e477 Compress Texture bug fix & ASTC Support (#2983)
* Compress Texture bug fix & ASTC Support
2020-11-06 16:58:24 +08:00
CocosRobot 5cd479d157 [ci skip][AUTO]: updating jsbinding automatically (#2982) 2020-11-05 18:43:04 +08:00
minggo ba517c8b14 Reduce JSB invoking(#2979)
* add conversion functions for gfx::Color/Rect/Viewport/Offset/Extent/TextureSubres/TextureCopy/BufferTextureCopy
* use buffer pool for BlendState/BlendTarget/DepthStencilState/RasterizerState
2020-11-05 18:16:20 +08:00
PP 2f994d1a2c add writable path to searchpath on Windows platform when reading config (#2980) 2020-11-05 13:42:34 +08:00
PP 72ec8be7cb update gen-simulator workflow (#2971) 2020-11-05 09:46:21 +08:00
Yun Hsiao Wu 6ffef5b35b fix render queue sort function (#2977)
* fix render queue sort function

* enable scissor by default
2020-11-04 19:03:00 +08:00
coulsonwang 90dfaa5768 fix ios simulator format (#2974) 2020-11-04 16:18:16 +08:00
coulsonwang 8d955f335c fix batched buffer (#2972) 2020-11-04 16:17:34 +08:00
CocosRobot 5bc0fdb6ad [ci skip][AUTO]: updating jsbinding automatically (#2975) 2020-11-04 14:04:04 +08:00
coulsonwang c38d10d2f2 fix indirect draw not supported on ios (#2973) 2020-11-04 13:49:08 +08:00
吴智明 18c9dd40b0 fix bug when copy resource (#2970) 2020-11-02 16:31:01 +08:00
PP e8d56ecb6b enable debugger (#2969) 2020-11-02 09:49:29 +08:00
coulsonwang c3302b5d48 fix ios simulator issue (#2968) 2020-11-02 09:46:04 +08:00
Yun Hsiao Wu 267625277e vk: api version should follow device (#2967) 2020-10-31 20:01:53 +08:00
minggo 3975f21912 Update config.json 2020-10-31 18:27:30 +08:00
coulsonwang 33eb0bf47d fix ios crash (#2966) 2020-10-31 17:47:03 +08:00
CocosRobot 19c68d840c [ci skip][AUTO]: updating jsbinding automatically (#2965) 2020-10-31 10:31:09 +08:00
coulsonwang 0e2d7b4694 fix lighting (#2964) 2020-10-31 09:49:27 +08:00
Yun Hsiao Wu d703c56798 misc bugfixes (#2963) 2020-10-30 20:32:41 +08:00
coulsonwang 82b56e34d5 fix staging buffer (#2960) 2020-10-30 17:52:58 +08:00
troublemaker52025 60245af9bd shadow sync to c++ (#2942) 2020-10-30 16:18:36 +08:00
minggo 68360aefc9 iOS metal (#2932) 2020-10-30 16:15:47 +08:00
江战 d46f8bd1cd override cmake options (#2962) 2020-10-30 13:57:57 +08:00
Yun Hsiao Wu 76c5a91e58 vk: should wait for color output finish before transfering (#2961) 2020-10-29 19:49:38 +08:00
CocosRobot 736315a344 [ci skip][AUTO]: updating jsbinding automatically (#2959) 2020-10-29 14:14:43 +08:00
Yun Hsiao Wu f82ddea5bc pipeline adaptations for pre-rotation (#2958) 2020-10-29 13:46:09 +08:00
minggo e4eadc714a add some functions (#2954)
These functions are used for performance
2020-10-29 13:39:59 +08:00
吴智明 8715eb61e0 3d gfx change copy command (#2956)
* update copy command

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* update copy command for cmake

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-29 09:36:28 +08:00
coulsonwang 78a39e014a fix viewport (#2955) 2020-10-28 18:24:17 +08:00
吴智明 4299090cd5 change android resources copy path (#2953)
Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-28 14:23:00 +08:00
Yun Hsiao Wu e62ae5170b fix pipeline include typo (#2950)
whew that's one good way to mess it up
2020-10-28 09:54:01 +08:00
CocosRobot c58b3d1a0d [AUTO][ci skip]: updating cocos2dx_files.json (#2951) 2020-10-27 18:49:23 +08:00
coulsonwang f7013bcac7 disable triple buffering for metal (#2949) 2020-10-27 18:06:40 +08:00
coulsonwang e16cf58516 update external (#2948) 2020-10-27 17:57:29 +08:00
coulsonwang 1bab55cd39 fix crash (#2947) 2020-10-27 14:47:25 +08:00
coulsonwang 0cc05324e4 bind getPhaseID (#2946) 2020-10-26 18:35:12 +08:00
媛媛 f8c30ed5b2 update CMakeLists (#2944) 2020-10-26 09:42:02 +08:00
Yun Hsiao Wu c10fb33a1f vk: pre-rotation on android (#2940) 2020-10-24 14:20:59 +08:00
CocosRobot 7f21038b9f [ci skip][AUTO]: updating jsbinding automatically (#2945) 2020-10-23 21:23:29 +08:00
PP d648d3252b fix simulator compiling (#2943)
* fix simulator compiling

* remove terminate app logic
2020-10-23 20:54:01 +08:00
coulsonwang eb864cb29f fix additive light queue (#2941) 2020-10-23 20:52:20 +08:00
coulsonwang af75495a0f fix shadowMap batched queue (#2937) 2020-10-22 11:31:56 +08:00
minggo 8ea91902f0 fix some warnings (#2934) 2020-10-22 11:31:14 +08:00
Yun Hsiao Wu 5c596a3e48 vk: don't recreate swapchain on suboptimal result (#2938)
we've not implemented pre-rotation yet.
2020-10-21 20:48:09 +08:00
coulsonwang 3139433572 fix discrete descriptor set layout bindings for metal (#2935) 2020-10-21 18:38:27 +08:00