proto/randrproto: Branch 'transform-proposal'

Keith Packard keithp at kemper.freedesktop.org
Sat Mar 15 00:32:48 PDT 2008


 randrproto.h   |   11 +++++++----
 randrproto.txt |    9 +++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)

New commits:
commit aa5cd18a9f84aa075ffa7f70e6591b70b093119f
Author: Keith Packard <keithp at keithp.com>
Date:   Sat Mar 15 00:32:35 2008 -0700

    Add filters to CRTC transforms.
    
    This allows scaling transforms to use bilinear filtering if desired.

diff --git a/randrproto.h b/randrproto.h
index d2d0963..e6bab25 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -570,7 +570,8 @@ typedef struct {
     xRenderTransform	transform;
     CARD32		pad0 B32;
     xRenderTransform	inverse;
-    CARD32		pad1 B32;
+    CARD16		nbytesFilter;	/* number of bytes in filter name */
+    CARD16		pad B16;
 } xRRSetCrtcTransformReq;
 
 #define sz_xRRSetCrtcTransformReq	88
@@ -592,13 +593,15 @@ typedef struct {
     xRenderTransform	pendingTransform;
     BYTE		hasTransforms;
     CARD8		pad0a;
-    CARD16		pad0b B16;
+    CARD16		pad0 B16;
     xRenderTransform	pendingInverse;
-    CARD32		pad1 B32;
+    CARD16		pendingNbytesFilter B16;    /* number of bytes in filter name */
+    CARD16		pendingNparamsFilter B16;   /* number of filter params */
     xRenderTransform	currentTransform;
     CARD32		pad2 B32;
     xRenderTransform	currentInverse;
-    CARD32		pad3 B32;
+    CARD16		currentNbytesFilter B16;    /* number of bytes in filter name */
+    CARD16		currentNparamsFilter B16;   /* number of filter params */
 } xRRGetCrtcTransformReply;
 
 #define sz_xRRGetCrtcTransformReply	168
diff --git a/randrproto.txt b/randrproto.txt
index 8d21160..ac40f93 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -984,6 +984,8 @@ dynamic changes in the display environment.
 	crtc: CRTC
 	transform: TRANSFORM
 	inverse: TRANSFORM
+	filter: STRING8
+	values: LISTofFIXED
 └───
 	Errors: Crtc, Match
 
@@ -995,6 +997,9 @@ transformation is applied before the rotation and reflection values to
 compute the complete transform. 'inverse' must be the
 multiplicative inverse of 'transform' or a Match error results.
 
+'filter' and 'values' specify a Render filter that may be used by the server
+when transforming data from frame buffer to crtc.
+
 This request sets the transform to be used at the next RRSetCrtcConfig
 request execution; it does not cause any change to occur in the current
 configuration.
@@ -1010,8 +1015,12 @@ the screen when the mode is set.
       â–¶
 	pending-transform: TRANSFORM
 	pending-inverse: TRANSFORM
+	pending-filter: STRING8
+	pending-values: LISTofFIXED
 	current-transform: TRANSFORM
 	current-inverse: TRANSFORM
+	current-filter: STRING8
+	current-values: LISTofFIXED
 └───
 
 This request returns the pending and current transforms for the specified


More information about the xorg-commit mailing list