You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backends/imgui_impl_allegro5.cpp
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
6
6
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy ALLEGRO_KEY_* values are obsolete since 1.87 and not supported since 1.91.5]
7
-
// [X] Platform: Clipboard support (from Allegro 5.1.12)
8
-
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
-
// Missing features:
10
-
// [ ] Renderer: Multi-viewport support (multiple windows)..
11
-
// [ ] Renderer: The renderer is suboptimal as we need to convert vertices manually.
7
+
// [X] Platform: Clipboard support (from Allegro 5.1.12).
8
+
// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
+
// Missing features or Issues:
10
+
// [ ] Renderer: The renderer is suboptimal as we need to unindex our buffers and convert vertices manually.
12
11
// [ ] Platform: Missing gamepad support.
12
+
// [ ] Renderer: Multi-viewport support (multiple windows).
13
13
14
14
// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
15
15
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
Copy file name to clipboardExpand all lines: backends/imgui_impl_allegro5.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID!
6
6
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy ALLEGRO_KEY_* values are obsolete since 1.87 and not supported since 1.91.5]
7
-
// [X] Platform: Clipboard support (from Allegro 5.1.12)
8
-
// [X] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
-
// Missing features:
10
-
// [ ] Renderer: Multi-viewport support (multiple windows)..
7
+
// [X] Platform: Clipboard support (from Allegro 5.1.12).
8
+
// [X] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'.
9
+
// Missing features or Issues:
11
10
// [ ] Renderer: The renderer is suboptimal as we need to unindex our buffers and convert vertices manually.
12
11
// [ ] Platform: Missing gamepad support.
12
+
// [ ] Renderer: Multi-viewport support (multiple windows).
13
13
14
14
// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
15
15
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
Copy file name to clipboardExpand all lines: backends/imgui_impl_android.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@
4
4
// Implemented features:
5
5
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy AKEYCODE_* values are obsolete since 1.87 and not supported since 1.91.5]
6
6
// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen.
// [ ] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
10
+
// [ ] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
11
11
// [ ] Platform: Multi-viewport support (multiple windows). Not meaningful on Android.
12
12
// Important:
13
13
// - Consider using SDL or GLFW backend on Android, which will be more full-featured than this.
Copy file name to clipboardExpand all lines: backends/imgui_impl_android.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@
4
4
// Implemented features:
5
5
// [X] Platform: Keyboard support. Since 1.87 we are using the io.AddKeyEvent() function. Pass ImGuiKey values to all key functions e.g. ImGui::IsKeyPressed(ImGuiKey_Space). [Legacy AKEYCODE_* values are obsolete since 1.87 and not supported since 1.91.5]
6
6
// [X] Platform: Mouse support. Can discriminate Mouse/TouchScreen/Pen.
// [ ] Platform: Mouse cursor shape and visibility. Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
10
+
// [ ] Platform: Mouse cursor shape and visibility (ImGuiBackendFlags_HasMouseCursors). Disable with 'io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange'. FIXME: Check if this is even possible with Android.
11
11
// [ ] Platform: Multi-viewport support (multiple windows). Not meaningful on Android.
12
12
// Important:
13
13
// - Consider using SDL or GLFW backend on Android, which will be more full-featured than this.
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
if (bd->pFontSampler) { bd->pFontSampler->Release(); bd->pFontSampler = nullptr; }
529
-
if (bd->pFontTextureView) { bd->pFontTextureView->Release(); bd->pFontTextureView = nullptr; ImGui::GetIO().Fonts->SetTexID(0); } // We copied bd->pFontTextureView to io.Fonts->TexID so let's clear that as well.
530
542
if (bd->pIB) { bd->pIB->Release(); bd->pIB = nullptr; }
531
543
if (bd->pVB) { bd->pVB->Release(); bd->pVB = nullptr; }
532
544
if (bd->pBlendState) { bd->pBlendState->Release(); bd->pBlendState = nullptr; }
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx11.cpp
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
// [X] Renderer: Multi-viewport support (multiple windows). Enable with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'.
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
// (Bilinear sampling is required by default. Set 'io.Fonts->Flags |= ImFontAtlasFlags_NoBakedLines' or 'style.AntiAliasedLinesUseTex = false' to allow point/nearest sampling)
if (bd->pFontSampler) { bd->pFontSampler->Release(); bd->pFontSampler = nullptr; }
552
-
if (bd->pFontTextureView) { bd->pFontTextureView->Release(); bd->pFontTextureView = nullptr; ImGui::GetIO().Fonts->SetTexID(0); } // We copied data->pFontTextureView to io.Fonts->TexID so let's clear that as well.
553
565
if (bd->pIB) { bd->pIB->Release(); bd->pIB = nullptr; }
554
566
if (bd->pVB) { bd->pVB->Release(); bd->pVB = nullptr; }
555
567
if (bd->pBlendState) { bd->pBlendState->Release(); bd->pBlendState = nullptr; }
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx11.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'ID3D11ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
// [X] Renderer: Multi-viewport support (multiple windows). Enable with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'.
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx12.cpp
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
// [X] Renderer: Multi-viewport support (multiple windows). Enable with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'.
9
9
// FIXME: The transition from removing a viewport and moving the window in an existing hosted viewport tends to flicker.
@@ -22,6 +22,7 @@
22
22
// CHANGELOG
23
23
// (minor and older changes stripped away, please see git history for details)
24
24
// 2024-XX-XX: Platform: Added support for multiple windows via the ImGuiPlatformIO interface.
25
+
// 2024-12-09: DirectX12: Let user specifies the DepthStencilView format by setting ImGui_ImplDX12_InitInfo::DSVFormat.
25
26
// 2024-11-15: DirectX12: *BREAKING CHANGE* Changed ImGui_ImplDX12_Init() signature to take a ImGui_ImplDX12_InitInfo struct. Legacy ImGui_ImplDX12_Init() signature is still supported (will obsolete).
26
27
// 2024-11-15: DirectX12: *BREAKING CHANGE* User is now required to pass function pointers to allocate/free SRV Descriptors. We provide convenience legacy fields to pass a single descriptor, matching the old API, but upcoming features will want multiple.
27
28
// 2024-10-23: DirectX12: Unmap() call specify written range. The range is informational and may be used by debug tools.
Copy file name to clipboardExpand all lines: backends/imgui_impl_dx12.h
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
// Implemented features:
5
5
// [X] Renderer: User texture binding. Use 'D3D12_GPU_DESCRIPTOR_HANDLE' as ImTextureID. Read the FAQ about ImTextureID!
6
-
// [X] Renderer: Large meshes support (64k+ vertices) with 16-bit indices.
6
+
// [X] Renderer: Large meshes support (64k+ vertices) even with 16-bit indices (ImGuiBackendFlags_RendererHasVtxOffset).
7
7
// [X] Renderer: Expose selected render state for draw callbacks to use. Access in '(ImGui_ImplXXXX_RenderState*)GetPlatformIO().Renderer_RenderState'.
8
8
// [X] Renderer: Multi-viewport support (multiple windows). Enable with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'.
9
9
@@ -30,7 +30,8 @@ struct ImGui_ImplDX12_InitInfo
30
30
ID3D12Device*Device;
31
31
ID3D12CommandQueue*CommandQueue;
32
32
intNumFramesInFlight;
33
-
DXGI_FORMATRTVFormat;
33
+
DXGI_FORMATRTVFormat; // RenderTarget format.
34
+
DXGI_FORMATDSVFormat; // DepthStencilView format.
34
35
void*UserData;
35
36
36
37
// Allocating SRV descriptors for textures is up to the application, so we provide callbacks.
0 commit comments