mirror of https://gitlab.freedesktop.org/mesa/mesa
43d93c32c9
For simple clients using the swap chain contention back pressure to regulate their drawing and that don't query buffer age introduce a new DRI option with which set to true (the default is false) we block the client until a new buffer is available. This way we stall the client's execution until a new buffer is available and the redrawing of the client starts only at this point and not before. The motivation for that is to reduce latency for clients that regulate their drawing by swapchain contention back pressure. These clients draw whenever possible and their drawing is implicitly stopping whenever we block. When we block at the end of the swap and return only when a new buffer is available the client can draw and we directly present. Otherwise the client would draw, we block on the buffer becoming available, and only then show what the client had drawn, usually one frame later. Co-authored-by: Michel Dänzer <michel@daenzer.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14684> |
||
---|---|---|
.. | ||
loader.c | ||
loader.h | ||
loader_dri3_helper.c | ||
loader_dri3_helper.h | ||
loader_dri_helper.c | ||
loader_dri_helper.h | ||
meson.build | ||
pci_id_driver_map.h |