[PATCH 0/6] Move main() from DIX to DDXen
Adam Jackson
ajax at nwnk.net
Mon Jan 17 17:35:55 PST 2011
On Jan 17, 2011, at 9:20 AM, Jon TURNEY wrote:
> This is more in the nature of a RFC, but this is the least-bad approach I have
> managed to come up with.
I don't really have a problem with this series, but your motivations seem odd:
> * libdix comes in 2 different flavours, depending on if it's
> built with ROOTLESS defined or not, so DDXs which don't support ROOTLESS can't
> be built at the same time as those that do.
Technically yes. But eventually I think we're going to want even Xorg to be
built as a potentially-hosted [1] server, and I think all the #ifdef ROOTLESS
stuff is just optimization when !ROOTLESS, so at some point this motivation
would go away.
> * I'd like for a statically linked DDX to be able install another GLX provider
> such that it gets chosen in preference to swrast, and to solve that problem
> without creating another instance of the problem above.
Sure, but this would be equally served by forcing GLX init to be something
that the DDX is always responsible for, instead of something implicitly set up
in InitExtensions for !xfree86.
More generally, that we have to build miinitext.c twice is just broken.
[1] - ROOTLESS being a terrible name since "root" is overloaded; the right
words are "hosted" for Xquartz/Xwin kinds of servers and "unprivileged" for
running without uid 0 privileges.
- ajax
More information about the xorg-devel
mailing list