1029 Commits (764f9e606d106591072a8e5a79d4e801c4c699fb)

Author SHA1 Message Date
liam ad3f54ff1a Examples: Emscripten comments (#4650, #4662), standardize readme 3 years ago
ocornut fba756176d Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926) 3 years ago
Sylvain 62b17f928e Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926)
(Squashed 20 commits)
3 years ago
ocornut 11103f8253 Examples: SDL+OpenGL3: fixed build on ES2 target. (#4492) 3 years ago
ocornut 6afe9bbb45 Projects: added GLFW Vulkan to default solution. 3 years ago
ocornut d2ffbd9b86 Version 1.84
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
3 years ago
ocornut e3988a84db Backends: OpenGL3: Embed our own minimal GL loader (amends). (#4445) 3 years ago
Rokas Kupstys 459de65477 Backends: OpenGL3: Embed our own minimal GL loader based on gl3w and use it in SDL/GLFW examples. (#4445)
Loader repository at https://github.com/dearimgui/gl3w_stripped
Removed support for using custom loaders in examples/opengl3 backend
3 years ago
ocornut f24abbc47d Fix various warnings (#4442) 3 years ago
David Maas 923bd2fd21 Examples: DirectX12: Fixed Alt+Enter fullscreen in DirectX12 example. (#4346, #4348)
This also removes unnecessary recreation of backend-owned device objects when the window is resized.
+ amend original PR with a g_pSwapChain->SetFullscreenState(false, NULL); call.
3 years ago
Giovanni Funchal 6792e1a3e0 Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. (#3244) 3 years ago
rokups 88f4c1321a Examples: Bring code of example_apple_metal and example_apple_opengl2 closer to each other. (#1873, #3543) 3 years ago
rokups 30224fdde0 Examples: example_apple_opengl2: Fix keys remaining stuck in pressed state when using shortcuts with CMD. (#4253)
Fix follows event capture scheme of example_apple_metal, where this issue is not present.
3 years ago
ocornut 020d1ced1d Examples: SDL2: Accomodate for vcpkg install having headers in SDL2/SDL.h vs SDL.h + vcpkg related comments. 3 years ago
ocornut 7fc144edde Examples: update all VS project files to VS2015. Update DX12 project Windows SDK to latest. 3 years ago
Basil Fierz 83bdfef8e0 Backends: WGPU: update to latest specs. (#4116, #3632)
Merged 13 commits.
3 years ago
ITotalJustice ea9122b0ac
Examples: add backends include path in readmes. (#4106) 3 years ago
duddel 05a20ca738 Examples: Android: Make Android build compatible with Gradle 7.0. (#3446) 4 years ago
ocornut b957300260 Documentation tweaks (#4042) 4 years ago
Rokas Kupstys bcdc8bcc4b Examples: Vulkan: Update GPU selection to pick discrete GPU if available, or use first GPU otherwise. (#4012)
Fixes examples failing on optimus laptops with integrated graphics not supporting Vulkan.
4 years ago
Peter Kristensen 5f45047fb6 Update example makefiles to check the new homebrew paths (#4003)
Homebrew on Apple Silicon (i.e. Macbook Air/Pro M1) use `/opt/homebrew` instead of /usr/local.
4 years ago
ocornut 2403ed92a3 Added build/ to gitignore (#3027), Examples: SDL2: Link with shell32.lib required by SDL2main.lib since SDL 2.0.12. [#3988, #3884] + added batch file for SDL+Vulkan. 4 years ago
Nikolai Wuttke c6c15a44fa Examples: Add OpenGL ES 2.0 support to modern GL examples. (#2837, #3951) 4 years ago
ocornut 6f360d6040 Examples: Win32: using a more explicit loop for PeekMessage polling to make the code easier to copy and paste and less error-prone. 4 years ago
ocornut 6e4770ea5c Examples: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881)
Ref https://vulkan-tutorial.com/Drawing_a_triangle/Swap_chain_recreation#page_Suboptimal-or-out-of-date-swap-chain
4 years ago
ocornut fdc2324d9a Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis' 4 years ago
ocornut 8dd692c29c Android: Amend backend and examples with minor consistency tweaks. (#3446) 4 years ago
duddel fb85c0341b
Add Android backend and example (#3446) 4 years ago
Xiliusha eb57484935 Backends: DX9: add missing IMGUI_USE_BGRA_PACKED_COLOR support. Remove dinput.h headers. (#3844) 4 years ago
Rokas Kupstys 3f5bb5939a Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. (#2590) 4 years ago
ocornut 9b32f7bf2d Fix example_null Makefile for Mingw (#2590) 4 years ago
ocornut 6a161b8789 Examples: Reworked setup of clear color to be compatible with transparent values. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) 4 years ago
ocornut 647a308ad3 Backends: GLFW: Add ImGui_ImplGlfw_InitForOther() instead of ImGui_ImplGlfw_InitForWebGPU() so it can be used for e.g. DX11. (#3632)
Amend dff0044
4 years ago
ocornut b898281e3c Demo: Added 'Examples->Fullscreen Window' demo. (#3789) + repack and zero-clear ImDrawData. 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
ocornut feaa7ea003 Examples: Emscripten: Amend ba636c5. (#3705) 4 years ago
Horki 0f14dd9781 Examples: Emscripten: Add 'make serve' helper, move output to web/ folder. (#3705) 4 years ago
ocornut 7d5d5711c2 Backends: OpenGL2, OpenGL3: Backup and restore GL_SHADE_MODAL, GL_STENCIL_TEST, clear GL_NORMAL_ARRAY. Comments., (#3671, #3668) 4 years ago
ocornut 8ec5daf35d Happy new year! 4 years ago
ocornut 3346544cf5 Examples: Fix batch files (amend b1a18d82, #3513), standardize them + DirectX12: Move ImGui::Render() call above the first barrier to clarify its lack of effect on the graphics pipe. 4 years ago
omar 9c8671e7b0 Tables: Add empty file, skeleton. 4 years ago
ocornut d20f2bc90a Rename example_emscripten/ to example_emscripten_opengl3/ (#3632) 4 years ago
Rokas Kupstys a3f79104df Examples: Apple+Metal: Forward events to OS key combinations like CMD+Q can work. (#3554) 4 years ago
ocornut 5f97809cab Misc tidying up (zero-clear structures, more unused default in ClipRetFullscreen, NavApplyItemToResult() coding style fix)
Zero-clearing more structures
Remove arbitrary default ClipRetFullscreen value in ImDrawListSharedData.
Nav extracted NavApplyItemToResult() function.
Coding style fixes in OSX Backends.
4 years ago
Warren Moore bca4749346 Examples: Apple: Consolidated example_apple_metal to reduce class and file count (#1873, #3543) 4 years ago
Bill Six acb8ef2006
Examples: Vulkan: Fixed CMake include path. (#3550)
The backends directory was not included, so the build was failing.
4 years ago
ocornut b1a18d82e3 Moving backends code from examples/ to backends/ (step 6: update markdown documentation) 4 years ago
ocornut a2a3d80f04 Moving backends code from examples/ to backends/ (step 5: move documentation to MD files) 4 years ago
ocornut a2d845f9dd Moving backends code from examples/ to backends/ (step 4: update documentation, much improvement) 4 years ago