-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add glfw wgpu desktop and multiviewport support #7132
Closed
+1,620
−522
Closed
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
6fda112
Create WGPU structure for multiviewports
Zelif e7b5f87
Adding Multiviewport to WGPU
Zelif e5cf10b
Update imgui_impl_wgpu.cpp
Zelif 62cfa98
Update imgui_impl_wgpu.cpp
Zelif fff4391
Add Cmake files
Zelif ad666db
Update example_emscripten_wgpu demo
Zelif b271eff
Update CMakeLists.txt
Zelif 82d92aa
Fix memory leak when rendering window
Zelif e92aa28
Fix memory leak in render function
Zelif c770f20
Merge branch 'docking' into Add-glfw-wgpu-example
Zelif 3de52f8
Update index.html
Zelif 44c7dfc
Menus, Popup: Amend c3f8f4d for static analyzer warning ("condition a…
ocornut 0573513
Windows: Scrollbar visibility decision uses current size when both si…
ocornut c623669
Added link to crawlable wiki
ocornut 04f4001
Docs: added a mini wiki index in main source files.
ocornut 1ff90c5
ImDrawList: add PathFillConcave(), AddConcavePolyFilled() (#760)
thedmd fbf45ad
ImDrawList: add PathFillConcave(), AddConcavePolyFilled(): amends (#760)
ocornut 6b7358e
InputText: adding clarifying note about ImGuiInputTextCallbackData::B…
ocornut 65dc67f
Windows: Double-click to collapse may be disabled via key-ownership m…
ocornut fd75685
Merge branch 'master' into docking
ocornut fc570ac
Examples: WGPU: fixed initialization of WGPURenderPassColorAttachment…
kevle 286cd5b
Internals, InputText: removed ImGuiInputSource_Clipboard. (#4005)
ocornut 3c435c0
Inputs: (Breaking) More formally obsoleted GetKeyIndex() when IMGUI_D…
ocornut da29b77
Backends: SDL3: Fix leak of SDL_GetGamepads() return value (#7381)
edmonds 9d9ca37
Docking: Fix C++26 zealous warnings (#7383, #7089)
ocornut adcc321
Revert "Docking: Fix C++26 zealous warnings (#7383, #7089)" + Disable…
ocornut 40df3db
Tweaking terminology
ocornut 0a1f5b9
Demo: Two minor fixes (unchecked BeginTooltip + incorrect height cons…
cfillion 868facf
ImDrawList: (Breaking) merge float radius_x/radius_y parameters into …
cfillion 085781f
Merge branch 'master' into docking
ocornut 8be48a4
Backends: WebGPU: Avoid using -1u literal (#7436)
eliemichel 38ddfb2
Tables: Angled headers: fixed border hit box extending beyond non-scr…
cfillion 29ff159
Tables: Angled headers: fixed borders not moving back up after TableA…
cfillion f080228
Tables: Angled headers: fixed table contents overflowing when a list …
cfillion cf4c10b
Style: added ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TableAngledHe…
cfillion 5c5ae80
Comments
ocornut 37b37fc
DrawList: Allow AddText() to accept null ranges. (#3615, 7391)
ocornut 976dc23
Windows: extend outer resize borders to the edges when there are no c…
cfillion 515b437
Child windows: look at the parent window's flags to decide whether to…
cfillion 742e534
Child Windows: adjust resizing limits to match window padding rather …
ocornut 9638c28
Internals: adding ImGuiNavMoveFlags_NoClearActiveId even though there…
ocornut 25a492f
ProgressBar: Fixed passing fraction==NaN from leading to a crash. (#7…
ocornut d3c3514
Tables: Fixed auto-width columns when using synced-instances of same …
ocornut 9a2b598
ListBox: Fixed text-baseline offset when using SameLine()+Text() afte…
ocornut 0bf134a
Refactor moving ID stack functions to their own section.
ocornut f959c41
Refactor moving ID stack functions to their own section (part 2)
ocornut e7712ff
Out of courtesy/consistency move all the DebugHookIdInfo compares int…
ocornut 4f9ba19
Drags, Sliders, Inputs: Reactivated decimal point replacement for Sli…
GamingMinds-DanielC 231cbee
Version 1.90.5
ocornut 1db579d
Merge branch 'master' into docking
ocornut f790d51
Silent zealous/stupid warning introduced by Clang 16 (shipping with V…
ocornut 76bc1b8
Extracted part of NewFrame() into SetupDrawListSharedData() for docum…
ocornut 3caa79c
Version 1.90.6 WIP
ocornut c1743ee
Docking: when io.ConfigDockingWithShift is enabled, fixed help toolti…
ocornut dad1689
Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED.
ocornut fab96a6
Backends: SDL3: Re-enable calling SDL_StartTextInput()/SDL_StopTextIn…
Green-Sky daecfff
Text, DrawList: Improved handling of long single-line wrapped text. (…
ocornut b475309
Fonts: Fixed font ascent and descent calculation when a font hits exa…
GamingMinds-DanielC f9df6bf
Examples: GLFW+WebGPU: added support for WebGPU-native/Dawn (#7435, #…
eliasdaler 80a5fdb
Examples: GLFW+WebGPU: Fixed condition for when to recreate swapchain…
JulesFouchy 648278c
Examples: GLFW+WebGPU: Amends. (#7435, #7132)
ocornut 7b8107e
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glf…
ocornut 4cb0fe3
Merge branch 'master' into docking
ocornut 9ec299e
Backends: OpenGL: Detect ES3 contexts on desktop based on version str…
ocornut eba46cb
Drag and Drop: assert when nesting BeginDragDropSource() and BeginDr…
ocornut 361432a
TreeNode: fixed layout so that TreeNode("") or TreeNode("##HiddenLabe…
ocornut fa0120e
Windows: Fixed subsequent Begin() append calls from setting last item…
ocornut b555984
Merge branch 'master' into docking
ocornut 07e8ff9
Backends: Win32: Fixed a warning + moved header cruft below Changelog.
ocornut b720c0f
Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_V…
ocornut da18fcb
Internals: ensure ButtonBehavior() is called with non 0 id.
ocornut baaaaea
Demo: tweak TreeNode demo.
ocornut b8a44b1
TreeNode: added ImGuiTreeNodeFlags_SpanTextWidth. (#6937)
dimateos c895e98
ProgressBar: added indeterminate mode by passing an animated negative…
gan74 913151c
Demo: move progress bars to their own section.
ocornut a60387a
Backends: GLFW: Add define guards for glfw native defines. (#7536)
fknfilewalker 6ef4f67
ImDrawList: moved cold fields lower in the structure so hot fields ar…
ocornut 50b2ff0
ImGuiIO: moved IMGUI_DISABLE_OBSOLETE_KEYIO block lower in the struct…
ocornut 5717f0a
Merge branch 'master' into docking
ocornut 558c57a
Fixed static analyzer warning "Pointer to local array 'overlay_buf' i…
ocornut 9d6818d
Docking: comments, clairfy why we store style override on dragged win…
ocornut 49e70e6
Backends: Vulkan: Stripped misleading leftover of ImGui_ImplVulkanH_W…
ocornut ebb8d78
Backends: Vulkan: Create a custom pipeline for secondary viewports. (…
skaman b30df88
Table: Angled Headers: internal refactor to facilitate changing angle…
ocornut 4bb7567
Tables: Angled headers: fixed multi-line label display when angle is …
ocornut fc4d818
Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyle…
thedmd 6ebbecc
Realign assignments.
ocornut 0c9c12c
InnerClipRect use ImFloor() matching docking branch (fix c41868531 fo…
ocornut 0b30947
Windows: Changed default ClipRect to extend to windows' left and righ…
ocornut 2f2d507
Merge branch 'master' into docking
ocornut f5d1852
Viewports: fixed outer-right edge of MenuBar clipping rectangle off b…
cfillion 9a7f1b1
Added MultiViewport WebGPU
Zelif 8d08e0b
Updated wgpu example for multiviewport
Zelif ecdae77
Add Cmake files
Zelif 6cd66dd
Update example_emscripten_wgpu demo
Zelif ec89c07
Update CMakeLists.txt
Zelif a3abb1f
Fix memory leak in render function
Zelif 80d21d0
Update index.html
Zelif 69730ea
Removed old Files
Zelif 8ff415b
Merge branch 'Add-glfw-wgpu-example' of https://github.com/Zelif/imgu…
Zelif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update CMakeLists.txt
Removed hardcoded dawn location
commit b271eff96065699c91de653d29717601db83d26e
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would probably be better to allow users to set DAWN_DIR variable and use that instead so that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was unsure the best approach to handle this, might need to account for wgpu-native as well (which I had not)