On Mon, Jan 15, 2018 at 7:09 AM, Robert Foss <robert.f...@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. Rob _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev