st/xorg: Init the Gallium3D / libkms resources in pre-init.
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 23 Jul 2010 02:36:43 +0000 (04:36 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 23 Jul 2010 02:48:32 +0000 (04:48 +0200)
commitcec7d6a4de42492a147a655046d4ccd801f84f55
tree58287d8bc9cd816070e5e3b8ded9b85ccc35933f
parentf3ddffc3923583d8699d00bb5580a38237d325ec
st/xorg: Init the Gallium3D / libkms resources in pre-init.

This makes it possible to prune modes already in pre-init.
We also keep these resources alive across server generations, and
they are implicitly closed on server exit.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/state_trackers/xorg/xorg_tracker.h