[Pixman] [PATCH 4/7] test/utils: add operator aliases for lowlevel-blt-bench

Pekka Paalanen ppaalanen at gmail.com
Mon Apr 13 04:31:39 PDT 2015

From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Lowlevel-blt-bench uses the operator alias "outrev". Add an alias for it
in the operator-name table.

Also add aliases for overrev, inrev and atoprev, so that
lowlevel-blt-bench can later recognize them for new test cases.

The aliases are added such, that an operator to name lookup will never
return them; it returns the proper names instead.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
 test/utils.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/utils.c b/test/utils.c
index 9d4e350..2052ff0 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -974,12 +974,16 @@ static const operator_entry_t op_list[] =
     ENTRY (DST),
     ENTRY (OVER),
+    ALIAS (OVER_REVERSE,		"overrev"),
     ENTRY (IN),
+    ALIAS (IN_REVERSE,			"inrev"),
     ENTRY (OUT),
+    ALIAS (OUT_REVERSE,			"outrev"),
     ENTRY (ATOP),
+    ALIAS (ATOP_REVERSE,		"atoprev"),
     ENTRY (XOR),
     ENTRY (ADD),

More information about the Pixman mailing list