Commit Graph

4353 Commits

Author SHA1 Message Date
Knox edc85f1f4c add getSafeArea for android and iOS (#3067) 2020-11-25 16:58:46 +08:00
PP 8afc47fcad sync audio bug fix (#2957)
* fix multiply register audioEngine onEnterBackground event

* fix audio engine crash when enter foreground

* fix CI
2020-11-25 14:30:14 +08:00
PP f7b0546bff sync pr from 2d (#3062)
* fix editbox indicator jump to end on iOS

* support dispatchOrientationChangeEvent

* fix orientation when flip landscape on iOS device
2020-11-25 10:42:58 +08:00
kenshin 0837535633 Solve iOS14 Stroke Not Showing Problem. (#3059) 2020-11-25 09:39:53 +08:00
minggo 880d770d52 send resize event to JS (#3070) 2020-11-25 09:35:30 +08:00
troublemaker52025 d50792878e fix shadow incomplete display (#3068) 2020-11-24 21:16:41 +08:00
minggo bd6644c112 fix invalid submodule index (#3069) 2020-11-24 21:13:40 +08:00
minggo 8a1a318893 fix iOS resolution issue (#3066) 2020-11-24 19:03:32 +08:00
minggo f88b8e9c81 fix crash and refine codes (#3061) 2020-11-24 10:03:40 +08:00
PP d03a29fc9c support window event on native desktop platform (#3058)
* support window event on Mac

* support window event on Win32
2020-11-24 09:59:58 +08:00
minggo 03a3a6ba42 do not release window when exit (#3060)
It will cause crash, do not why. It is werid.
2020-11-23 16:54:49 +08:00
江战 17f5cba3a6 [3.0] fix travis error (#3054) 2020-11-21 22:57:18 +08:00
troublemaker52025 7ec6699e1d Fix customize descriptor not bingding shadow map (#3055) 2020-11-21 22:56:04 +08:00
coulsonwang 8be4923b05 fix multi attachment issue (#3056) 2020-11-21 22:54:51 +08:00
coulsonwang ff205210bb fix wrongly render target size (#3053) 2020-11-20 13:36:31 +08:00
minggo 21da438185 update binding codes (#3052) 2020-11-20 11:13:52 +08:00
troublemaker52025 4cb66eac97 Refactoring shadow ubo submit for c++ (#3049) 2020-11-20 09:34:06 +08:00
cary 4db4163110 Fix text baseline on mac. (#3051) 2020-11-19 18:59:39 +08:00
minggo dc43dba892 fix macro name (#3050) 2020-11-19 18:58:27 +08:00
PP b52654268c fix bug on simulator (#3048)
* fix simulator window size

* fix crash when simulator exit
2020-11-19 16:14:08 +08:00
cary 835b0bbb07 Fix the text baseline on native platform. (#3043) 2020-11-19 13:47:12 +08:00
minggo 4fb4d32880 fix compiling error on iOS (#3046) 2020-11-19 11:51:59 +08:00
coulsonwang 6240bd42b0 add _maxVertexTextureUnits on Metal (#3047) 2020-11-19 11:09:00 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
minggo 55d2aadcd5 update binding codes (#3044) 2020-11-18 19:07:43 +08:00
minggo 9c98bc0c92 do not use freed memory (#3042) 2020-11-18 17:51:06 +08:00
PP 7a18419046 update cmake target osx version (#3041) 2020-11-18 14:54:42 +08:00
minggo c1e6c7e26c make window resizable on mac (#3040) 2020-11-18 14:18:28 +08:00
coulsonwang 9bcd4dd26a fix clear sub-region on metal (#3039) 2020-11-18 11:43:50 +08:00
minggo 600c467a75 fix memory leak (#3037) 2020-11-18 09:52:36 +08:00
troublemaker52025 b2a6c86865 fix instance model no shadow, and Sync to C++ (#3036) 2020-11-18 09:52:15 +08:00
江战 19a8472fe5 obtain_return_value (#3035) 2020-11-17 17:43:03 +08:00
minggo c746687bb7 fix memory leak (#3034) 2020-11-17 17:33:08 +08:00
troublemaker52025 8c76261b7d Sync planar shadow (#3031) 2020-11-17 16:29:17 +08:00
minggo 900cf3aa80 just send image data pointer to JS (#3033) 2020-11-17 10:43:57 +08:00
minggo 4a5df08f19 fix android command order after coming from background (#3030) 2020-11-16 14:21:55 +08:00
CocosRobot efbcf48b93 [ci skip][AUTO]: updating jsbinding automatically (#3028) 2020-11-13 17:34:58 +08:00
minggo abec44b08b Reduce jsb (#3027)
* do not define property of Device.uboOffsetAlignment

* convert BindingMappingInfo

* convert ShaderStage/Uniform/UniformBlock/UniformSampler/ShaderInfo

* convert DrawInfo/IndirectBuffer

* convert SamplerInfo

* convert SubPassInfo/ColorAttachment/DepthStencilAttachment/RenderPassInfo
if only bind gfx then it will not work, as it misses SubPassInfo/ColorAttachment/DepthStencilAttachment/RenderPassInfo to seval.
But do not handle it now.

* convert more types
2020-11-13 16:25:38 +08:00
coulsonwang 71a3785258 add mutability feature to improve performance (#3025) 2020-11-12 17:33:55 +08:00
troublemaker52025 afd6b985a5 Fix GFXSampler no binding warning (#3024) 2020-11-12 17:04:41 +08:00
coulsonwang 925976c6e6 fix metal staging buffer (#3023) 2020-11-12 15:35:34 +08:00
CocosRobot 84452c86fc [ci skip][AUTO]: updating jsbinding automatically (#3020) 2020-11-12 15:30:31 +08:00
江战 34b224345f fix win32 app icon (#3022) 2020-11-12 15:25:51 +08:00
CocosRobot b875bcaea7 [ci skip][AUTO]: updating jsbinding automatically (#3021) 2020-11-12 13:51:38 +08:00
coulsonwang 1908308a5a fix invalid color pixel format (#3018) 2020-11-12 13:06:25 +08:00
Yun Hsiao Wu 7384716c86 fix light pass index (#3017)
* fix light pass index

* vk: fix vertex attribute offset
2020-11-12 12:55:45 +08:00
coulsonwang 6dc6e565ef fix comparedFunction not supported on iOS (#3015) 2020-11-12 12:54:10 +08:00
吴智明 43f7e9a1ef comment sdkwrapper (#3016) 2020-11-12 12:53:20 +08:00
江战 f1e828b7c7 [3dgfx] speedup travis (#3011) 2020-11-12 11:15:45 +08:00
CocosRobot a39b725cc5 [AUTO][ci skip]: updating cocos2dx_files.json (#3014) 2020-11-11 14:06:04 +08:00