QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +08:00
江战
c32ba5d38c
fix include order & revert boost/hash ( #12212 )
2022-07-27 13:46:01 +08:00
minggo
d40b8739bc
Merge branch 'v3.6.0' into develop_merge_v3.6
2022-07-18 10:38:14 +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
江战
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
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
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
Yun Hsiao Wu
448ea846d8
create device in JS ( #3598 )
2021-06-07 11:10:06 +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
江战
518b56df5d
[3.0] [jsb] some improvements ( #3146 )
2020-12-28 18:50:31 +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
Arnold
96a9f9210e
remove warnning
2020-10-13 17:31:35 +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