2018-04-27 2:19 GMT+08:00 Robert Foss <robert.f...@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!
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to