[PATCH weston v12 03/40] [TEST] compositor-drm: Allow disabling universal planes

Daniel Stone daniel at fooishbar.org
Thu Oct 5 09:22:13 UTC 2017


Hi Emil,

On 2 October 2017 at 10:29, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On Fri, 29 Sep 2017 14:21:02 +0100
> Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> Just a general idea, please don't bother with it for now:
>>
>> Normally it's great if one can have clear description of the format
>> env. variables expect.
>> Quick grep shows WAYLAND_DEBUG and this instance.
>>
>> For bool sounding variables, one would expect FOO=0/1 to work.
>
> yes. I think we will replace all these ad hoc weston debug switches
> eventually with something like
> LIBWESTON_DEBUG=disable-universal-planes,disable-foofoo that is a
> single env var accepting a list of debug switches. We need to also
> think whether we want it to be a libweston or Weston thing. If it was a
> Weston thing, then libweston would have ABI to set them. I haven't
> thought it through yet.

As Pekka says, it's definitely not for the long term: it's just
temporary for debugging, and we'll definitely figure out something
better in the long run.

Cheers,
Daniel


More information about the wayland-devel mailing list