Commit Graph

37311 Commits

Author SHA1 Message Date
coulsonwang b553648a77 remove unused code (#20195) 2019-10-12 09:45:56 +08:00
coulsonwang 68aedd7ef0 revert error caused by fixC4244Warning (#20190) 2019-10-11 16:39:33 +08:00
coulsonwang a91091e93a fix triangle batch (#20185)
* fix triangle batch
since it would be too expensive to check the uniforms, simplify enable batching for built-in program.

* enable user update the materialID
2019-10-10 09:41:39 +08:00
coulsonwang c7020fbb5f fix C4244 warning (#20173) 2019-10-09 17:50:32 +08:00
coulsonwang ab04e037b7 fix PhysicsContactTest (#20171)
modify the item relative position to avoid inappropriate operation.
2019-10-08 15:07:46 +08:00
coulsonwang 49a3b5b228 fix auto test fails (#20183)
needs an integer position
2019-10-08 15:06:47 +08:00
CocosRobot 4116371053 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20176) 2019-09-26 17:35:39 +08:00
rh101 4ac3f94774 V4 RenderTexture PMA flag fix (#20153)
* This is to ensure the RenderTexture internal texture2D PMA flag is set to the correct value.
[CCSprite.cpp] Blending mode needs to be set based on the PMA flag of the texture if using Sprite::initWithTexture().

* [CCSprite.cpp] Removed redundant code related to blending mode and opacityModifyRGB when creating a sprite with a texture.
2019-09-26 16:11:23 +08:00
Arnold d3359c3e4a [v4] update submodule cocos2d-console (#20170)
disable compile lua scripts on linux
2019-09-26 16:10:53 +08:00
minggo 774a90792c
fix link error on iOS simulator (#20172) 2019-09-26 16:09:59 +08:00
minggo 42c43a53a1
fix crash when back with playing video (#20169) 2019-09-25 14:33:18 +08:00
coulsonwang 6de088ab98 fix C4244 warning (#20162)
* fix C4244 warning

* fix warning C4244

* fix compile error
2019-09-25 14:32:26 +08:00
minggo 70bd4e967d
update external to fix compiling error on Xcode 11 (#20165) 2019-09-25 09:51:43 +08:00
Arnold 0d9b5ff442
rebase (#20166) 2019-09-25 09:13:23 +08:00
minggo 77a47957a7
set software mode will slow down performance (#20155) 2019-09-24 14:29:14 +08:00
coulsonwang 9ee9917047 fix Physics3DDebugDrawer (#20160)
Since drawing type is ARRAY, should use  instead.
2019-09-24 14:28:44 +08:00
Arnold 391780d5e2 [v4] update external version to metal-support-16 (#20161)
recompile libfreetype.a for ubuntu 18
2019-09-24 14:28:22 +08:00
coulsonwang 03a4ddf764 fix warning (#20146)
* fix warning
fix warning

* remove integer type constructor for Vec2
2019-09-24 11:31:35 +08:00
Arnold 18165adf5b \[v4\] update submodule console (#20147) 2019-09-21 08:43:43 +08:00
Arnold 9791ad635c
[v4] update console submodule: remove cmake toolchain file (#20138)
remove parameter CMAKE_TOOLCHAIN_FILE
2019-09-20 18:03:58 +08:00
coulsonwang 1888267fa9 add particle texture (#20144)
add particle texture
2019-09-20 17:31:08 +08:00
coulsonwang 5918758904 fixLuaNodeTest (#20145)
set depth write mask correctly
2019-09-20 17:30:52 +08:00
minggo b3dba7b93e
Merge pull request #20131 from Mee-gu/checkMemoryLeak
fix memory leak on metal app
2019-09-20 14:37:02 +08:00
minggo 965ea379a7
Merge pull request #20139 from Mee-gu/fixWarning
fix warning
2019-09-20 14:36:36 +08:00
coulsonwang 0dbe3419d2 fix warning
fix warning
2019-09-20 11:20:07 +08:00
minggo 00f8713f26
Merge pull request #20133 from PatriceJiang/v4_update_console_submodule_luajit
[v4] update submodule cocos2d-console
2019-09-20 09:26:03 +08:00
minggo 6287aaf5f0
Merge pull request #20135 from Mee-gu/fixWarings
Fix warnings
2019-09-20 09:21:25 +08:00
minggo edb6d90f39
Merge pull request #20130 from Mee-gu/fixParticleIssue
add particle texture
2019-09-20 09:19:34 +08:00
coulsonwang fb39795d27 fix warning 2019-09-19 18:43:31 +08:00
patricejiang ca39907660
[v4] update submodule cocos2d-console
recompile luajit-mac with -DLUAJIT_ENABLE_GC64
2019-09-19 15:49:16 +08:00
coulsonwang e9a33903f0 fix memory leak for metal app 2019-09-19 15:31:05 +08:00
coulsonwang 4c3375bc41 add particle texture 2019-09-18 10:02:33 +08:00
minggo 302007976a
getting correctly uniform location value (#20127)
* fix uniformLocation

* set the right position of uniform location
2019-09-18 09:44:44 +08:00
coulsonwang 83dd39ec0b remove unneeded codes (#20126)
was removed from Sprite3D. Should not be call from lua.
2019-09-18 09:22:15 +08:00
Arnold 96ae05d511 [bugfix] Android compile error on arm64 (#20128)
* add --no-warn-shared-textrel only in android/x86

* update comment position
2019-09-18 09:21:56 +08:00
coulsonwang c17417f3cb set the right position of uniform location 2019-09-17 17:15:16 +08:00
coulsonwang dc910efee7 fix uniformLocation 2019-09-17 15:09:44 +08:00
minggo f3b09563f8
Mac label v4 (#20125)
* fix system font issue on macOS Catalina
2019-09-17 13:35:19 +08:00
Arnold f3caa09fd6 code review update: cmake ios simulator limitation MacOS 10.15 (#20120) 2019-09-16 15:09:01 +08:00
Arnold 860b537b3e update readme (#20109) 2019-09-06 18:51:12 +08:00
minggo 9df47ef6fd
use WKWebview instead (#20103)
UIWebView is removed in iOS 13.
2019-09-06 09:57:38 +08:00
coulsonwang d9e6c74ea6 particle use tiff issue (#20105) 2019-09-06 09:46:15 +08:00
Arnold eed319938d [lua tests] MaterialSystemTest update u_Time uniform (#20083) 2019-09-05 15:56:39 +08:00
minggo dcf7baf8c0
remove tiff 2019-09-05 09:33:54 +08:00
coulsonwang 816289ccf5 fix clipping node issue (#20100)
Children are not correctly clipped.
2019-09-05 09:17:43 +08:00
minggo d1abfd8aa2
use AVPlayerController instead (#20099) 2019-09-04 20:45:51 +08:00
Arnold 92b48359ea add cert file (#20081) 2019-09-04 10:09:12 +08:00
coulsonwang 5ab04a7001 set default color attachment format (#20073) 2019-09-04 10:07:31 +08:00
Arnold 7c3a7153c8 update' (#20082) 2019-09-04 10:06:38 +08:00
Arnold 55f6f6d6e7 [bugfix] Fileutils iOS isDirectory (#20079) 2019-09-04 10:03:38 +08:00