Open shinji12345 opened 6 months ago
I append.
I assume it is a CommandQueues synchronization issue.
For a single window, there is one CommandQueue.
Therefore, GUI is drawed after drawing of a triangle.
On the other hand, for multiple windows, I think it is not guaranteed.
The CommandQueue of ImGuiViewport should wait for a signal from my CommandQueue.
But the CommandQueue of ImGuiViewport is hidden in imgui_impl_dx12.cpp
Version/Branch of Dear ImGui:
Version 1.90.5, Branch: docking
Back-ends:
imgui_impl_dx12.cpp + imgui_impl_win32.cpp
Compiler, OS:
Windows11 + msvc2022
Full config/build information:
Details:
My Issue/Question:
I would like to display the rendering result in ImGui::Image.
If the viewport is in the main window, it can be resized without problems.
If the viewport is outside the main window, the rendering result is wrong during resizing.
Could you please let me know if there is a solution to this problem.
Screenshots/Video:
Minimal, Complete and Verifiable Example code: