Commit Graph

17466 Commits

Author SHA1 Message Date
Santy-Wang 95b2c2ad5a fix imageBitmap auto premultiply alpha (#7761) 2020-11-11 18:55:29 +08:00
troublemaker52025 2f100b4eaa Merge remote-tracking branch 'Cocos/3d' into fix-sphereLight-error 2020-11-11 16:03:31 +08:00
cary 1221a88979 Fix the WrapMode issue of particle curves. (#7757) 2020-11-11 15:54:35 +08:00
Leslie Leigh (李的序) a3e1487375 Remove comments even in debug build; Suppress babel compact warnings. (#7755)
@cocos/build-engine@4.0.0-beta.0
2020-11-11 15:22:53 +08:00
黄森斌 0ede504353 add intertnal db ui prefab assets (#7756)
(cherry picked from commit 5cd6cadb90850b6902d6ad78e56448c1ca03a479)
2020-11-11 15:20:38 +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
troublemaker52025 7ba93978ee fix sphereLight error 2020-11-11 12:33:34 +08:00
Knox c762a72838 fix video remove err, add protection consistent with 2d (#7753) 2020-11-11 12:04:18 +08:00
troublemaker52025 82f87f3776 fix shadow map no binding warning (#7754) 2020-11-11 12:03:37 +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
troublemaker52025 3c669c4d9f Add spot light shadow for 3D (#7643) 2020-11-11 10:15:42 +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
Yun Hsiao Wu 0c8ebc83bc fix flat buffer generation (#7751) 2020-11-10 19:30:22 +08:00
minggo a705618093 Cache CanvasRenderingContext2D properties as possbile (#7749)
* cache CanvasRenderingContext2D properties

* cache CanvasRenderingContext2D attributes

* cache CanvasRenderingContext2D properties

* create canvas with default widht/height

* fix typo
2020-11-10 19:13:33 +08:00
zhefeng.zhang f8474892f8 fixed tiledTypeSprite error (#7748) 2020-11-10 19:01:09 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Santy-Wang 38277a2403 Encapsulates a method to replace System.import (#7747) 2020-11-10 17:30:02 +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
Knox 37f46ca8ea improve particle system 2d (#7739)
* improve particle system 2d

1.add tooltip
2.improve code

* improve code

* improve code
2020-11-10 11:58:13 +08:00
Yun Hsiao Wu 91ba93c7f1 update internal effect names (#7744) 2020-11-10 11:36:25 +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
zheng han b5770d3f69 fix pass error (#7735) 2020-11-09 19:54:35 +08:00
cary 64c090968f Fix the crash when switching between particle scenes on native. (#7743)
* Fix the crash when switching between particle scenes on native.

* fix ci
2020-11-09 19:52:55 +08:00
troublemaker52025 a91c502082 fix merge lost for 3.0 (#7742) 2020-11-09 19:50:34 +08:00
ChiaNing a6fc79acb4 change canvas z position (#7741) 2020-11-09 18:18:50 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
ChiaNing 598567bec0 Draw more frames when pause on Runtime&Alipay (#7738) 2020-11-09 16:46:40 +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
coulsonwang bb0ef38f4b reduce native getPhase jsb calls (#7737) 2020-11-09 15:35:49 +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
cary d94fa376c5 Fix the problem of pass id out-of-bounds. (#7736) 2020-11-09 13:07:12 +08:00
coulsonwang c5248e6aa0 fix metal compressed format (#2994) 2020-11-09 10:58:25 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
minggo f0b3cc8baf remove unneed codes as it is fix in PR 2992 (#2993) 2020-11-09 09:43:56 +08:00
Jare Guo 676c267150 remove RawAsset (sync #6286) (#7697) 2020-11-08 22:45:15 +08:00
yufang.wu 623ef85041 Sync the PR of 2D. (#7730)
* Sync the pr #7262 and #7315 of 2D.

* Commit changes
2020-11-08 22:43:51 +08:00
Santy-Wang 84fd3bc011 Use new deprecating mechanism (#7732)
* use new deprecating mechanism

* refine

* refine log

* refine
2020-11-08 22:42:27 +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
ChiaNing 9de860f409 layer Changed event add (#7729) 2020-11-07 17:52:12 +08:00
Knox 6677e39fd2 improve _underlineHeight init value to 2 in the label (#7733) 2020-11-07 17:51:14 +08:00
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