diff options
| author | lines9686-rgb <282495677+lines9686-rgb@users.noreply.github.com> | 2026-11-23 21:19:12 +0300 |
|---|---|---|
| committer | lines9686-rgb <282495677+lines9686-rgb@users.noreply.github.com> | 2026-11-24 07:16:48 +0300 |
| commit | 3746bff239520d94d11251dd35df750c0345ecf6 (patch) | |
| tree | 79eebf24a9316cc22b9547b379ac534566d39f8c /runtime/src/thread_stacks.cpp | |
| parent | a3090aab2d29bb859a87bfb22dc38a994629054a (diff) | |
dxgi: SetSourceSize checks the requested size after a failed ResizeBuffers; the comparison treats DXGI_STATUS_OCCLUDED as S_OK
Review by @KarolKurzyna in the original repository:
- The host answers DXGI_STATUS_OCCLUDED from Present for a window that isn't on screen, which depends on the
desktop, so compare_failed_resize now counts it as S_OK. The failures stay strict.
- After a failed ResizeBuffers the host checks SetSourceSize against the size that was asked for (RTX 3060 Ti:
after 16x16385, 100x10 is DXGI_ERROR_INVALID_CALL; after 16385x16 it is S_OK), so the layer does too. The
comparison gains those two steps (17 now).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions