st/xorg: Encapsulate all customizable stuff in a separate class.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 15 Feb 2010 13:10:19 +0000 (14:10 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sat, 27 Feb 2010 02:12:47 +0000 (02:12 +0000)
commit55e5737bae6b88c2d1bc4c0d94e11548518659b8
treee5d629c13e145d4b0b82d9754846de25ce3f263d
parentab8a232b2cad965501e3778219e957509a078757
st/xorg: Encapsulate all customizable stuff in a separate class.

This avoids exposing the ms driver structure to the winsys,
and nicely encapsulates driver customizable stuff.
In the future more things might be customizable by the winsys, like
throttling, 3D readback etc.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/state_trackers/xorg/xorg_tracker.h
src/gallium/winsys/drm/vmware/xorg/vmw_driver.h
src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
src/gallium/winsys/drm/vmware/xorg/vmw_screen.c
src/gallium/winsys/drm/vmware/xorg/vmw_video.c