ocornut
c3c90b49e0
Examples: SDL3+OpenGL: Update for API changes: SDL_GL_DeleteContext() renamed to SDL_GL_DestroyContext().
4 months ago
Yan Pujante
2937339c17
Backends: GLFW+Emscripten: Added support for GLFW3 contrib port. ( #7647 )
4 months ago
Yan Pujante
6816789a6b
Backends: GLFW+Emscripten: (Breaking) Renamed ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback() to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), added GLFWwindow* parameter. ( #7647 , #7600 )
+ Fixed Emscripten warning when using mouse wheel on some setups.
4 months ago
ocornut
a489585f84
Backends: SDL3: Updated comments (IME seems fixed in SDL3). Added SDL3 examples to Visual Studio solution.
4 months ago
ocornut
67216910fb
Examples: SDL3: Remove use of SDL_HINT_IME_NATIVE_UI.
4 months ago
ocornut
22b36bef9e
Examples: undo adding SDL3 example to Visual Studio sln.
4 months ago
ocornut
7c2476986b
Backends: SDL3: Update for SDL_StartTextInput()/SDL_StopTextInput() API changes. ( #7735 )
4 months ago
Martin Ejdestig
a18fb406ac
Backends: Vulkan: Remove Volk/ from volk.h #include directives ( #7722 , #6582 , #4854 )
5 months ago
ocornut
7538ca6f40
Examples: SDL+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
5 months ago
ocornut
a47bfb1b5b
Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
5 months ago
Kenneth Rapp
219c6adc58
Examples: SDL3+SDLRenderer3: Update SDL_SetRenderDrawColorFloat() call. ( #7658 )
5 months ago
Cyao
538960bf17
Examples: Fixed SDL3 Makefile ( #7641 )
5 months ago
ocornut
ec1d2be96f
Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. ( #2496 , #3907 , #6308 , #7615 )
6 months ago
Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
6 months ago
ocornut
93daf23223
Examples: SDL3: updates for latest SDL3 API changes.
6 months ago
ocornut
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
6 months ago
ocornut
b720c0f541
Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. ( #6582 , #4854 )
7 months ago
ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
7 months ago
ocornut
648278cd62
Examples: GLFW+WebGPU: Amends. ( #7435 , #7132 )
7 months ago
Jules Fouchy
80a5fdb108
Examples: GLFW+WebGPU: Fixed condition for when to recreate swapchain. ( #7435 , #7132 )
7 months ago
Elias Daler
f9df6bf662
Examples: GLFW+WebGPU: added support for WebGPU-native/Dawn ( #7435 , #7132 )
8 months ago
ocornut
dad1689bf7
Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED.
7 months ago
Kevin Leonardic
fc570ac922
Examples: WGPU: fixed initialization of WGPURenderPassColorAttachment ( #7371 )
8 months ago
Shawn Hatori
f80e65a406
Backends:,Examples: Vulkan: moved RenderPass parameter from ImGui_ImplVulkan_Init() function to ImGui_ImplVulkan_InitInfo structure. ( #7308 )
9 months ago
Tom Seddon
3cc37170ca
Examples: GLFW+Metal: Add -I and -L paths for MacPorts.
9 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
e3c7ff944d
Examples: Emscripten+WebGPU: slightly refactor like other Emscripten compatible Desktop examples, as aiming to make this suppot desktop eventually.
Also aimed at reducing diff for https://github.com/ocornut/imgui/pull/7132 tho this will lead in conflict.
10 months ago
Michał Cichoń
788747f863
Examples: Emscripten+WebGPU: Remove use of deprecated ObjectBase<...>::Release in favor of ::MoveToCHandle ( #7251 )
10 months ago
ocornut
5ddfbb80d8
Backends: Vulkan: Fixed vkAcquireNextImageKHR() validation errors in VulkanSDK 1.3.275 by allocating one extra semaphore than in-flight frames. ( #7236 )
10 months ago
ocornut
2f48337335
Examples: Vulkan: Rename compile-time defies for the examples to remove misleading IMGUI_ prefixes.
10 months ago
ocornut
af00b182e3
Examples: SDL3: Minor fixes following changes to API (SDL_WindowFlags -> Uint32).
"The SDL_WindowFlags enum should be replaced with Uint32"
10 months ago
ocornut
3cb805489b
Backends: GLFW, Emscripten: fixes for canvas resizing, amends. ( #6751 )
Amend 22a7d24
11 months ago
Pello Rao
22a7d241ff
Backends: GLFW, Emscripten: fixes for canvas resizing. ( #6751 )
11 months ago
ocornut
55073aa7a3
Examples; SDL: added missing return values checks from SDL_CreateWindow() calls. ( #7147 )
11 months ago
ocornut
c6ec69c7c1
Using nullptr in remaining examples/backends locations. ( #6313 , #7071 , #4537 )
11 months ago
Chris Gregory
1f3090a48d
Backends: SDL3: Fix indent ( #7062 )
11 months ago
ocornut
79a9e2fdfb
Backends: Vulkan: (Breaking) full font upload is performed by ImGui_ImplVulkan_CreateFontsTexture(), no need for user code to create or provide a command-buffer. Removed ImGui_ImplVulkan_DestroyFontUploadObjects(). ( #6943 , #6715 , #6327 , #3743 , #4618 )
See changes in example_glfw_vulkan/main.cpp and example_sdl2_vulkan/main.cpp for reference.
1 year ago
ocornut
6e7b43b6c7
Backends: Vulkan: Added ImGui_ImplVulkan_DestroyFontsTexture(), made ImGui_ImplVulkan_CreateFontsTexture() destroy previous one. ( #6943 , #6715 , #6327 , #3743 , #4618 )
1 year ago
ocornut
357f752bed
Docs: add more links to the top of every examples and backends files.
1 year ago
wushiyang
981abb4612
Examples: Emscripten+webgpu: Fixed WGPUInstance creation process + use preferred framebuffer format. ( #6640 , #6748 )
1 year ago
Sascha Willems
fa2f1bfbb0
Examples: Vulkan: Fixed Vulkan descriptor pools. ( #6642 )
Only use required no. of types and sets
1 year ago
ocornut
3cc9d2051a
Examples: Win32+OpenGL3: Fixed not calling DefWindowProcW() as with other Win32 examples. ( #6516 , #5725 , #5961 , #5975 )
Amend fe0a24f
1 year ago
ocornut
b476184574
Backends: SDLRenderer3: Amend/finish SDL_Renderer3 patch + add example. ( #6286 )
1 year ago
ocornut
b709b02e96
Backends: SDL_Renderer2: renamed all functions accordingly. ( #6286 )
1 year ago
ocornut
88e7d773df
Backends: SDL_Renderer2: Renamed 'imgui_impl_sdlrenderer.h/cpp' to 'imgui_impl_sdlrenderer2.h/cpp' ( #6286 )
1 year ago
ocornut
216ae7db52
Examples: SDL3: Added clues that Emscripten doesn't support SDL3 yet. ( #6386 )
1 year ago
ocornut
c8579abb43
Examples: DX9: Fix WM_SIZE handling bug introduced in 031e152d2
. ( #6374 )
1 year ago
ocornut
430c05991c
Docs: added more detailed information about UTF-8 encoding.
+ Revert mistakenly committed Win32+DX11 main.cpp from last commit.
2 years ago
ocornut
513af1efc9
Examples: Updated all Visual Studio project file to use /utf-8 option, so string literals are UTF-8 encoded by default.
(Not to misake with "Character Set" "Use Unicode Character Set" "Use Multi-Byte Character Set" which is a VS/Windows SDK thing but not a compiler-encoding thing.)
2 years ago
ocornut
031e152d29
Examples: DX9, DX10, DX11: Queue framebuffer resize instead of processing in WM_SIZE. ( #6374 )
2 years ago