mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 04:40:10 +01:00
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>
This commit is contained in:
parent
4109f29861
commit
98da0d6e48
2 changed files with 32 additions and 0 deletions
1
randr.h
1
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue