xserver/hw/xfree86/dri2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michel Dänzer dce46884f9 dri2: Use booleans for (fake) front buffer tracking in do_get_buffers
This works as intended — the (fake) front buffer needs to be added
only if the client didn't request it in the first place — even if the
client requests the same attachment multiple times. This ensures we
never try to access more than (count + 1) entries of the buffers array.

Fixes: ff6c7764c2 ("DRI2: Implement protocol for DRI2GetBuffersWithFormat")
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2228>
2026-06-03 15:03:50 +02:00
..
pci_ids xfree86: pci_ids: drop unused ifndef IRIS 2025-11-10 11:05:30 +01:00
dri2.c dri2: Use booleans for (fake) front buffer tracking in do_get_buffers 2026-06-03 15:03:50 +02:00
dri2.h xfree86: move private definitions out of dri2.h 2025-02-06 23:51:34 +00:00
dri2_priv.h xfree86: move private definitions out of dri2.h 2025-02-06 23:51:34 +00:00
dri2ext.c xfree86: dri2: inline load_swap_reply() 2025-12-04 12:10:36 +01:00
dri2int.h hw: add/fix include guards where missing/broken 2025-06-27 13:58:05 +02:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00