[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),
     ENTRY (OVER_REVERSE),
+    ALIAS (OVER_REVERSE,		"overrev"),
     ENTRY (IN),
     ENTRY (IN_REVERSE),
+    ALIAS (IN_REVERSE,			"inrev"),
     ENTRY (OUT),
     ENTRY (OUT_REVERSE),
+    ALIAS (OUT_REVERSE,			"outrev"),
     ENTRY (ATOP),
     ENTRY (ATOP_REVERSE),
+    ALIAS (ATOP_REVERSE,		"atoprev"),
     ENTRY (XOR),
     ENTRY (ADD),
     ENTRY (SATURATE),
-- 
2.0.5



More information about the Pixman mailing list