diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-12-28 11:48:14 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-12-28 11:48:14 +0000 |
commit | 08708f7d616a7c0a596fb71dd7acd76d45257fec (patch) | |
tree | 72801eec3487061267cbdbe1c2232b3c42288d5a /render/mipict.c | |
parent | 31d0fdde19598ce9375cc9638ad4e2c8b5af8d9a (diff) |
Merge from xserver: Make the existing ChangePictureFilter and
ChangePictureTransform screen hooks get called at appropriate times.
Diffstat (limited to 'render/mipict.c')
-rw-r--r-- | render/mipict.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/render/mipict.c b/render/mipict.c index 81c775832..59707ea70 100644 --- a/render/mipict.c +++ b/render/mipict.c @@ -250,6 +250,22 @@ miValidatePicture (PicturePtr pPicture, } } +int +miChangePictureTransform (PicturePtr pPicture, + PictTransform *transform) +{ + return Success; +} + +int +miChangePictureFilter (PicturePtr pPicture, + int filter, + xFixed *params, + int nparams) +{ + return Success; +} + #define BOUND(v) (INT16) ((v) < MINSHORT ? MINSHORT : (v) > MAXSHORT ? MAXSHORT : (v)) static __inline Bool @@ -611,6 +627,8 @@ miPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats) ps->InitIndexed = miInitIndexed; ps->CloseIndexed = miCloseIndexed; ps->UpdateIndexed = miUpdateIndexed; + ps->ChangePictureTransform = miChangePictureTransform; + ps->ChangePictureFilter = miChangePictureFilter; /* MI rendering routines */ ps->Composite = 0; /* requires DDX support */ |