xserver/hw
Aaron Plattner 03b91e17ce xfree86: Call ScreenInit for protocol screens before GPU screens
During startup, the xfree86 DDX's InitOutput() calls PreInit for
protocol screens first, and then GPU screens. On teardown, dix_main()
calls CloseScreen in the reverse order: GPU screens first starting with
the last one and then working backwards, and then protocol screens also
in reverse order.

InitOutput() calls ScreenInit in the wrong order: for GPU screens first and then
for protocol screens. This causes a problem for drivers that have global state
that is tied to the first screen that calls ScreenInit.

Fix this by simply re-ordering the for loops to call PreInit for
protocol screens first and then for GPU screens second.

(cherry picked from commit e5e9a8ca91)
2019-11-13 10:33:50 -08:00
..
dmx dmx: Silence a string truncation warning. 2018-04-05 14:18:44 -04:00
kdrive meson: Install man pages 2018-03-27 10:28:33 -04:00
vfb vfb: Fix man page in re depth 2018-04-24 14:44:06 -04:00
xfree86 xfree86: Call ScreenInit for protocol screens before GPU screens 2019-11-13 10:33:50 -08:00
xnest meson: Install man pages 2018-03-27 10:28:33 -04:00
xquartz glx,xquartz: Fix make distcheck 2019-02-25 13:06:58 -05:00
xwayland glamor/xwayland: Define EGL_NO_X11 2019-11-05 08:12:03 -08:00
xwin glx,xquartz: Fix make distcheck 2019-02-25 13:06:58 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00