Hi Emil, On 2 October 2017 at 10:29, Pekka Paalanen <ppaala...@gmail.com> wrote: > On Fri, 29 Sep 2017 14:21:02 +0100 > Emil Velikov <emil.l.veli...@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 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel