[Mesa-dev] [PATCH 7/8] android: support creating texture from gralloc buffer

Zhen Wu wuzhen at jidemail.com
Mon Jan 9 14:09:00 UTC 2017


Thanks for your review, Rob. Using kms-dri would mean writing a new gralloc
to basically the same thing as
gralloc.default and moving to grm_gralloc seems to be a bigger task meant
for another day. But I agree we would
want to avoid introducing dependency. Would extending drisw loader func and
limit gralloc dependency in egl_android
ok with you?

2017-01-07 2:14 GMT+08:00 Rob Herring <robh at kernel.org>:

> On Fri, Jan 6, 2017 at 11:35 AM, Wu Zhen <wuzhen at jidemail.com> wrote:
> > From: WuZhen <wuzhen at jidemail.com>
> >
> > Change-Id: Ifabf40fe94007f73171a89b23545002707817053
> > Reviewed-by: Mauro Rossi <issor.oruam at gmail.com>
> > Reviewed-by: Chih-Wei Huang <cwhuang at linux.org.tw>
> > ---
> >  src/gallium/targets/dri/Android.mk        |  1 +
> >  src/gallium/winsys/sw/dri/dri_sw_winsys.c | 65
> +++++++++++++++++++++++++++++++
> >  2 files changed, 66 insertions(+)
>
> I don't think we want to add a gralloc dependency here. Either we
> should use kms-dri or GBM (and gbm_gralloc) here instead.
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170109/82f4abad/attachment.html>


More information about the mesa-dev mailing list