diff options
author | Keith Packard <keithp@koto.keithp.com> | 2007-09-10 16:12:29 +0100 |
---|---|---|
committer | Keith Packard <keithp@koto.keithp.com> | 2007-09-10 16:12:29 +0100 |
commit | 55aa9c238c5d81c9dc0f679dfd2fea00f356247b (patch) | |
tree | efd38abdae66591cf2458f0c5ab2d6da6db0a5f0 /do_tests.c | |
parent | 8b3b9d1d1d3a255000fb43bd09c62ef1e0798023 (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.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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, |