From 55aa9c238c5d81c9dc0f679dfd2fea00f356247b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 10 Sep 2007 16:12:29 +0100 Subject: Add Compositing tests. -compwinwinXX, -comppixwinXX where XX is 10, 100 or 500. -pop ... where is one of Clear, Src, Dst, Over, OverReverse, In, InReverse, Out, OutReverse, Atop, AtopReverse, Xor, Add or Saturate. -format ... where is one of RGB24, ARGB32, A8, A4, A1 or NATIVE --- do_tests.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'do_tests.c') 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, -- cgit v1.2.3