summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-12-05 20:57:47 -0800
committerKeith Packard <keithp@keithp.com>2010-12-06 20:09:04 -0800
commit752c368421c1c824752cf467fba9318d75d2ca2c (patch)
tree719b2c506194607708369cc782de39e3cc792c5a /randr/randrstr.h
parenta88d70fb20a2bc3152b84adff4380857e6cfadf5 (diff)
Separate out screen size and screen pixmap sizes in RRScreenSizeSet
This provides for separate sizes for the screen scanout and rendering buffer and the application-visible screen size. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 8240824db..7c553f21f 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -191,6 +191,8 @@ struct _rrOutput {
typedef Bool (*RRScreenSetSizeProcPtr) (ScreenPtr pScreen,
CARD16 width,
CARD16 height,
+ CARD16 pixWidth,
+ CARD16 pixHeight,
CARD32 mmWidth,
CARD32 mmHeight);
@@ -478,6 +480,8 @@ extern _X_EXPORT Bool
RRScreenSizeSet (ScreenPtr pScreen,
CARD16 width,
CARD16 height,
+ CARD16 pixWidth,
+ CARD16 pixHeight,
CARD32 mmWidth,
CARD32 mmHeight);