summaryrefslogtreecommitdiff
path: root/do_tests.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@koto.keithp.com>2007-09-10 16:12:29 +0100
committerKeith Packard <keithp@koto.keithp.com>2007-09-10 16:12:29 +0100
commit55aa9c238c5d81c9dc0f679dfd2fea00f356247b (patch)
treeefd38abdae66591cf2458f0c5ab2d6da6db0a5f0 /do_tests.c
parent8b3b9d1d1d3a255000fb43bd09c62ef1e0798023 (diff)
Add Compositing tests.
-compwinwinXX, -comppixwinXX where XX is 10, 100 or 500. -pop <POP> <POP> ... where <POP> is one of Clear, Src, Dst, Over, OverReverse, In, InReverse, Out, OutReverse, Atop, AtopReverse, Xor, Add or Saturate. -format <FORMAT> <FORMAT> ... where <FORMAT> is one of RGB24, ARGB32, A8, A4, A1 or NATIVE
Diffstat (limited to 'do_tests.c')
-rw-r--r--do_tests.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/do_tests.c b/do_tests.c
index 378ea83..189a219 100644
--- a/do_tests.c
+++ b/do_tests.c
@@ -1237,6 +1237,30 @@ Test test[] = {
InitGetImage, DoGetImage, NullProc, EndGetImage,
V1_4FEATURE, PLANEMASK, 0,
{4, 500, "XY"}},
+ {"-compwinwin10", "Composite 10x10 from window to window", NULL,
+ InitCompositeWin, DoCompositeWinWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 10}},
+ {"-compwinwin100", "Composite 10x10 from window to window", NULL,
+ InitCompositeWin, DoCompositeWinWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 100}},
+ {"-compwinwin500", "Composite 10x10 from window to window", NULL,
+ InitCompositeWin, DoCompositeWinWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 500}},
+ {"-comppixwin10", "Composite 10x10 from pixmap to window", NULL,
+ InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 10}},
+ {"-comppixwin100", "Composite 100x100 from pixmap to window", NULL,
+ InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 100}},
+ {"-comppixwin500", "Composite 500x500 from pixmap to window", NULL,
+ InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 500}},
{"-noop", "X protocol NoOperation", NULL,
NullInitProc, DoNoOp, NullProc, NullProc,
V1_2FEATURE, PLANEMASK, 0,