bofeng-song
d8bdec5162
fix android crash due to eglSurface unavailable ( #10621 )
...
* skip setRendererAvailable & isRendererAvailable (#10482 )
* fix android crash due to eglSurface unavailable
2022-04-01 14:52:46 +08:00
Zeqiang Li
fac0f58a71
skip getraw ( #10429 )
2022-03-22 11:16:27 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +08:00
Yun Hsiao Wu
5524b5c5d4
nx adaptation framework ( #4050 )
2021-12-14 15:04:57 +08:00
江战
90e6860e2f
add skip_public_fields ( #3987 )
2021-10-14 09:48:03 +08:00
李吉林
bed27fcccf
V3.4.0 occlusion query2 ( #3975 )
...
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-10-13 18:21:03 +08:00
Yun Hsiao Wu
134914b53d
fix buffer/texture info js binding ( #3981 )
2021-10-13 16:57:05 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +08:00
Yun Hsiao Wu
5e282a9ce5
fg: use hashmap in resource allocators ( #3962 )
...
...to handle hash collisions gracefully.
2021-10-11 15:28:03 +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
ref-ptr
d7181c8dc2
Add api to copy texture to cpu memory ( #3710 )
2021-07-15 10:26:50 +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
江战
d79a586393
3.3 sevalue to native validation ( #3560 )
2021-06-03 18:02:53 +08:00
Yun Hsiao Wu
1ebe420662
structure adjustments ( #3532 )
2021-06-02 09:39:13 +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
8034bd59d8
[chore] gfx layer adjustments ( #3323 )
...
* [chore] move common routines to gfx base
* [chore] remove device pointer inside every gfx resources
* [chore] file structure
* gfx: empty backend
* [chore] device creator abstraction
2021-03-19 16:24:43 +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
Yun Hsiao Wu
f1d96c6d9c
compute shader: Vulkan
2021-01-13 17:54:32 +08:00
Yun Hsiao Wu
4c7119c9b4
interface adjust
2021-01-11 17:12:44 +08:00
Yun Hsiao Wu
fc034ea606
performance test works
2021-01-11 17:12:40 +08:00
Yun Hsiao Wu
9d3d6647dd
merge latest device layer ( #3145 )
2020-12-28 17:23:16 +08:00
江战
37e7d729e8
[3.0] export bindDescriptorSetForJS to JS ( #3123 )
2020-12-17 19:03:23 +08:00
江战
1892c43901
[3d-gfx] JSB convert types with template functions ( #3100 )
2020-12-09 16:35:51 +08:00
minggo
600c467a75
fix memory leak ( #3037 )
2020-11-18 09:52:36 +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
Yun Hsiao Wu
c10fb33a1f
vk: pre-rotation on android ( #2940 )
2020-10-24 14:20:59 +08:00
Yun Hsiao Wu
fb791ad01b
discrete descriptor set layout bindings ( #2920 )
2020-10-20 15:06:57 +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
minggo
822cca2112
Sync SamplerInfo definition & use default values ( #2901 )
2020-10-14 09:42:05 +08:00
minggo
d96a745c7e
auto bind BindingMappingInfo
2020-10-13 10:38:31 +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
Yun Hsiao Wu
c6103495d0
misc fixes ( #2801 )
...
* misc fixes
* fix GLES update buffer
* pipeline sync
* fix copyBuffersToTexture
* minor
2020-09-18 18:23:21 +08:00
coulsonwang
7851017bab
fix pso hash ( #2764 )
2020-09-09 18:20:43 +08:00
Yun Hsiao Wu
b5cb10f5c8
bindless textures ( #2723 )
...
* bindless textures
* fix buffer views as descriptors
* gpuPSO/gpuIA reuse
* update GFXColor
2020-09-04 16:15:15 +08:00
Yun Hsiao Wu
ca23166ebf
remove GFXStatus ( #2719 )
2020-08-25 14:34:37 +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
694e70aef2
do not bind Device::getInstance() ( #2665 )
2020-07-31 17:36:10 +08:00
Yun Hsiao Wu
ea3be6000f
vk: async submission ( #2647 )
2020-07-17 13:55:42 +08:00
Yun Hsiao Wu
db2023c34f
remove device.reverseCW ( #2638 )
2020-07-09 15:49:44 +08:00
Yun Hsiao Wu
859bdd3c03
flip Y if drawing to render targets ( #2637 )
2020-07-09 10:11:17 +08:00
coulsonwang
fa98819205
fix gfx.ini ( #2627 )
...
* fix gfx.ini
* clear status
* add debug info
2020-07-07 08:59:33 +08:00
Yun Hsiao Wu
178375c31d
remove clearflags in begin render pass cmd ( #2628 )
...
* remove clearflags in begin render pass cmd
* fix clearFlags on metal
Co-authored-by: coulsonwang <coulsonwang@126.com >
2020-07-07 08:58:54 +08:00
Yun Hsiao Wu
d3d13424f6
vk: refactor PipelineLayout/BindingLayout/CommandPool/CommandBuffer ( #2610 )
...
* vk: refactor PipelineLayout/BindingLayout
* vk: update descriptors without template fallback
* vk: refactor CommandAllocator/CommandBuffer
2020-06-24 15:16:41 +08:00