Commit Graph

133 Commits

Author SHA1 Message Date
江战 68a9972729 update readme (#12095) 2022-07-20 15:30:16 +08:00
江战 8ef9c6b12d reduce log (#12092) 2022-07-20 14:36:30 +08:00
江战 38e8a689e1 Support to send log to server, currently is only used internally by QA team (#11832) 2022-07-13 16:23:39 +08:00
江战 3887211c60 fix warning & include path (#11825) 2022-07-04 11:25:34 +08:00
James Chen 174ba0eff2 Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. (#11740) 2022-06-30 10:25:02 +08:00
minggo f3c84376f2 remove useless log (#11653) 2022-06-23 11:50:04 +08:00
James Chen c717b4bd00 Add static property 'isJSBClass' for JSB classes and only enable it in DEBUG mode. (#10993) 2022-05-07 18:04:05 +08:00
minggo ecbc619e4b remove unneeded macros (#10474)
* remove unneeded macros
* add cc_ for some macros
2022-03-25 11:01:48 +08:00
bofeng-song 91d50b2782 fix TextureCub's isRGBE can not overrided (#10307) 2022-03-11 11:49:42 +08:00
江战 7c3698dca0 3.6 Update layout_foot.h (#10289)
* Update layout_foot.h

* fix clang-foramt dir
2022-03-10 09:52:11 +08:00
hyde zhou 94516f5343 V3.6.0 pipeline (#10131) 2022-02-22 09:58:51 +08:00
Yun Hsiao Wu 1d41e392d1 Merge remote-tracking branch 'origin/v3.5.0' into v3.6.0 2022-02-16 15:44:34 +08:00
Yun Hsiao Wu efbb7c880b resolve conflicts 2022-02-16 10:47:38 +08:00
江战 add8a68829 genbindings batch (#10106) 2022-02-15 09:45:16 +08:00
Yun Hsiao Wu 464cc90bcc JSB generation keeps licenses, fixed (#4212) 2022-01-24 18:33:01 +08:00
Yun Hsiao Wu a360e4390a gfx: refactor binding mappings (#4195)
* gfx: refactor binding mappings

* fg: fix scissor merge

* fix genbindings on PyYAML 6.0+
2022-01-21 09:43:55 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
江战 90e6860e2f add skip_public_fields (#3987) 2021-10-14 09:48:03 +08:00
Yun Hsiao Wu 8f8569f39e gfx: better hashing strategies (#3969) 2021-10-13 16:03:58 +08:00
Yun Hsiao Wu da2f03ff73 gfx: swapchain refactor (#3751)
* gfx: swapchain

* acquire/release/surface on swapchain

* fix swapchain texture creation

* acquire/present back on device

* formats are swapchain-specific

* swapchain: vk works

* enable device agent

* format fix

* update gfxdef

* fix enum decl

* pipeline adapt

* minor

* vk: compress attr locations directly in SPIR-V

* gles3 adjust

* InputAssembler owns an DrawInfo

* gles2 adapt

* texture keep track of its hash

* device cached states

* format

* glslang finalize

* buffer view adapt

* fg: subpass support

* minor

* 3.4 adapt

* profiler adapt

* buffer update frequency detection

* minor

* base commit

* swapchain works on metal

* spirv

* mtltexture issue

* remote test code

* depthtexture

* revert ifdef USE_METAL

* ios swapchain header

* fix some triple buffer issues

* resize accept surface transform

Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com>
2021-08-31 19:40:32 +08:00
Yun Hsiao Wu 5c88f24b3f misc gfx & fg improvements (#3703) 2021-07-13 14:07:47 +08:00
江战 751bbe2071 support uint8_t* for arraybuffer (#3677) 2021-07-01 14:51:06 +08:00
Yun Hsiao Wu 5c9fe80859 upgrade binding generator to python 3.x (#3614) 2021-06-12 22:04:58 +08:00
Zeqiang Li 219ec21abf remove nativeSize() interface (#3590) 2021-06-09 09:54:55 +08:00
Yun Hsiao Wu 448ea846d8 create device in JS (#3598) 2021-06-07 11:10:06 +08:00
Yun Hsiao Wu 9e0a8eaf7b vk: enable triple buffer (#3597) 2021-06-04 11:22:36 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
Yun Hsiao Wu 5d55467112 upgrade binding-generator to Clang 12 (#3514)
and also provide a comprehensive CLI for more flexible usages outside engine
repo.
2021-05-11 17:42:39 +08:00
Yun Hsiao Wu 6eedb24f9f gfx: object id / typed id (#3508)
* unified objectID/typedID

* record command buffers for validation

* update auto fix doc
2021-05-10 15:07:31 +08:00
Yun Hsiao Wu 9593a54b76 gfx: lifecyle validations (#3341)
* gfx: lifecyle validations

* better noexcept workaround

* more validations

* device layer reflection

* fix release build
2021-03-26 16:30:09 +08:00
Yun Hsiao Wu ea88ba33c6 codebase structure update (#3289)
* structure

* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00
Yun Hsiao Wu 8c96bfa860 editor adapt 2021-02-03 16:38:40 +08:00
江战 4b522c0d1f Bindings-generator: skip deleted constructor (#3207) 2021-01-12 13:40:27 +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
江战 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
江战 1892c43901 [3d-gfx] JSB convert types with template functions (#3100) 2020-12-09 16:35:51 +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
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