Commit Graph

642 Commits

Author SHA1 Message Date
Zeqiang Li 43ab6db6c2 skip generate getFrameIndex() in jsb & GCPool rewrite (#3237)
* skip generate getFrameIndex() in jsb

* rewrite GCPool::collect and flush GCPool when destroy device
2021-01-20 13:38:13 +08:00
minggo d745fd5911 Remove files (#3230) 2021-01-18 18:37:18 +08:00
minggo 39b2c940ae Remove unneeded files (#3221)
* remove unneeded files

* remove submodule cocos2d-console
2021-01-14 14:36:37 +08:00
江战 ba29f6a497 substr 0:8 (#3211) 2021-01-12 17:41:27 +08:00
江战 4b522c0d1f Bindings-generator: skip deleted constructor (#3207) 2021-01-12 13:40:27 +08:00
吴智明 8674eafd02 change template structure (#3194) 2021-01-11 11:54:32 +08:00
江战 345dfa45fd Fix CI PR title (#3197) 2021-01-10 13:51:58 +08:00
江战 308344d6d7 do not export struct DownloadTask to JSB (#3192) 2021-01-09 15:39:54 +08:00
江战 a558b0e89f [3.0] restart VM (#3154) 2020-12-31 15:42:55 +08:00
PP e90d0957f3 support spine && dragonBone on simulator (#3171) 2020-12-30 20:02:08 +08:00
江战 f85585890f allow run tojs/genbindings.py in other dir (#3164) 2020-12-29 09:49:34 +08:00
江战 518b56df5d [3.0] [jsb] some improvements (#3146) 2020-12-28 18:50:31 +08:00
Yun Hsiao Wu 9d3d6647dd merge latest device layer (#3145) 2020-12-28 17:23:16 +08:00
kenshin 762004cf72 3.0 dragonbones (#3156) 2020-12-28 16:19:14 +08:00
李学武 e6becc271d make setRenderObjects & setShadowObjects real 'move' (#3148)
Co-authored-by: lixuewu <lixuewu@17paipai.com>
2020-12-28 09:38:51 +08:00
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
江战 ec990052b1 bugfix: detect changed files (#3141) 2020-12-24 15:36:26 +08:00
owen ab49c62d0f 3.0 spine native sdk (#3136) 2020-12-24 10:14:18 +08:00
PP c2ac849d31 update config.json parsing && remove view menu for simulator (#3131)
* update config.json parsing

* remove setupUI

* synchronous change on win32 platform
2020-12-19 13:38:44 +08:00
江战 7c543a5def [3.0] Support Apple Silicon (#3130) 2020-12-19 13:37:30 +08:00
江战 7c8fd18aec fix base repo (#3127) 2020-12-18 10:47:28 +08:00
PP 14f55649af support simulator waiting for debugger connect (#3125) 2020-12-18 10:19:03 +08:00
PP 55bf3c5e2e fix simulator unfocused (#3124)
* fix simulator unfocused
2020-12-17 21:11:28 +08:00
江战 37e7d729e8 [3.0] export bindDescriptorSetForJS to JS (#3123) 2020-12-17 19:03:23 +08:00
江战 e78ea70453 [3.0] [bugfix] nativevalue_to_se(long long) (#3121) 2020-12-17 19:02:57 +08:00
minggo 74509f4eeb compile metal on iOS and mac (#3116) 2020-12-14 17:49:47 +08:00
江战 7ce0dc425a [3d-gfx] travis ci use access token (#3107) 2020-12-09 17:14:37 +08:00
江战 1892c43901 [3d-gfx] JSB convert types with template functions (#3100) 2020-12-09 16:35:51 +08:00
minggo 04b8aa17f9 add trible staging buffer mechanism. (#3098)
* add trible staging buffer mechanism.
As it seems does not improve performance, so use 1 staging buffer now.
2020-12-08 16:58:23 +08:00
coulsonwang 4a3ed169f7 fix MTLBuffer blit operation (#3091) 2020-12-02 16:40:08 +08:00
江战 25a747d4af travis fix script path (#3081)
* fix path

* fix path
2020-11-27 18:31:38 +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
江战 17f5cba3a6 [3.0] fix travis error (#3054) 2020-11-21 22:57:18 +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
PP 7a18419046 update cmake target osx version (#3041) 2020-11-18 14:54:42 +08:00
minggo 600c467a75 fix memory leak (#3037) 2020-11-18 09:52:36 +08:00
江战 19a8472fe5 obtain_return_value (#3035) 2020-11-17 17:43:03 +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
江战 f1e828b7c7 [3dgfx] speedup travis (#3011) 2020-11-12 11:15:45 +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 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
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
PP e8d56ecb6b enable debugger (#2969) 2020-11-02 09:49:29 +08:00
minggo e4eadc714a add some functions (#2954)
These functions are used for performance
2020-10-29 13:39:59 +08:00
Yun Hsiao Wu c10fb33a1f vk: pre-rotation on android (#2940) 2020-10-24 14:20:59 +08:00