On Sun, Apr 3, 2016 at 12:29 PM, Chih-Wei Huang <[email protected]> wrote:
> 2016-04-04 0:53 GMT+08:00 Chih-Wei Huang <[email protected]>:
>> 2016-04-02 4:42 GMT+08:00 Rob Herring <[email protected]>:
>>>
>>> Here's an initial gralloc implementation based on my GBM map/unmap support:
>>>
>>> https://github.com/robherring/gbm_gralloc
>>>
>>> It's based on drm_gralloc, but heavily re-written to collapse some
>>> unnecessary layers.
>
> It required a shared library libgbm.
> So I guess we have to add an Android.mk
> for libgbm in mesa? Do you already have a patch?

Yes, I do. I've not published them yet. It's also dependent on APIs
which are under discussion.

It's very much a WIP and not something android-x86 can really use yet.

> Besides, the module name is still gralloc.drm.
> How about call it gralloc.gbm?

Eventually yes, but for now it is more convenient for my development
to keep the name the same.

> That means it can coexist with the current
> gralloc.drm module so the transition to it
> will be easier. Agree?

It's not binary compatible, only source compatible ATM, so they can't
really coexist yet. The gralloc implementation specific dependencies
in mesa and hwc is something I'm looking at. They consist of
retrieving the prime FD for a handle and retrieving the DRM device FD.

Rob
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to