Commit Graph

779 Commits

Author SHA1 Message Date
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
PP d648d3252b fix simulator compiling (#2943)
* fix simulator compiling

* remove terminate app logic
2020-10-23 20:54:01 +08:00
吴智明 d5d772556c 3d gfx upgrade gradle (#2928)
* upgrade gradle version and instant app version

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* upgrade gradle config

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* fix project path

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-20 15:09:05 +08:00
Yun Hsiao Wu fb791ad01b discrete descriptor set layout bindings (#2920) 2020-10-20 15:06:57 +08:00
coulsonwang f490f68120 Fix instance buffer (#2911) 2020-10-15 09:54:36 +08:00
minggo d25dd22e77 do not bind gfx enum class (#2907) 2020-10-14 15:41:13 +08:00
minggo 0effee8613 Gfx bind (#2905)
* bind FenceInfo

* the same sequence as JS

* rename SubPass in binding codes

* make the same sequence as JS

* remove unneeded space
2020-10-14 15:14:22 +08:00
吴智明 c12b73d42a fix bug when compile android (#2903)
* fix bug when compile android

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>

* update travis script

Signed-off-by: wuzhiming <wuzhiming.chukong@gmail.com>
2020-10-14 14:17:01 +08:00
minggo 822cca2112 Sync SamplerInfo definition & use default values (#2901) 2020-10-14 09:42:05 +08:00
Arnold 96a9f9210e remove warnning 2020-10-13 17:31:35 +08:00
minggo 5d4e31803d Merge pull request #2896 from PatriceJiang/3dgfx-bindings-generator-unexposed-expr
[3dgfx] bindings generator: output error message when CXCursor_UnexposedDecl
2020-10-13 15:19:08 +08:00
minggo d96a745c7e auto bind BindingMappingInfo 2020-10-13 10:38:31 +08:00
Arnold 359cb720ef add waring message 2020-10-13 10:28:45 +08:00
Yun Hsiao Wu efad97b643 array pool refactor (#2883)
* fix draw call issueing

* vk: descriptor set: default sampler only

* array pool refactor

* skip backupBuffer & device bindings

* MRT feature flag

* skip getDevice
2020-10-12 14:26:10 +08:00