summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/scrnintstr.h14
-rw-r--r--randr/randrstr.h17
2 files changed, 31 insertions, 0 deletions
diff --git a/include/scrnintstr.h b/include/scrnintstr.h
index 63ef55c10..c5dadc7a6 100644
--- a/include/scrnintstr.h
+++ b/include/scrnintstr.h
@@ -349,8 +349,17 @@ typedef Bool (*StartPixmapTrackingProcPtr)(PixmapPtr, PixmapPtr,
int dst_x, int dst_y,
Rotation rotation);
+typedef Bool (*PresentSharedPixmapProcPtr)(PixmapPtr);
+
+typedef Bool (*RequestSharedPixmapNotifyDamageProcPtr)(PixmapPtr);
+
typedef Bool (*StopPixmapTrackingProcPtr)(PixmapPtr, PixmapPtr);
+typedef Bool (*StopFlippingPixmapTrackingProcPtr)(PixmapPtr,
+ PixmapPtr, PixmapPtr);
+
+typedef Bool (*SharedPixmapNotifyDamageProcPtr)(PixmapPtr);
+
typedef Bool (*ReplaceScanoutPixmapProcPtr)(DrawablePtr, PixmapPtr, Bool);
typedef WindowPtr (*XYToWindowProcPtr)(ScreenPtr pScreen,
@@ -605,6 +614,11 @@ typedef struct _Screen {
StartPixmapTrackingProcPtr StartPixmapTracking;
StopPixmapTrackingProcPtr StopPixmapTracking;
+ SharedPixmapNotifyDamageProcPtr SharedPixmapNotifyDamage;
+ RequestSharedPixmapNotifyDamageProcPtr RequestSharedPixmapNotifyDamage;
+ PresentSharedPixmapProcPtr PresentSharedPixmap;
+ StopFlippingPixmapTrackingProcPtr StopFlippingPixmapTracking;
+
struct xorg_list pixmap_dirty_list;
ReplaceScanoutPixmapProcPtr ReplaceScanoutPixmap;
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 472721a5a..3e37df7d7 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -278,6 +278,19 @@ typedef Bool (*RRSetConfigProcPtr) (ScreenPtr pScreen,
typedef Bool (*RRCrtcSetScanoutPixmapProcPtr)(RRCrtcPtr crtc, PixmapPtr pixmap);
+typedef Bool (*RRStartFlippingPixmapTrackingProcPtr)(RRCrtcPtr, PixmapPtr,
+ PixmapPtr, PixmapPtr,
+ int x, int y,
+ int dst_x, int dst_y,
+ Rotation rotation);
+
+typedef Bool (*RREnableSharedPixmapFlippingProcPtr)(RRCrtcPtr,
+ PixmapPtr front,
+ PixmapPtr back);
+
+typedef void (*RRDisableSharedPixmapFlippingProcPtr)(RRCrtcPtr);
+
+
typedef struct _rrScrPriv {
/*
* 'public' part of the structure; DDXen fill this in
@@ -304,6 +317,10 @@ typedef struct _rrScrPriv {
/* TODO #if RANDR_15_INTERFACE */
RRCrtcSetScanoutPixmapProcPtr rrCrtcSetScanoutPixmap;
+ RRStartFlippingPixmapTrackingProcPtr rrStartFlippingPixmapTracking;
+ RREnableSharedPixmapFlippingProcPtr rrEnableSharedPixmapFlipping;
+ RRDisableSharedPixmapFlippingProcPtr rrDisableSharedPixmapFlipping;
+
RRProviderSetOutputSourceProcPtr rrProviderSetOutputSource;
RRProviderSetOffloadSinkProcPtr rrProviderSetOffloadSink;
RRProviderGetPropertyProcPtr rrProviderGetProperty;