From d884d8d0077c16d459b11699c552184dfec581b2 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 27 Sep 2017 17:36:29 +0100 Subject: egl/dri: link directly to libglapi.so Shared glapi (libglapi.so) has been a requirement for years, in order to build EGL. Remove the no longer necessary dlopen/dlsym dance and link to the library directly. This allows us to remove a handful of platform specific workarounds, due to the different name of the library. v2: - Android: export the include dir (RobH) - Drop unused local variable (Eric) Cc: Jonathan Gray Cc: Jon Turney Cc: Julien Isorce Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom (v1) Tested-by: Tomasz Figa (v1) Tested-by: Rob Herring --- src/egl/drivers/dri2/egl_dri2.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/egl/drivers/dri2/egl_dri2.h') diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 10a41518172..c70a84bb917 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -83,8 +83,6 @@ struct dri2_egl_driver { _EGLDriver base; - void *handle; - _EGLProc (*get_proc_address)(const char *procname); void (*glFlush)(void); }; -- cgit v1.2.3