summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/third_party/trace_event/trace_event.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2022-01-17 17:27:17 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-01-19 15:19:38 +0100
commit6dd09664b280df827788ab7d21c0e279b1f79c5a (patch)
tree026579bb1e619e7b41998b7354080b9f2c97d242 /src/3rdparty/angle/src/third_party/trace_event/trace_event.h
parentd671bab0e3fc61532bcfdb4ff3f7a468d2b14b6b (diff)
rhi: d3d: Fix up non-vsynced presentation
Doing Present(0, 0) is not necessarily sufficient to get rid of blocking. It may very well start blocking after a few frames. This does not apply to a non-flip-discard swapchain (when running with QT_D3D_NO_FLIP=1), but for flip-discard we should also try using DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING and DXGI_PRESENT_ALLOW_TEARING in case a swap interval of 0 is wanted. Pick-to: 6.3 Fixes: QTBUG-99949 Change-Id: I9cb13b139ba04e41b4f25b94bcd3d1e973496414 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/3rdparty/angle/src/third_party/trace_event/trace_event.h')
0 files changed, 0 insertions, 0 deletions