[Mesa-dev] [PATCH 11/11] android: egl: do not link against libglapi

Marek Olšák maraeo at gmail.com
Sun Jun 21 02:22:56 PDT 2015


FWIW, flushing can be done through
flush_with_flags(__DRI2_FLUSH_CONTEXT), so glFlush shouldn't be
needed, but some drivers don't implement flush_with_flags and I've
heard libEGL and libGL need to support DRI drivers from older Mesas too.

Marek

On Fri, Jun 19, 2015 at 9:56 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> The only reason we touch glapi is to dlopen it to:
>  - make sure that the unresolved _glapi* symbols in the dri modules are
> provided.
>  - fetch glFlush() and use it at various stages in the dri2 driver.
>
> XXX: If anyone has suggestions why the latter is required (or can
> recommend any reading material) I'm all ears.
>
> Cc: Chih-Wei Huang <cwhuang at linux.org.tw>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/egl/main/Android.mk | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
> index 8f687e9..0ba7295 100644
> --- a/src/egl/main/Android.mk
> +++ b/src/egl/main/Android.mk
> @@ -44,7 +44,6 @@ LOCAL_CFLAGS := \
>         -D_EGL_OS_UNIX=1
>
>  LOCAL_SHARED_LIBRARIES := \
> -       libglapi \
>         libdl \
>         libhardware \
>         liblog \
> --
> 2.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list