mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-08 04:16:22 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
It was always the intention of the DRI2 protocol that there's at most one instance of each attachment, and that's how it was implemented in Mesa. Since that wasn't enforced though, there might be other clients in the wild which (e.g. accidentally) request the same attachment multiple times. So starting to a raise a protocol error in this case now risks breaking such clients. Instead, just deduplicate the attachments using a bit-set. This has a couple of desirable side effects: * destroy_buffer cannot be called multiple times for the same DRI2BufferPtr. * The client cannot cause the server to allocate a buffers array with more entries than there are attachments (currently 11). changes by mtx: fix FTBS by dropping now unused have_fake_front variable. Signed-off-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2228> Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> |
||
| .. | ||
| pci_ids | ||
| dri2.c | ||
| dri2_priv.h | ||
| dri2ext.c | ||
| dri2int.h | ||
| meson.build | ||