[Mesa-dev] [PATCH] glx: don't expose systemTimeExtension for DRI2/DRI3/DRISW
Emil Velikov
emil.l.velikov at gmail.com
Tue Sep 27 12:39:36 UTC 2016
Used/applicable to only dri1 drivers.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
If anyone wants to go ahead and start moving the DRI1 only functionality
to src/glx/dri[1] that'll be appreciated.
---
src/glx/dri2_glx.c | 2 --
src/glx/dri3_glx.c | 1 -
src/glx/drisw_glx.c | 1 -
3 files changed, 4 deletions(-)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index af388d9..4f847cc 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -1393,8 +1393,6 @@ dri2CreateDisplay(Display * dpy)
else
pdp->loader_extensions[i++] = &dri2LoaderExtension.base;
- pdp->loader_extensions[i++] = &systemTimeExtension.base;
-
pdp->loader_extensions[i++] = &dri2UseInvalidate.base;
pdp->loader_extensions[i++] = NULL;
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 90d7bba..bdefdf3 100644
--- a/src/glx/dri3_glx.c
+++ b/src/glx/dri3_glx.c
@@ -488,7 +488,6 @@ const __DRIuseInvalidateExtension dri3UseInvalidate = {
static const __DRIextension *loader_extensions[] = {
&imageLoaderExtension.base,
- &systemTimeExtension.base,
&dri3UseInvalidate.base,
NULL
};
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 241ac7f..110b7f8 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -219,7 +219,6 @@ static const __DRIswrastLoaderExtension swrastLoaderExtension = {
};
static const __DRIextension *loader_extensions[] = {
- &systemTimeExtension.base,
&swrastLoaderExtension.base,
NULL
};
--
2.9.3
More information about the mesa-dev
mailing list