xserver-multidpi/hw/xfree86/dri2
Chris Wilson d888295457 dri2: Allow many blocked clients per-drawable
This patch was motivated by the need to fix the use-after-free in
dri2ClientWake, but in doing so removes an arbitrary restriction that
limits DRI2 to only blocking the first client on each drawable. In order
to fix the use-after-free, we need to avoid touching our privates in the
ClientSleep callback and so we want to only use that external list as
our means of controlling sleeps and wakeups. We thus have a list of
sleeping clients at our disposal and can manage multiple events and
sources.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-02-29 14:33:20 -05:00
..
pci_ids dri2: add virtio-gpu pci ids 2016-02-22 13:48:49 -05:00
dri2.c dri2: Allow many blocked clients per-drawable 2016-02-29 14:33:20 -05:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dri2: better checks for integer overflow in GetBuffers* 2015-09-24 13:47:01 -04:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
Makefile.am dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00