[PATCH v16 15/23] compositor-drm: Support modifiers with GBM

Daniel Stone daniel at fooishbar.org
Fri Jul 6 13:12:53 UTC 2018


Hey Emil,
On Fri, 6 Jul 2018 at 11:02, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 5 July 2018 at 18:16, Daniel Stone <daniels at collabora.com> wrote:
> > Use the extended GBM allocator interface to support modifiers and
> > multi-planar BOs.
>
> Instead of such lovely checks and multiple #ifdef blocks through in
> the code, one can use weak symbols.
> See kmscube code has some examples.
>
> That said, it's something that could be handled at a later stage.
> There's no point in delaying the series over that detail.

Yeah, all the options are lovely in their own way. I'd happily check
and review a patch to make it use weak functions to cover all the new
GBM API though.

Cheers,
Daniel


More information about the wayland-devel mailing list