We have created a UI framework using DirectX and Win32 APIs. Recently we started using iFlip mode. But with iFlip mode DWM automatically switches back to iFlip mode from composited mode, when a popup/ occluded window disappears. But we dont have control over that switch. Previously, when we were using composited mode, we can always setFullScreen immediately after we lost full screen exclusivity. Latency is critical in our application. So we want to either force or request Windows to switch to iFlip mode as soon as possible. how to do this?
We are using Win 11, DirectX 11 and DXGI_SWAP_EFFECT_FLIP_DISCARD as the swapEffect in the swapchain