aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg/xorg_tracker.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-11-24 22:55:24 +0100
committerJakob Bornecrantz <[email protected]>2009-12-01 17:29:41 +0100
commitbb80a93c9eabb430914011513852b18c943c8cfa (patch)
treeeec09c4526abfa0473e2d652b053859756f23b97 /src/gallium/state_trackers/xorg/xorg_tracker.h
parent232e59ca6fe678ac370ee5a45bc31e6f7f3e6bcf (diff)
st/xorg: Create winsys hooks that we call into
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_tracker.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_tracker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_tracker.h b/src/gallium/state_trackers/xorg/xorg_tracker.h
index c6c7b2fe158..d5fc18448ef 100644
--- a/src/gallium/state_trackers/xorg/xorg_tracker.h
+++ b/src/gallium/state_trackers/xorg/xorg_tracker.h
@@ -114,6 +114,11 @@ typedef struct _modesettingRec
Bool noEvict;
Bool debug_fallback;
+ /* winsys hocks */
+ Bool (*winsys_screen_init)(ScrnInfoPtr pScr);
+ Bool (*winsys_screen_close)(ScrnInfoPtr pScr);
+ void *winsys_priv;
+
#ifdef DRM_MODE_FEATURE_DIRTYFB
DamagePtr damage;
#endif