summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Heiland-Allen <claude@mathr.co.uk>2021-03-07 23:38:57 +0000
committerSimon Ser <contact@emersion.fr>2022-11-03 12:51:47 +0000
commit40d6c9b256ed4a5805c9296392e7af0d9e329455 (patch)
treed823da4b90ac4033dc53ea58ce4fa36c6ed97d16
parent83ba0244838217714d387834cf2ea4eef04a3206 (diff)
downloadpixman-40d6c9b256ed4a5805c9296392e7af0d9e329455.tar.gz
add r8g8b8 sRGB to test suite
Signed-off-by: Claude Heiland-Allen <claude@mathr.co.uk>
-rw-r--r--test/composite.c1
-rw-r--r--test/stress-test.c1
-rw-r--r--test/utils.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/composite.c b/test/composite.c
index 594c697..8d95046 100644
--- a/test/composite.c
+++ b/test/composite.c
@@ -92,6 +92,7 @@ static const pixman_format_code_t formats[] =
/* sRGB formats */
PIXMAN_a8r8g8b8_sRGB,
+ PIXMAN_r8g8b8_sRGB,
/* 24 bpp formats */
PIXMAN_r8g8b8,
diff --git a/test/stress-test.c b/test/stress-test.c
index 13d9979..8ee1896 100644
--- a/test/stress-test.c
+++ b/test/stress-test.c
@@ -28,6 +28,7 @@ static const pixman_format_code_t image_formats[] =
PIXMAN_r8g8b8,
PIXMAN_b8g8r8,
PIXMAN_a8r8g8b8_sRGB,
+ PIXMAN_r8g8b8_sRGB,
PIXMAN_r5g6b5,
PIXMAN_b5g6r5,
PIXMAN_x2r10g10b10,
diff --git a/test/utils.c b/test/utils.c
index 1c64cee..23bf019 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -1249,6 +1249,7 @@ static const format_entry_t format_list[] =
/* sRGB formats */
ENTRY (a8r8g8b8_sRGB),
+ ENTRY (r8g8b8_sRGB),
/* 24bpp formats */
ENTRY (r8g8b8),