summaryrefslogtreecommitdiff
path: root/do_tests.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-29 11:45:29 -0700
committerKeith Packard <keithp@keithp.com>2014-03-05 19:11:34 -0800
commit734c164464a3b5d9d9dd2dc3993de85b1f63c2ff (patch)
tree7cefcd9b596319686c6309985305de0bef6b120e /do_tests.c
parentccd5cd064817595cfd0e04a926b73fb17fe31092 (diff)
Add up/down scaling composite tests
Diffstat (limited to 'do_tests.c')
-rw-r--r--do_tests.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/do_tests.c b/do_tests.c
index 5d30dc5..6766d82 100644
--- a/do_tests.c
+++ b/do_tests.c
@@ -1283,6 +1283,14 @@ Test test[] = {
InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
VERSION1_6, COMP, 0,
{4, 500}},
+ {"-magpixwin500", "Scale 250x250 from pixmap to 500x500 window", NULL,
+ InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 500, NULL, NULL, 0x20000}},
+ {"-minpixwin500", "Scale 500x500 from pixmap to 250x250 window", NULL,
+ InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin,
+ VERSION1_6, COMP, 0,
+ {4, 250, NULL, NULL, 0x08000}},
{"-noop", "X protocol NoOperation", NULL,
NullInitProc, DoNoOp, NullProc, NullProc,
V1_2FEATURE, PLANEMASK, 0,