[Mesa-dev] [PATCH] egl/android: remove flink name support

Chih-Wei Huang cwhuang at linux.org.tw
Fri Apr 27 03:43:33 UTC 2018


2018-04-27 2:19 GMT+08:00 Robert Foss <robert.foss at collabora.com>:
>
> I've spent some time today preparing a #ifdef version of what robher
> submitted.
>
> It's fine, but there is no way automatically enable the HAVE_DRM_GRALLOC
> #define through the build tools. So a small simple patch adding the shared
> library dependency, and adding the -DHAVE_DRM_GRALLOC cflag is needed.

I can add BOARD_USES_DRM_GRALLOC=true
(like BOARD_USES_DRM_HWCOMPOSER=true)
in our BoardConfig.mk.
Then you can add these in Android.mk of mesa:

ifeq ($(BOARD_USES_DRM_GRALLOC),true)
LOCAL_CFLAGS += -DHAVE_DRM_GRALLOC
endif


> I'll send it out tomorrow, a bit late in the day for sending out patches now
> ;)

Thanks!


More information about the mesa-dev mailing list