summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-02-02 16:17:56 +1000
committerDave Airlie <airlied@redhat.com>2015-03-30 15:15:40 +1000
commit98da0d6e48b7d124d6788ea568e9f9e3dc204322 (patch)
treeb5703f682166f52587a44db3d12a717d1111e501
parent4109f29861a7066970a2afd079d0fc2c12828bcb (diff)
randrproto: add tile property info for randr 1.5
expose this as an array of 8 32-bit values. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--randr.h1
-rw-r--r--randrproto.txt31
2 files changed, 32 insertions, 0 deletions
diff --git a/randr.h b/randr.h
index 43f5ad9..6fcda87 100644
--- a/randr.h
+++ b/randr.h
@@ -186,6 +186,7 @@ typedef unsigned long XRandrModeFlags;
#define RR_PROPERTY_BORDER "Border"
#define RR_PROPERTY_BORDER_DIMENSIONS "BorderDimensions"
#define RR_PROPERTY_GUID "GUID"
+#define RR_PROPERTY_RANDR_TILE "TILE"
/* roles this device can carry out */
#define RR_Capability_None 0
diff --git a/randrproto.txt b/randrproto.txt
index d0481c0..74b7c36 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -151,6 +151,12 @@ be dynamically configured to provide support for:
1.5. Introduction to version 1.5 of the extension
+Version 1.5 adds an optional TILE property to outputs.
+
+ • An optional TILE property.
+ This property is used to denote individual tiles in a tiled monitor
+ configuration, as exposed via DisplayID v1.3.
+
Version 1.5 adds monitors
• A 'Monitor' is a rectangular subset of the screen which represents
@@ -2089,6 +2095,26 @@ doesn't handle a mandatory property correctly.
unique identifiers. When such an identifier is available, this property
contains its raw bytes.
+ "TILE" aka RR_PROPERTY_RANDR_TILE
+ Type: INTEGER
+ Format: 32
+ Num items: 8
+ Flags: Immutable
+ Range/List: -
+
+ Tile monitors have an array of values describing the tiling,
+ based on DisplayID v1.3
+
+ The 8 elements are:
+ 0: group id - The tile group identifier
+ 1: flags - flags for tile group
+ 0x1 = single monitor enclosure
+ 2: number of horizontal tiles in tile group
+ 3: number of vertical tiles in tile group
+ 4: horizontal tile location for this tile
+ 5: vertical tile location for this tile
+ 6: horizontal tile size for this tile
+ 7: vertical tile size for this tile
9.2 Properties introduced with version 1.2 of the RandR extension
@@ -2129,6 +2155,11 @@ Property Immutable Mandatory since
──────── ───────── ───────────────
GUID yes not mandatory
+9.7 Properties introduced with version 1.5 of the RandR extension
+
+Property Immutable Mandatory since
+──────── ───────── ───────────────
+TILE yes not mandatory
❧❧❧❧❧❧❧❧❧❧❧
10. Extension Versioning