mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
With swap interval 0, i.e. sync-to-vblank disabled. This can be necessary for unthrottled drawing with Xwayland: 1) One buffer can be scanned out 2) One buffer can be pending in the kernel for a page flip 3) One buffer can be pending in the Wayland compositor Therefore, with 3 buffers, the frame-rate could be capped much lower than the throughput the GPU is capable of, in the worst case at the Wayland compositor refresh rate. (The native Wayland EGL backend always uses up to 4 buffers) Leave the maximum number of buffers at 3 for swap interval != 0, it's sufficient in that case to always be able to queue one frame ahead of time. https://gitlab.gnome.org/GNOME/mutter/-/issues/1455 https://gitlab.gnome.org/GNOME/mutter/-/issues/1462 Cc: mesa-stable Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7033> |
||
|---|---|---|
| .. | ||
| Android.mk | ||
| loader.c | ||
| loader.h | ||
| loader_dri3_helper.c | ||
| loader_dri3_helper.h | ||
| Makefile.sources | ||
| meson.build | ||
| pci_id_driver_map.c | ||
| pci_id_driver_map.h | ||
| SConscript | ||