mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-08 10:08:03 +02:00
Add filters to CRTC transforms.
This allows scaling transforms to use bilinear filtering if desired.
This commit is contained in:
parent
329b2068c1
commit
aa5cd18a9f
2 changed files with 16 additions and 4 deletions
11
randrproto.h
11
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue