summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.h4
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d_api.c2
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d_sync.c4
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d_sync.h4
4 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.h b/src/gallium/state_trackers/egl/common/egl_g3d.h
index 5989a023573..b00b0a79933 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.h
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.h
@@ -99,8 +99,6 @@ struct egl_g3d_image {
_EGL_DRIVER_STANDARD_TYPECASTS(egl_g3d)
_EGL_DRIVER_TYPECAST(egl_g3d_image, _EGLImage, obj)
-#ifdef EGL_KHR_reusable_sync
-
struct egl_g3d_sync {
_EGLSync base;
@@ -113,8 +111,6 @@ struct egl_g3d_sync {
};
_EGL_DRIVER_TYPECAST(egl_g3d_sync, _EGLSync, obj)
-#endif /* EGL_KHR_reusable_sync */
-
#ifdef EGL_MESA_screen_surface
struct egl_g3d_screen {
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_api.c b/src/gallium/state_trackers/egl/common/egl_g3d_api.c
index 2e3ead6c8f3..ed424f9fc11 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d_api.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d_api.c
@@ -878,12 +878,10 @@ egl_g3d_init_driver_api(_EGLDriver *drv)
#endif
-#ifdef EGL_KHR_reusable_sync
drv->API.CreateSyncKHR = egl_g3d_create_sync;
drv->API.DestroySyncKHR = egl_g3d_destroy_sync;
drv->API.ClientWaitSyncKHR = egl_g3d_client_wait_sync;
drv->API.SignalSyncKHR = egl_g3d_signal_sync;
-#endif
#ifdef EGL_MESA_screen_surface
drv->API.CreateScreenSurfaceMESA = egl_g3d_create_screen_surface;
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_sync.c b/src/gallium/state_trackers/egl/common/egl_g3d_sync.c
index dd07af140a7..9a1002b29a7 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d_sync.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d_sync.c
@@ -35,8 +35,6 @@
#include "egl_g3d.h"
#include "egl_g3d_sync.h"
-#ifdef EGL_KHR_reusable_sync
-
/**
* Wait for the conditional variable.
*/
@@ -279,5 +277,3 @@ egl_g3d_signal_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync,
return EGL_TRUE;
}
-
-#endif /* EGL_KHR_reusable_sync */
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_sync.h b/src/gallium/state_trackers/egl/common/egl_g3d_sync.h
index 3179ca04e1a..11137ef86f3 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d_sync.h
+++ b/src/gallium/state_trackers/egl/common/egl_g3d_sync.h
@@ -31,8 +31,6 @@
#include "egl_g3d.h"
-#ifdef EGL_KHR_reusable_sync
-
_EGLSync *
egl_g3d_create_sync(_EGLDriver *drv, _EGLDisplay *dpy,
EGLenum type, const EGLint *attrib_list);
@@ -48,6 +46,4 @@ EGLBoolean
egl_g3d_signal_sync(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSync *sync,
EGLenum mode);
-#endif /* EGL_KHR_reusable_sync */
-
#endif /* _EGL_G3D_SYNC_H_ */