summaryrefslogtreecommitdiff
path: root/include/screenint.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-13 14:27:42 +0100
committerDave Airlie <airlied@redhat.com>2012-07-06 22:16:13 +0100
commit4caad34c932115dc0a9fd9c2995ebb2d38b9359c (patch)
treeb79aa46d4331338008244068b0ad42fd15275fe2 /include/screenint.h
parent9b5cf2ed76b00937af12304e0e8dbd60df62067e (diff)
dix: add unattached list for attaching screens to initially. (v1.1)
This list is meant for attaching unbound gpu screens to initially, before the client side rebinds them. v1.1: add another assert in the add path. Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/screenint.h')
-rw-r--r--include/screenint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/screenint.h b/include/screenint.h
index 8205f6363..c0c60ef3a 100644
--- a/include/screenint.h
+++ b/include/screenint.h
@@ -71,6 +71,11 @@ extern _X_EXPORT int AddGPUScreen(Bool (*pfnInit) (ScreenPtr /*pScreen */ ,
extern _X_EXPORT void RemoveGPUScreen(ScreenPtr pScreen);
+extern _X_EXPORT void
+AttachUnboundGPU(ScreenPtr pScreen, ScreenPtr new);
+extern _X_EXPORT void
+DetachUnboundGPU(ScreenPtr unbound);
+
typedef struct _ColormapRec *ColormapPtr;
#endif /* SCREENINT_H */