mirror of
https://github.com/ocornut/imgui.git
synced 2025-12-24 07:08:54 +00:00
Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in provided example, to reduce latency.
This commit is contained in:
@@ -44,6 +44,8 @@ Breaking changes:
|
|||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
- ImDrawList: texture baked storage for thick line reduced from ~64x64 to ~32x32. (#3245)
|
- ImDrawList: texture baked storage for thick line reduced from ~64x64 to ~32x32. (#3245)
|
||||||
|
- Examples: DirectX12: Reduced number of frame in flight from 3 to 2 in
|
||||||
|
provided example, to reduce latency.
|
||||||
- Backends: DirectX12: Texture upload use the command queue provided in
|
- Backends: DirectX12: Texture upload use the command queue provided in
|
||||||
ImGui_ImplDX12_InitInfo instead of creating its own.
|
ImGui_ImplDX12_InitInfo instead of creating its own.
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Config for example app
|
// Config for example app
|
||||||
static const int APP_NUM_FRAMES_IN_FLIGHT = 3;
|
static const int APP_NUM_FRAMES_IN_FLIGHT = 2;
|
||||||
static const int APP_NUM_BACK_BUFFERS = 3;
|
static const int APP_NUM_BACK_BUFFERS = 2;
|
||||||
static const int APP_SRV_HEAP_SIZE = 64;
|
static const int APP_SRV_HEAP_SIZE = 64;
|
||||||
|
|
||||||
struct FrameContext
|
struct FrameContext
|
||||||
|
|||||||
Reference in New Issue
Block a user