summaryrefslogtreecommitdiff
path: root/render/picturestr.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-30 12:03:47 +0200
committerEric Anholt <anholt@FreeBSD.org>2006-07-03 16:40:59 +0200
commitf5e92542a14f51029347b6476e4e4af69144930b (patch)
tree9f82af357abf0f257216bfa4a458060c6af900d7 /render/picturestr.h
parent6ef457913955d4289081c7d07d528963ccf5272c (diff)
Bug #7366: Fix crashes when setting filters on source pictures.
Now, filters may only be set on source pictures when the filter is common to all screens. Also, like SetPictureTransform, ChangePictureFilter is now not called on source pictures.
Diffstat (limited to 'render/picturestr.h')
-rw-r--r--render/picturestr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/picturestr.h b/render/picturestr.h
index 25969a622..f1617f627 100644
--- a/render/picturestr.h
+++ b/render/picturestr.h
@@ -355,7 +355,12 @@ typedef struct _PictureScreen {
*/
ChangePictureTransformProcPtr ChangePictureTransform;
+ /**
+ * Called immediately after a picture's transform is changed through the
+ * SetPictureFilter request. Not called for source-only pictures.
+ */
ChangePictureFilterProcPtr ChangePictureFilter;
+
DestroyPictureFilterProcPtr DestroyPictureFilter;
TrapezoidsProcPtr Trapezoids;