aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-01-07 00:11:48 -0500
committerSimon Ser <contact@emersion.fr>2021-01-07 17:11:22 +0100
commit9192c0480a9bfb5603ea6b7891829a3140acc6fe (patch)
tree3eb2a4200d2b6026cdd444230857eadbd2bfea6b
parentb899a412e3eb7be76df495883de9aa2bdb3be06f (diff)
remove unnecessary egl includes
-rw-r--r--backend/drm/backend.c1
-rw-r--r--backend/drm/renderer.c1
-rw-r--r--backend/headless/backend.c1
-rw-r--r--backend/wayland/backend.c1
-rw-r--r--backend/x11/backend.c1
-rw-r--r--include/backend/drm/drm.h2
-rw-r--r--include/backend/drm/renderer.h1
-rw-r--r--include/backend/wayland.h1
-rw-r--r--include/backend/x11.h1
-rw-r--r--include/wlr/backend.h1
-rw-r--r--include/wlr/backend/interface.h1
-rw-r--r--include/wlr/render/interface.h12
12 files changed, 0 insertions, 24 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index cc48aa54..68087f63 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -8,7 +8,6 @@
#include <wlr/backend/interface.h>
#include <wlr/backend/session.h>
#include <wlr/interfaces/wlr_output.h>
-#include <wlr/render/egl.h>
#include <wlr/types/wlr_list.h>
#include <wlr/util/log.h>
#include <xf86drm.h>
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index fd5d637d..4370aa77 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -8,7 +8,6 @@
#include <string.h>
#include <unistd.h>
#include <wayland-util.h>
-#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index 963773a5..b8c801fb 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -6,7 +6,6 @@
#include <unistd.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_output.h>
-#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/render/gles2.h>
#include <wlr/util/log.h>
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c
index 1e2d2d72..7d7eeaf5 100644
--- a/backend/wayland/backend.c
+++ b/backend/wayland/backend.c
@@ -14,7 +14,6 @@
#include <wlr/backend/interface.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_output.h>
-#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/util/log.h>
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index e8908e5b..1fde98c6 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -25,7 +25,6 @@
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_pointer.h>
-#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/util/log.h>
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index c3391dcf..3759ea35 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -1,7 +1,6 @@
#ifndef BACKEND_DRM_DRM_H
#define BACKEND_DRM_DRM_H
-#include <EGL/egl.h>
#include <gbm.h>
#include <stdbool.h>
#include <stddef.h>
@@ -12,7 +11,6 @@
#include <wlr/backend/drm.h>
#include <wlr/backend/session.h>
#include <wlr/render/drm_format_set.h>
-#include <wlr/render/egl.h>
#include <xf86drmMode.h>
#include "iface.h"
#include "properties.h"
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index e422ac4b..d30d4150 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -1,7 +1,6 @@
#ifndef BACKEND_DRM_RENDERER_H
#define BACKEND_DRM_RENDERER_H
-#include <EGL/egl.h>
#include <gbm.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index dc9670f5..e0e8ee37 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -7,7 +7,6 @@
#include <wayland-server-core.h>
#include <wlr/backend/wayland.h>
-#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_pointer.h>
diff --git a/include/backend/x11.h b/include/backend/x11.h
index db6e5870..44f3693b 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -21,7 +21,6 @@
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/interfaces/wlr_touch.h>
#include <wlr/render/drm_format_set.h>
-#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
#define XCB_EVENT_RESPONSE_TYPE_MASK 0x7f
diff --git a/include/wlr/backend.h b/include/wlr/backend.h
index edccc665..2b869f28 100644
--- a/include/wlr/backend.h
+++ b/include/wlr/backend.h
@@ -11,7 +11,6 @@
#include <wayland-server-core.h>
#include <wlr/backend/session.h>
-#include <wlr/render/egl.h>
struct wlr_backend_impl;
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index 4a6a5cbb..8782ae0b 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -12,7 +12,6 @@
#include <stdbool.h>
#include <time.h>
#include <wlr/backend.h>
-#include <wlr/render/egl.h>
struct wlr_backend_impl {
bool (*start)(struct wlr_backend *backend);
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 3ce91d32..feca44e1 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -9,18 +9,6 @@
#ifndef WLR_RENDER_INTERFACE_H
#define WLR_RENDER_INTERFACE_H
-#ifndef MESA_EGL_NO_X11_HEADERS
-#define MESA_EGL_NO_X11_HEADERS
-#endif
-#ifndef EGL_NO_X11
-#define EGL_NO_X11
-#endif
-#ifndef EGL_NO_PLATFORM_SPECIFIC_TYPES
-#define EGL_NO_PLATFORM_SPECIFIC_TYPES
-#endif
-
-#include <EGL/egl.h>
-#include <EGL/eglext.h>
#include <stdbool.h>
#include <wayland-server-protocol.h>
#include <wlr/render/wlr_renderer.h>