diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-29 13:48:02 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-03-05 19:11:34 -0800 |
commit | 9ba0ce7d849bbd94644664b60b50bd1e2d5813b7 (patch) | |
tree | ad473371eaed154e29d88839002507e9551d0c1e /do_tests.c | |
parent | 21c0d1903161a88d09c64811cf97dda3a8a8e751 (diff) |
Add scaling composite tests
Diffstat (limited to 'do_tests.c')
-rw-r--r-- | do_tests.c | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -1283,14 +1283,30 @@ Test test[] = { InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, VERSION1_6, COMP, 0, {4, 500}}, + {"-magpixwin10", "Scale 5x5 from pixmap to 10x10 window", NULL, + InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, + VERSION1_6, COMP, 0, + {4, 10, NULL, NULL, 0x20000}}, + {"-magpixwin100", "Scale 50x50 from pixmap to 100x100 window", NULL, + InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, + VERSION1_6, COMP, 0, + {4, 100, NULL, NULL, 0x20000}}, {"-magpixwin500", "Scale 250x250 from pixmap to 500x500 window", NULL, InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, VERSION1_6, COMP, 0, {4, 500, NULL, NULL, 0x20000}}, + {"-minpixwin10", "Scale 10x10 from pixmap to 5x5 window", NULL, + InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, + VERSION1_6, COMP, 0, + {4, 5, NULL, NULL, 0x8000}}, + {"-minpixwin100", "Scale 100x100 from pixmap to 5x5 window", NULL, + InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, + VERSION1_6, COMP, 0, + {4, 5, NULL, NULL, 0x8000}}, {"-minpixwin500", "Scale 500x500 from pixmap to 250x250 window", NULL, InitCompositePix, DoCompositePixWin, MidScroll, EndCompositeWin, VERSION1_6, COMP, 0, - {4, 250, NULL, NULL, 0x08000}}, + {4, 250, NULL, NULL, 0x8000}}, {"-noop", "X protocol NoOperation", NULL, NullInitProc, DoNoOp, NullProc, NullProc, V1_2FEATURE, PLANEMASK, 0, |