ocornut
19c3773cc0
Backends: Vulkan: Call vkCmdSetScissor() with a full-viewport at end of render. ( #4644 )
2021-10-15 12:11:11 +02:00
ocornut
bbd5119a26
Backends: Vulkan: comments about user using VK_DYNAMIC_STATE_VIEWPORT / VK_DYNAMIC_STATE_SCISSOR and not calling vkCmdSetViewport() / vkCmdSetScissor(). ( #4644 )
2021-10-15 12:01:35 +02:00
ocornut
dde31030e9
Backends: SDL_Renderer: use SDL_RenderIsClipEnabled() to pass NULL to SDL_RenderSetClipRect ( #3926 , #4582 , #4633 )
2021-10-07 15:07:58 +02:00
Basil Fierz
30a6873a44
Backends: WebGPU: Fix missing initialization of local variable ( #4634 )
2021-10-07 14:58:09 +02:00
Basil Fierz
25332fa5ac
Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 ( #4512 )
2021-10-06 17:51:00 +02:00
ocornut
e443ea139d
Backends: SDL_Renderer: Backup and restore modified ClipRect/Viewport. ( #3926 , #4582 )
2021-10-06 13:41:39 +02:00
ocornut
677fe33990
Backends: DX12: use dxgiformat.h to fix using forward declared DXGI_FORMAT ( #4594 )
2021-09-30 11:53:20 +02:00
ocornut
fba756176d
Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. ( #3926 )
2021-09-21 19:29:48 +02:00
Sylvain
62b17f928e
Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ ( #3926 )
...
(Squashed 20 commits)
2021-09-21 19:29:48 +02:00
James McCartney
bc3d267c51
Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. ( #4557 , #4563 )
2021-09-21 12:36:37 +02:00
ocornut
c6ca327fb2
Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. ( #4562 )
2021-09-20 18:43:05 +02:00
ocornut
755bf985d2
Backends: OpenGL3: Made our custom GL loader a bit more tolerant of use of another loader in same compilation unit. ( #4445 , #4514 )
2021-09-07 14:48:26 +02:00
Jackamilio
03ce17f0a5
Backends: Allegro: Fixed clipping rectangles ( #4498 ) broken by 2b0bd40b
( #4464 )
2021-08-31 12:52:54 +02:00
Cort
80ed4eba87
Backends: Vulkan: non-dispatchable handles should compare to VK_NULL_HANDLE, not NULL ( #4475 )
2021-08-24 21:53:54 +02:00
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.
2021-08-24 18:23:13 +02:00
Siarhei Fiedartsou
f8bad7e1e3
Backends: OpenGL3: Add TargetConditionals.h ( #4473 ) + standardize include
2021-08-24 15:36:44 +02:00
Corentin Wallez
e652527313
Backends: WebGPU: Update impl_wgpu for an emscripten change
2021-08-24 14:55:43 +02:00
Rokas Kupstys
4c22b3e5d9
Backends: OpenGL3: Fix gl3wProcs colliding with gl3w. ( #4445 )
2021-08-24 14:33:04 +02:00
Nicolas Noble
e3e1fbcf02
Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision floats. ( #4463 )
2021-08-23 15:03:27 +02:00
ocornut
d2ffbd9b86
Version 1.84
...
Fix PVS Studio false positive //-V1020
Fix missing #ifndef for IMGUI_IMPL_OPENGL_LOADER_CUSTOM path
2021-08-20 18:03:55 +02:00
Rokas Kupstys
fc062e6028
Backends: OpenGL3: Update loader to include APIs used by test framework.
2021-08-20 17:22:27 +02:00
ocornut
e3988a84db
Backends: OpenGL3: Embed our own minimal GL loader (amends). ( #4445 )
2021-08-19 16:24:59 +02:00
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
2021-08-19 16:24:58 +02:00
ocornut
f24abbc47d
Fix various warnings ( #4442 )
2021-08-18 12:38:24 +02:00
thedmd
2f40be638f
IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus ( #3532 )
...
Amend/fix #2445 , #2696 , #3751 , #4377
2021-08-17 20:10:45 +02:00
ocornut
b380d3abe3
Backends: OpenGL3: Clarify use of GL_POLYGON_MODE.
2021-08-17 15:16:29 +02:00
ocornut
f99fe72c42
Backends: Win32: Fixed keyboard modifiers being reported when host window doesn't have focus. ( #2622 )
2021-08-02 17:22:33 +02:00
ocornut
2ad912bb85
Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. ( #787 , #2445 , #2696 , #3751 , #4377 )
2021-08-02 16:19:50 +02:00
ocornut
db686ad522
Backends: Win32: Mouse position is correctly reported when the host platform window is hovered but not focused. ( #2445 , #2696 , #3751 , #4377 )
2021-07-29 19:38:33 +02:00
ocornut
044fd0cd2d
Backends: GLFW: Mouse position is correctly reported when the host platform window is hovered but not focused. ( #3751 , #4377 , #2445 )
2021-07-29 19:37:18 +02:00
ocornut
1cdd110eb4
Backends: SDL2: Mouse position is correctly reported when the host platform window is hovered but not focused. ( #2445 , #3751 , #4377 )
...
(requires SDL 2.0.5 because SDL_GetMouseFocus() is only usable with SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH).
2021-07-29 18:47:43 +02:00
ocornut
baa4caf9e3
Backends: GLFW: Installing and exposed ImGui_ImplGlfw_MonitorCallback() for forward compatibility with docking branch.
...
+ Comments (#3934 )
2021-07-07 14:12:48 +02:00
ocornut
327a5d8253
Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs)
2021-07-05 17:52:44 +02:00
ocornut
cf2daf353e
Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend.
...
+ Update gallery links (#4280 )
2021-06-30 15:50:15 +02:00
Giovanni Funchal
6792e1a3e0
Backends: SDL2: Remove unnecessary ImGui_ImplSDL2_NewFrame() parameter. ( #3244 )
2021-06-30 15:04:40 +02:00
ocornut
23a15834fa
Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). ( #3487 ) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend.
2021-06-29 18:16:47 +02:00
ocornut
4cec3a0467
Backends: support for multiple imgui context with little testing ( #586 , #1851 , #2004 , #3012 , #3934 , #4141 )
...
I believe more renderer backends should work. GLFW/Win32/SDL/Vulkan probably have many issues.
2021-06-29 16:42:13 +02:00
ocornut
b5a2bd1a5b
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
...
No need to clear fields before deletion. DX12: renamed to match docking branch.
2021-06-29 15:25:19 +02:00
ocornut
70c603854e
Backends: moved global to a data structure to facilitate support for multi-contexts. ( #586 , #1851 , #2004 , #3012 , #3934 , #4141 )
...
This is NOT enable multi-contexts for any backends
- in order to make this commit as harmless as possible, while containing all the cruft/renaming
-
2021-06-29 14:37:58 +02:00
ocornut
95db098477
ImFontAtlas: move implicit AddFontDefault call to Build() function + remove unnecessary asserts in backend.
2021-06-25 17:27:17 +02:00
Chaoya Li
2ab7f96f21
Backends: OpenGL3: Enable OES_vertex_array_object extension for emscripten/wasm build ( #4266 , #4267 )
2021-06-25 16:19:55 +02:00
Anthony
8ced41570e
Backends: DX9: explicitely disable texture state stages after >= 1. ( #4268 )
...
imgui only uses texture stage state for stage 0
But any state set in stages >= 1 will affect rendering
Set stage 1 COLOROP to DISABLED, to deactivate stages >= 1
2021-06-25 12:33:38 +02:00
ocornut
20d415e939
FIx static analysers warnings and disable false positives.
2021-06-24 17:15:14 +02:00
Rokas Kupstys
0b8a247074
Backends: OSX: Added a fix for shortcuts using CTRL key instead of CMD key. ( #4253 )
2021-06-23 15:25:10 +02:00
Ivan Sokolov
0905439c31
Backends: OpenGL3: Destroy shader objects right away ( #4244 )
...
In OpenGL, after a shader program has been linked, shader objects don't need to be kept neither attached to the program nor in existence
2021-06-21 11:51:51 +02:00
ocornut
98a6292165
Backends: DX12: Fix texture casting crash on 32-bit systems (introduced on 2021/05/19 and v1.83) + added comments about building on 32-bit systems. ( #4225 )
2021-06-14 17:43:42 +02:00
ocornut
b66529fe3e
Backends: Win32: Rework to handle certains Windows 8.1/10 features without a manifest. ( #4200 , #4191 )
2021-06-08 18:38:20 +02:00
Tatsuya Yatagawa
fe24591411
Backends: OpenGL3: Fix access violation due to NULL from glGetStringi. ( #4201 )
2021-06-05 16:27:31 +02:00
ocornut
838c16533d
Backends: Comments.
2021-05-27 13:59:35 +02:00
ocornut
556689591c
Backends: OpenGL3: Handle GL_CLIP_ORIGIN on <4.5 contexts if "GL_ARB_clip_control" extension is detected. ( #4170 , #3998 )
...
Expecting this to somehow cause another issue but we will fix it when it comes.
2021-05-24 23:46:25 +02:00