ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
ago%!(EXTRA string=1 year)
rajveermalviya
9266c0d2d1
Backends: WebGPU: Avoid leaking pipeline layout. ( #7245 )
ago%!(EXTRA string=1 year)
ocornut
5fc0a361b2
Backends: WebGPU: added ImGui_ImplWGPU_InitInfo::PipelineMultisampleState. ( #7240 )
ago%!(EXTRA string=1 year)
ocornut
831d42c1ab
Backends: WebGPU: ImGui_ImplWGPU_Init() now takes a ImGui_ImplWGPU_InitInfo structure instead of variety of parameters, allowing for easier further changes. ( #7240 )
ago%!(EXTRA string=1 year)
ocornut
03417cc77d
Backends: WebGPU: Filling all WGPUDepthStencilState fields explicitly as a recent Dawn update stopped setting default values. ( #7232 )
ago%!(EXTRA string=1 year)
Axel Paris
e8dd47effa
Backends: WebGPU: Fixing an issue when opening a popup in the wgpu backend ( #7191 )
...
Amend 2b0bd40b9
ago%!(EXTRA string=1 year)
ocornut
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. ( #4537 )
ago%!(EXTRA string=1 year)
ocornut
357f752bed
Docs: add more links to the top of every examples and backends files.
ago%!(EXTRA string=2 years)
ocornut
1161301386
Backends: amend "Missing features" sections for multi-viewports support.
ago%!(EXTRA string=2 years)
williamhCode
3dc3aef8a4
Backends: WebGPU: fix webgpu changes for Dawn. ( #6602 , #6188 )
ago%!(EXTRA string=2 years)
ocornut
33e13c85e1
Backends: Made all backends sources files support global IMGUI_DISABLE. ( #6601 )
ago%!(EXTRA string=2 years)
Gereon V
055e71518e
Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. ( #6334 , #6335 )
...
Amended with fix for missing clear for ImGuiBackendFlags_HasGamepad.
ago%!(EXTRA string=2 years)
Elie Michel
d81f2ae4fb
Backends: WebGPU: Use WGSL shaders instead of precompiled SPIR-V + add Gamma uniform. ( #6188 )
...
Add gamma correction uniform
Group uniforms in a single binding
The second binding was not satisfying the minimum
BufferBindingType::Uniform alignment (256) and since this alignment is
large it is more idiomatic to group uniforms tegether.
Also ensures that the size of the uniform buffer is aligned to 16 bytes.
ago%!(EXTRA string=2 years)
Elie Michel
e67f2f4791
Backends: WebGPU: Align buffer sizes upon creation. ( #6188 )
...
Amend from original pr to use a macro.
ago%!(EXTRA string=2 years)
ocornut
cbdac1e150
Backends: WebGPU: Reorganized to store data in io.BackendRendererUserData like other backends.
...
In theory supporting multiple contexts (untested).
ago%!(EXTRA string=2 years)
ocornut
e816bc6723
Merge misc changes from docking branch to reduce small drift.
...
In particular:
- imgui.cpp : move UpdateInputEvents() higher in NewFrame() to match docking + update RenderMouseCursor() to match.
- imgui_draw.cpp: ImDrawList::_ResetForNewFrame() change from c807192ab
- Backends: SDL2. Add MouseWindowID + change SDL_CaptureMouse() test to match docking branch. Not strictly necessary but aimed at reducing drift because we go on and fork this file.
+ moved responsability of checking valid names to TabBarGetTabName() to simplify both branches.
ago%!(EXTRA string=2 years)
Basil Fierz
d73e3285de
Backends: WebGU: Revert the implicit render pipeline layout generation as introduced in 83bdfef
( #6117 , #4116 , #3632 )
...
The feature was removed from WebGPU (https://github.com/gpuweb/gpuweb/issues/2470 )
ago%!(EXTRA string=2 years)
kdchambers
233d7ad3f2
Backends: WebGPU: fixed validation error with default depth buffer settings. ( #5869 , #5914 )
...
(initialize WGPUCompareFunction params to valid values)
ago%!(EXTRA string=2 years)
Peter Nimmervoll
00b6370848
Backends: WebGPU: fixed rendering when a depth buffer is enabled. ( #5869 )
ago%!(EXTRA string=3 years)
ocornut
c54230d14e
Backends: Using nullptr instead of NULL. ( #5760 , #4537 ) + fix additional warnings.
ago%!(EXTRA string=3 years)
ocornut
7a9045dd77
Backends: WGPU: removed Emscripten version check (currently failing on CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays)
ago%!(EXTRA string=3 years)
ocornut
d666a1d473
Backends: OSX, Metal: Amend d111133, tidying up, remove unused, misc tweaks. . ( #4821 , #2778 )
ago%!(EXTRA string=3 years)
ocornut
f7f30476d5
Added comments about requirement for bilinear filtering. ( #5156 , #3245 ) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). ( #4927 )
ago%!(EXTRA string=3 years)
Théo Monnom
0818a42396
Backend: WebGPU: Fixed incorrect size parameters in WGPU backend ( #4891 )
...
+ squash SDL alignment bits.
ago%!(EXTRA string=3 years)
ocornut
440824d431
Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). ( #4775 , #4464 )
...
Amend/fix 2b0bd40b
ago%!(EXTRA string=3 years)
ocornut
5ccb66794b
Backends: WebGPU: Passing explicit buffer sizes as validation layers appears to not do what the in-flux specs says. ( #4766
ago%!(EXTRA string=3 years)
Basil Fierz
30a6873a44
Backends: WebGPU: Fix missing initialization of local variable ( #4634 )
ago%!(EXTRA string=4 years)
Basil Fierz
25332fa5ac
Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 ( #4512 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
2b0bd40b99
Backends: Metal: Fixed a crash when clipping rect larger than framebuffer is submitted. ( #4464 )
...
Backends: Normalize clipping rect handling across backends.
+ Squashed amends.
ago%!(EXTRA string=4 years)
Corentin Wallez
e652527313
Backends: WebGPU: Update impl_wgpu for an emscripten change
ago%!(EXTRA string=4 years)
ocornut
838c16533d
Backends: Comments.
ago%!(EXTRA string=4 years)
Vladimir Davidovich
142c866bd9
Backends: WebGPU: Support draw_data->FramebufferScale ( #4163 )
ago%!(EXTRA string=4 years)
ocornut
4181ccceea
Backends: WebGPU: Fix build, amend 3c72e51
. ( #3761 )
ago%!(EXTRA string=4 years)
thedmd
3c72e5142b
Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. ( #3761 )
ago%!(EXTRA string=4 years)
Basil Fierz
83bdfef8e0
Backends: WGPU: update to latest specs. ( #4116 , #3632 )
...
Merged 13 commits.
ago%!(EXTRA string=4 years)
ocornut
8dd692c29c
Android: Amend backend and examples with minor consistency tweaks. ( #3446 )
ago%!(EXTRA string=4 years)
ocornut
bda12e5fdd
Backends: Rework blending equation to preserve alpha in output buffer accross all backends. ( #2693 , #2764 , #2766 , #2873 , #3447 , #3813 , #3816 )
...
Some of the viewport ideas from #2766 are not in there yet (e.g. Vulkan: setting compositeAlpha based on cap.supportedCompositeAlpha)
ago%!(EXTRA string=4 years)
ocornut
58a0a7058c
Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually.
ago%!(EXTRA string=4 years)
Basil Fierz
82a9b599ab
Backend: webgpu: Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 ( #3632 , #3770 )
ago%!(EXTRA string=4 years)
ocornut
dff0044d4e
Backends, Examples: Added support for WebGPU and corresponding example. Amend 5853fbd
( #3632 )
ago%!(EXTRA string=4 years)
Basil Fierz
5853fbd68b
Backends, Examples: Added support for WebGPU and corresponding example ( #3632 )
...
(Squashed 11 commits)
ago%!(EXTRA string=4 years)