Commit Graph

4804 Commits

Author SHA1 Message Date
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
江战 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
coulsonwang 904e0840a3 fix instanced skinning lighting (#3012) 2020-11-11 14:05:17 +08:00
CocosRobot 056d59a2c5 [ci skip][AUTO]: updating jsbinding automatically (#3013) 2020-11-11 11:24:56 +08:00
吴智明 4dc6a9f67c change android package name (#3006) 2020-11-11 10:55:10 +08:00
CocosRobot d3d826cc67 [ci skip][AUTO]: updating jsbinding automatically (#3010) 2020-11-11 10:51:46 +08:00
troublemaker52025 bffaf3f395 Add spot light shadow for C++ (#2978) 2020-11-11 10:15:54 +08:00
minggo 74e8fb9084 cache properties of CanvasRenderingContext2D (#3007)
* cache properties of CanvasRenderingContext2D

* update data after setting callback

* do not set width/height if the value is not changed
2020-11-11 09:48:21 +08:00
minggo 5836510259 Merge pull request #2998 from PPpro/3d-editbox
fix editbox cannot complete on Mac platform
2020-11-10 14:46:42 +08:00
minggo 47f32a3a96 vk: fix vertex attribute description (#2997)
* vk: fix vertex attribute description

* fix instance buffer dynamic

* fix ro.depth
2020-11-10 09:49:00 +08:00
吴智明 37e0be8dad fix the error lib_name path (#2996) 2020-11-10 09:46:38 +08:00
Yun Hsiao Wu 35edaa731d fix ro.depth 2020-11-09 16:24:40 +08:00
coulsonwang 8faa1aa90f reduce getPhaseID jsb call (#2995) 2020-11-09 16:23:04 +08:00
PP_Pro 98af261687 fix editbox cannot complete on native native desktop platform 2020-11-09 15:31:27 +08:00
Yun Hsiao Wu 41716168b3 fix instance buffer dynamic 2020-11-09 15:30:12 +08:00
Yun Hsiao Wu 941a7ea795 vk: fix vertex attribute description 2020-11-09 15:17:12 +08:00
coulsonwang c5248e6aa0 fix metal compressed format (#2994) 2020-11-09 10:58:25 +08:00
minggo f0b3cc8baf remove unneed codes as it is fix in PR 2992 (#2993) 2020-11-09 09:43:56 +08:00
Yun Hsiao Wu 0cde2f9aac vk: handle android window events (#2992)
* fix GL state cache

* vk: handle android window events
2020-11-07 21:05:14 +08:00
CocosRobot 99a7777e7e [AUTO][ci skip]: updating cocos2dx_files.json (#2991) 2020-11-07 17:53:48 +08:00