On Tue, Sep 19, 2017 at 12:19 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > From: Emil Velikov <emil.veli...@collabora.com> > > In order to build EGL, one has to use shared glapi - libglapi.so. > > Thus the dlopen/dlsym dance is no longer needed and we can link to the > library directly. > > This allows us to remove a handful of platform specific names of the > library. > > Cc: Jonathan Gray <j...@jsg.id.au> > Cc: Jon Turney <jon.tur...@dronecode.org.uk> > Cc: Julien Isorce <julien.iso...@gmail.com> > Cc: Rob Herring <r...@kernel.org> > Cc: Tomasz Figa <tf...@chromium.org> > Signed-off-by: Emil Velikov <emil.veli...@collabora.com> > --- > src/egl/Android.mk | 2 ++ > src/egl/Makefile.am | 2 ++ > src/egl/drivers/dri2/egl_dri2.c | 40 ++++------------------------------------ > src/egl/drivers/dri2/egl_dri2.h | 2 -- > 4 files changed, 8 insertions(+), 38 deletions(-) > > diff --git a/src/egl/Android.mk b/src/egl/Android.mk > index d7a6e88918f..4c112c20be2 100644 > --- a/src/egl/Android.mk > +++ b/src/egl/Android.mk > @@ -44,6 +44,7 @@ LOCAL_CFLAGS := \ > -DHAVE_ANDROID_PLATFORM > > LOCAL_C_INCLUDES := \ > + $(MESA_TOP)/src/mapi \
Can't libglapi export this include path? > $(MESA_TOP)/src/egl/main \ > $(MESA_TOP)/src/egl/drivers/dri2 > > @@ -53,6 +54,7 @@ LOCAL_STATIC_LIBRARIES := \ > > LOCAL_SHARED_LIBRARIES := \ > libdl \ > + libglapi \ > libhardware \ > liblog \ > libcutils \ _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev