From 1b3ffaa1a673418fab22383bf509040924d177d3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 19 Oct 2003 04:55:31 +0000 Subject: Initial revision --- ChangeLog | 3 ++ protocol | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 178 insertions(+) create mode 100644 ChangeLog create mode 100644 protocol diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..ceab7d9 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,3 @@ +2003-10-18 Keith Packard + + major-version: CARD32 + minor-version: CARD32 + + The client sends the highest supported version to the server and + the server sends the highest version it supports, but no higher than + the requested version. Major versions changes can introduce + incompatibilities in existing functionality, minor version + changes introduce only backward compatible changes. It is + the clients responsibility to ensure that the server supports + a version which is compatible with its expectations. Servers + are encouraged to support multiple versions of the extension. + +9. Enable Monitoring + +DamageMonitor + + window: Window + level: DamageReportLevel + damage_region: Region + + The server establishes a damage monitor for window. 'region' + is used to hold the damage region when level is not + DamageReportRawRectangles, in which case it is ignored + and may be None. + +DamageSubtract + + window: window + damage_region: Region + repair_region: Region or None + parts_region: Region + + Synchronously modifies the regions in the following manner: + + If repair_region is None: + + 1) parts_region = damage_region + 2) damage_region = + + Otherwise: + + 1) parts_region = damage_region INTERSECT repair_region + 2) damage_region = damage_region - parts_region + + -- cgit v1.2.1