mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
test: Trim the Render ops that we test the composite paths on.
We cover all Render ops under the "blend" group, so when we're doing the cross products of some formats for the masking operation, skip most of the ops (covering just zero, one, and src/dst alpha blend factors along with a definitely non-glamor-accelerated one) . All the tests now complete in <20s of runtime on my skylake. Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -8,6 +8,7 @@ piglit_env = environment()
|
||||
piglit_env.set('XSERVER_DIR', meson.source_root())
|
||||
piglit_env.set('XSERVER_BUILDDIR', meson.build_root())
|
||||
|
||||
some_ops = '-o clear,src,dst,over,xor,disjointover'
|
||||
rendercheck_tests = [
|
||||
['blend/All/a8r8g8b8', '-t blend -f a8r8g8b8'],
|
||||
['blend/All/x8r8g8b8', '-t blend -f a8r8g8b8,x8r8g8b8'],
|
||||
@@ -15,13 +16,13 @@ rendercheck_tests = [
|
||||
['blend/Clear', '-t blend -o clear'],
|
||||
['blend/Src', '-t blend -o src'],
|
||||
['blend/Over', '-t blend -o over'],
|
||||
['composite/All/a8r8g8b8', '-t composite -f a8r8g8b8'],
|
||||
['composite/All/x8r8g8b8', '-t composite -f a8r8g8b8,x8r8g8b8'],
|
||||
['composite/All/a2r10g10b10', '-t composite -f a8r8g8b8,a2r10g10b10'],
|
||||
['ca composite/All/a8r8g8b8', '-t cacomposite -f a8r8g8b8'],
|
||||
['ca composite/All/a8', '-t cacomposite -f a8r8g8b8,a8'],
|
||||
['ca composite/All/x8r8g8b8', '-t cacomposite -f a8r8g8b8,x8r8g8b8'],
|
||||
['ca composite/All/a2r10g10b10', '-t cacomposite -f a8r8g8b8,a2r10g10b10'],
|
||||
['composite/Some/a8r8g8b8', '-t composite -f a8r8g8b8 ' + some_ops],
|
||||
['composite/Some/x8r8g8b8', '-t composite -f a8r8g8b8,x8r8g8b8' + some_ops],
|
||||
['composite/Some/a2r10g10b10', '-t composite -f a8r8g8b8,a2r10g10b10' + some_ops],
|
||||
['ca composite/Some/a8r8g8b8', '-t cacomposite -f a8r8g8b8' + some_ops],
|
||||
['ca composite/Some/a8', '-t cacomposite -f a8r8g8b8,a8' + some_ops],
|
||||
['ca composite/Some/x8r8g8b8', '-t cacomposite -f a8r8g8b8,x8r8g8b8' + some_ops],
|
||||
['ca composite/Some/a2r10g10b10', '-t cacomposite -f a8r8g8b8,a2r10g10b10' + some_ops],
|
||||
['fill', '-t fill'],
|
||||
['bug7366', '-t bug7366'],
|
||||
['destination coordinates', '-t dcoords'],
|
||||
|
||||
Reference in New Issue
Block a user