GLX: DRI1 cleanup
This series cleans up some historical ugliness in the DRI support code, where some DRI-independent functionality was located in the DRI1 code and vice-versa. The second patch is a minor bugfix that makes glXGetScreenDriver
and thus xdriinfo(1)
actually work on displays (like Xwayland) that expose DRI3 but not DRI2. The other two patches should have no functional change.