[Mesa-dev] [PATCH 2/2] st/dri: Use fence extension in drisw.c
Gurchetan Singh
gurchetansingh at chromium.org
Tue May 23 00:34:32 UTC 2017
This is desirable for synchronization in virtual machines.
---
src/gallium/state_trackers/dri/drisw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c
index b85a73c57d..8fbfa9ecea 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
};
--
2.12.2
More information about the mesa-dev
mailing list