aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-11-10 14:31:33 +0100
committerScott Anderson <scott@anderso.nz>2019-12-20 01:03:34 +0000
commit515679e4fed1c7c762a8c269fca09cbb195a4323 (patch)
tree04e4011d75869e07839c2783efaaf52655cb1dbd /backend/drm
parent774548696c0a5f3164a3ce5a85d893da6c3b18be (diff)
Refactor EGL/GL API loading
Remove glapi.sh code generation, replace it with hand-written loading code that checks extension strings before calling eglGetProcAddress. The GLES2 renderer still uses global state because of: - {PUSH,POP}_GLES2_DEBUG macros - wlr_gles2_texture_from_* taking a wlr_egl instead of the renderer
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/renderer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 9edf7632..25101a4b 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -11,7 +11,6 @@
#include <wlr/types/wlr_matrix.h>
#include <wlr/util/log.h>
#include "backend/drm/drm.h"
-#include "glapi.h"
bool init_drm_renderer(struct wlr_drm_backend *drm,
struct wlr_drm_renderer *renderer, wlr_renderer_create_func_t create_renderer_func) {