[Mesa-dev] [RFC libdrm 0/5] Move alloc_handle_t from gralloc impls.
Tomasz Figa
tfiga at chromium.org
Mon Jan 15 15:03:51 UTC 2018
On Tue, Jan 16, 2018 at 12:00 AM, Rob Herring <robh at kernel.org> wrote:
> On Mon, Jan 15, 2018 at 7:09 AM, Robert Foss <robert.foss at collabora.com> wrote:
>> Hey,
>>
>> On 01/13/2018 12:49 AM, Gurchetan Singh wrote:
>>>
>>> We can define accessor functions too (not ptrs), then the struct is
>>> opaque
>>> and you can do your own accessor implementation if aligning is not
>>> possible
>>> or desired.
>>>
>>>
>>> Accessor functions in libdrm sound good to me.
>>
>>
>> Alright, this seems straight forward enough. As for the accessor
>> implementations, does anyone mind if I start out with support for multiple
>> planes even if the buffer handle currently doesn't contain multi plane
>> support
>> in various fields (fds, strides, offsets, etc.).
>
> That would be good. Once we convert over to the accessors in users,
> then we can change the handle.
Sounds good to me. FYI the handle used by cros_gralloc can already
describe multiple planes.
Best regards,
Tomasz
More information about the mesa-dev
mailing list