miext: Ensure xshmfence is only called when driver supports it
authorKeith Packard <keithp@keithp.com>
Tue, 19 Nov 2013 06:36:17 +0000 (22:36 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 24 Nov 2013 06:06:19 +0000 (22:06 -0800)
commitf1604002a32b7f098c2a16b4a8649c694af570c8
tree99c8cb3c402dacfe839ded18943e7ca68a0f59d0
parent037566c57caff93fd7717f385d4b532b81f19c77
miext: Ensure xshmfence is only called when driver supports it

This provides a place for drivers to insert their own FD-based
SyncFence implementations, and prevents applications from using DRI3
SyncFence creation functions unless the driver has some support for
them.

Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Fredrik Höglund <fredrik@kde.org>
miext/sync/Makefile.am
miext/sync/misync.h
miext/sync/misyncfd.c [new file with mode: 0644]
miext/sync/misyncfd.h [new file with mode: 0644]
miext/sync/misyncshm.c
miext/sync/misyncshm.h