From: Gurchetan Singh Date: Tue, 23 May 2017 00:34:32 +0000 (-0700) Subject: st/dri: Use fence extension in drisw.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fec0498503ca8f4ebb96dc2cb712893eaaa281b;p=mesa.git st/dri: Use fence extension in drisw.c This is desirable for synchronization in virtual machines. Reviewed-by: Marek Olšák --- diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c index b85a73c57d2..8fbfa9eceae 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/state_trackers/dri/drisw.c @@ -46,6 +46,7 @@ #include "dri_screen.h" #include "dri_context.h" #include "dri_drawable.h" +#include "dri_extensions.h" #include "dri_query_renderer.h" DEBUG_GET_ONCE_BOOL_OPTION(swrast_no_present, "SWRAST_NO_PRESENT", FALSE); @@ -369,6 +370,7 @@ static const __DRIextension *drisw_screen_extensions[] = { &driTexBufferExtension.base, &dri2RendererQueryExtension.base, &dri2ConfigQueryExtension.base, + &dri2FenceExtension.base, NULL };