ocornut
f890d85381
Backends: Fixed typo in comments from old wip work 'io.BackendRendererRenderState' -> 'platform_io.Renderer_RenderState'. ( #6969 , #5834 , #7468 , #3590
Amend e94f95d
1 month ago
ocornut
42206b3d51
Backends: DX9, DX10, DX11, DX12, OpenGL, Vulkan, WGPU: Changed default texture sampler to Clamp instead of Repeat/Wrap. ( #7468 , #7511 , #5999 , #5502 )
1 month ago
ocornut
e94f95d82b
Backends: DX11, DX12, Vulkan, WGPU: Expose some backend-specific render state usable for callbacks. ( #6969 , #5834 , #7468 , #3590 )
1 month ago
ocornut
9bd5d8a240
Backends: misc renaming of locals. Use 'draw_list' instead of 'cmd_list'. Avoid using 'ctx'.
This is likely to trigger merging issues. If it does, best to always get "theirs" and rename in there.
1 month ago
Mark Sibly
7f81fbc542
Backends: WGPU: Fix new WGPUStringView breaks shader compilation. ( #8009 , #8010 )
2 months ago
Aaron C Gaudette
1ac162f2b0
Backends: WGPU: add IMGUI_IMPL_WEBGPU_BACKEND_DAWN/IMGUI_IMPL_WEBGPU_BACKEND_WGPU to support more targets. ( #7977 , #7969 , #6602 , #6188 , #7523 )
2 months ago
ocornut
5e23680454
Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. ( #7568 )
6 months ago
ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
7 months ago
rajveermalviya
9266c0d2d1
Backends: WebGPU: Avoid leaking pipeline layout. ( #7245 )
10 months ago
ocornut
5fc0a361b2
Backends: WebGPU: added ImGui_ImplWGPU_InitInfo::PipelineMultisampleState. ( #7240 )
10 months ago
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 )
10 months ago
ocornut
03417cc77d
Backends: WebGPU: Filling all WGPUDepthStencilState fields explicitly as a recent Dawn update stopped setting default values. ( #7232 )
10 months ago
Axel Paris
e8dd47effa
Backends: WebGPU: Fixing an issue when opening a popup in the wgpu backend ( #7191 )
Amend 2b0bd40b9
10 months ago
ocornut
ab522dd18c
Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. ( #4537 )
1 year ago
ocornut
357f752bed
Docs: add more links to the top of every examples and backends files.
1 year ago
williamhCode
3dc3aef8a4
Backends: WebGPU: fix webgpu changes for Dawn. ( #6602 , #6188 )
1 year ago
ocornut
33e13c85e1
Backends: Made all backends sources files support global IMGUI_DISABLE. ( #6601 )
1 year ago
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.
2 years ago
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.
2 years ago
Elie Michel
e67f2f4791
Backends: WebGPU: Align buffer sizes upon creation. ( #6188 )
Amend from original pr to use a macro.
2 years ago
ocornut
cbdac1e150
Backends: WebGPU: Reorganized to store data in io.BackendRendererUserData like other backends.
In theory supporting multiple contexts (untested).
2 years ago
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.
2 years ago
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 )
2 years ago
kdchambers
233d7ad3f2
Backends: WebGPU: fixed validation error with default depth buffer settings. ( #5869 , #5914 )
(initialize WGPUCompareFunction params to valid values)
2 years ago
Peter Nimmervoll
00b6370848
Backends: WebGPU: fixed rendering when a depth buffer is enabled. ( #5869 )
2 years ago
ocornut
c54230d14e
Backends: Using nullptr instead of NULL. ( #5760 , #4537 ) + fix additional warnings.
2 years ago
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)
2 years ago
ocornut
f7f30476d5
Added comments about requirement for bilinear filtering. ( #5156 , #3245 ) + Backends: SDL_Renderer: Explicitely call SDL_SetTextureScaleMode(). ( #4927 )
3 years ago
Théo Monnom
0818a42396
Backend: WebGPU: Fixed incorrect size parameters in WGPU backend ( #4891 )
+ squash SDL alignment bits.
3 years ago
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
3 years ago
ocornut
5ccb66794b
Backends: WebGPU: Passing explicit buffer sizes as validation layers appears to not do what the in-flux specs says. ( #4766
3 years ago
Basil Fierz
30a6873a44
Backends: WebGPU: Fix missing initialization of local variable ( #4634 )
3 years ago
Basil Fierz
25332fa5ac
Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 ( #4512 )
3 years ago
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.
3 years ago
Corentin Wallez
e652527313
Backends: WebGPU: Update impl_wgpu for an emscripten change
3 years ago
ocornut
838c16533d
Backends: Comments.
3 years ago
Vladimir Davidovich
142c866bd9
Backends: WebGPU: Support draw_data->FramebufferScale ( #4163 )
4 years ago
ocornut
4181ccceea
Backends: WebGPU: Fix build, amend 3c72e51
. ( #3761 )
4 years ago
thedmd
3c72e5142b
Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. ( #3761 )
4 years ago
Basil Fierz
83bdfef8e0
Backends: WGPU: update to latest specs. ( #4116 , #3632 )
Merged 13 commits.
4 years ago
ocornut
8dd692c29c
Android: Amend backend and examples with minor consistency tweaks. ( #3446 )
4 years ago
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)
4 years ago
ocornut
58a0a7058c
Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually.
4 years ago
Basil Fierz
82a9b599ab
Backend: webgpu: Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 ( #3632 , #3770 )
4 years ago
ocornut
dff0044d4e
Backends, Examples: Added support for WebGPU and corresponding example. Amend 5853fbd
( #3632 )
4 years ago
Basil Fierz
5853fbd68b
Backends, Examples: Added support for WebGPU and corresponding example ( #3632 )
(Squashed 11 commits)
4 years ago