Commit Graph

93 Commits

Author SHA1 Message Date
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
minggo e4eadc714a add some functions (#2954)
These functions are used for performance
2020-10-29 13:39:59 +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
Arnold 96a9f9210e remove warnning 2020-10-13 17:31:35 +08:00
Arnold 359cb720ef add waring message 2020-10-13 10:28:45 +08:00
江战 c4433a3c75 fix outof range error (#2885) 2020-10-10 16:28:10 +08:00
江战 a12ef80cba 3dgfx struct constructor allow varargs (#2879)
* Revert "update constructor (#2873)"

This reverts commit cfedd696b1.

* allow variable argument list
2020-10-10 15:12:43 +08:00
江战 cfedd696b1 update constructor (#2873) 2020-10-10 10:05:41 +08:00
minggo 4ed720b8b8 merge binding generators (#2773) 2020-09-10 13:44:20 +08:00
minggo 9d9c79012b change file path (#2733) 2020-09-10 09:51:24 +08:00
minggo 783937aa0a Update binding generator (#2739) 2020-08-31 10:45:03 +08:00
minggo b08407c501 remove CC/cc prefix for file names (#2728) 2020-08-28 15:23:29 +08:00
Yun Hsiao Wu 46ba30ae13 GFX Descriptor Set (#2713)
* GFX Descriptor Set: GLES3

* GFX Descriptor Set: GLES2

* GFX Descriptor Set: Vulkan

* upper layer adaptions

* GFX Descriptor Set: Metal

Co-authored-by: coulsonwang <coulsonwang@126.com>
2020-08-24 17:11:06 +08:00
minggo 6a17148d40 use .cpp/.h for source file suffix (#2654) 2020-07-22 15:00:28 +08:00
minggo bb6ea9bec3 remove GFX prefix (#2611) 2020-06-24 10:51:14 +08:00
minggo 7efee066fd Remove duplicate (#2597) 2020-06-19 11:07:21 +08:00
minggo e07bc0821c use cc::gfx namespace (#2576) 2020-06-16 18:10:41 +08:00
minggo d381a16142 change namespace from cocos2d to cc (#2572) 2020-06-16 14:34:46 +08:00
coulsonwang 51a87d3254 revert attribute caching for jsb optimization (#2380)
* revert attribute caching for jsb optimization

* update binding generator
2020-04-15 18:17:23 +08:00
coulsonwang 31cc3c73ca prefix "__" to property (#2347)
* prefix __ to property

* update submodule
2020-04-03 09:53:21 +08:00
coulsonwang 32fd98017e Fix vector conversion (#2264)
* fix vector_to_seval

* fix

* remove some manual conversion, make it auto generate

* update bindingGenerator
2020-03-19 14:19:01 +08:00
minggo 80bc6f3928 update binding generator to fix typo (#2253) 2020-03-09 12:08:47 +08:00
minggo b220ff2c5a Window handler type (#2251)
* change window handler type to uintptr_t

* convert uintptr_t to JS
2020-03-09 11:51:46 +08:00
minggo fa511447e3 Android issue (#2247)
* change window handler to uintptr_t

* fix compiling error
2020-03-09 11:21:07 +08:00
Arnold 557dfe656e fix captialize (#2242) 2020-03-06 11:56:16 +08:00
Arnold f9e95af79b update submodule (#2238) 2020-03-06 10:23:52 +08:00
minggo c6e9d76540 update submodule (#2232) 2020-03-05 18:19:37 +08:00
minggo f88f668370 update submodule (#2222) 2020-03-03 16:47:49 +08:00
coulsonwang 18867a55ff fix copyBuffersToTexture (#2211)
* fix copyBuffersToTexture

* add jsb binding

* Fix GLES2Device copyBuffersToTexture bindings

* Fix GFXArrayBufferView (to GFXBuffers) naming issue

* Add Device::copyTexImagesToTexture binding

* rename to GFXArrayBuffer

Co-authored-by: pandamicro <lphuabin@gmail.com>
2020-03-02 14:51:11 +08:00
minggo 91901a7b83 binding codes support intptr_t (#2204) 2020-02-27 16:04:01 +08:00
coulsonwang fe9c986bb1 update submodule (#2168) 2020-02-24 15:22:11 +08:00
Arnold e9e93a1528 update submodule (#2162) 2020-02-21 11:30:12 +08:00
Arnold ed24a2b1e5 update submodule (#2157) 2020-02-21 10:15:35 +08:00
coulsonwang b5749ac0fa manual bind GFXSubPass (#2141)
* manual bind GFXSubPass

* update review

* update bindings-generator

* fix namespace
2020-02-18 14:10:43 +08:00
Arnold defe8b5c95 update submodule (#2135) 2020-02-17 12:11:19 +08:00
Arnold 3df9e582b7 export structure & support reference (#2120)
* regenerate

* revert change

* update submodle
2020-02-14 11:51:00 +08:00
minggo c3d8ea6242 Gfx binding (#2096)
* add sdkwrappter back

* add gfx binding codes back

* revert some debug code

* revert some debug code
2020-01-19 14:30:57 +08:00
owen 0cd71aefb9 V2.2.0 native Spine and DragonBones cache mode (#1844)
* Spine cache

* fix dragonbones yDown bug

* Spine cache mode and fix dragonBones yDown bug

* spine cache mode

* dragonbones cache mode

* dragonbones cache mode

* dragonbones cache mode

* spine dragonbones binding

* dragonbones cache mode

* spine dragonbones binding

* optimize dragonbones event

* update dragonbones binding

* dragonbones remove cache

* dragonbones cache mode

* update dragonbones binding

* dragonbones cache mode

* Fix some cache bug

* fix some cache mode bug

* optimize cache mode

* Fix update list order bug

* Fix indent issue

* revert bindings-generator

* Fix intent issue
2019-09-23 10:19:13 +08:00
owen 2c31d09fa5 Fix 213 spine auto file generate error (#1828) 2019-09-04 11:11:27 +08:00
Arnold 1914ef6d17 update binding generator (#1819) 2019-08-30 18:42:51 +08:00
owen c9ebdd81c3 Change bindings-generator sub modules (#1623)
* Change bingdings-generator sub modules
2018-12-07 18:27:21 +08:00
leda c74745eee4 add "getSafeAreaEdge" interface to get SafeArea edge insets (#1502)
* try to resume iPhone X support

* gen binding code

* only get SafeAreaEdge on native

* add getSafeAreaEdge for others

* update binding-generator
2018-09-10 10:14:23 +08:00
minggo ec1fb11244 ignore some files (#1297) 2018-06-06 15:15:06 +08:00
minggo ef2b666f38 update binding gererator (#1255) 2018-05-22 09:49:21 +08:00
James Chen 04fa653ab0 Updates bindings-generator to official repo. (#1251) 2018-05-21 14:08:20 +08:00
James Chen e00e0e0f86 Updates bindings-generator. 2018-03-07 10:05:36 +08:00
Jare Guo d9bd3d763c update license (#1089)
* updating license

* update license
2018-02-01 15:20:01 +08:00
James Chen e8d11d07f7 Updates bindings-generator, adds missing se ns (#1047) 2017-12-29 11:19:43 +08:00
James Chen 3bc6e34825 Fixes crash while using PolygonCollider to make mask.
fixed https://github.com/cocos-creator/fireball/issues/6502
2017-10-23 15:08:46 +08:00