summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-08-05 15:53:33 -0400
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-08-08 18:50:42 -0400
commit0bc4adae3eb758a2cd9026397c284bd6cc7bcd65 (patch)
treed00b185c48b138f38f012f2366e051a7ccd92519 /test
parent9ee18806a944ddde36dc1b045f89f02d025cbe48 (diff)
Reenable commented-out tests in blitter-test.
The crashes and valgrind issues are all fixed at this point.
Diffstat (limited to 'test')
-rw-r--r--test/blitters-test.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/blitters-test.c b/test/blitters-test.c
index 6ce877c..27fa956 100644
--- a/test/blitters-test.c
+++ b/test/blitters-test.c
@@ -314,7 +314,6 @@ static pixman_op_t op_list[] = {
PIXMAN_OP_SRC,
PIXMAN_OP_OVER,
PIXMAN_OP_ADD,
-#if 0
PIXMAN_OP_CLEAR,
PIXMAN_OP_SRC,
PIXMAN_OP_DST,
@@ -331,9 +330,7 @@ static pixman_op_t op_list[] = {
PIXMAN_OP_SATURATE,
PIXMAN_OP_DISJOINT_CLEAR,
PIXMAN_OP_DISJOINT_SRC,
-#if 0 /* using this crashes the test */
PIXMAN_OP_DISJOINT_DST,
-#endif
PIXMAN_OP_DISJOINT_OVER,
PIXMAN_OP_DISJOINT_OVER_REVERSE,
PIXMAN_OP_DISJOINT_IN,
@@ -345,9 +342,7 @@ static pixman_op_t op_list[] = {
PIXMAN_OP_DISJOINT_XOR,
PIXMAN_OP_CONJOINT_CLEAR,
PIXMAN_OP_CONJOINT_SRC,
-#if 0 /* using this crashes the test */
PIXMAN_OP_CONJOINT_DST,
-#endif
PIXMAN_OP_CONJOINT_OVER,
PIXMAN_OP_CONJOINT_OVER_REVERSE,
PIXMAN_OP_CONJOINT_IN,
@@ -374,7 +369,6 @@ static pixman_op_t op_list[] = {
PIXMAN_OP_HSL_COLOR,
PIXMAN_OP_HSL_LUMINOSITY,
#endif
-#endif
};
static pixman_format_code_t img_fmt_list[] = {
PIXMAN_a8r8g8b8,
@@ -382,7 +376,6 @@ static pixman_format_code_t img_fmt_list[] = {
PIXMAN_r5g6b5,
PIXMAN_r3g3b2,
PIXMAN_a8,
-#if 0
PIXMAN_a8b8g8r8,
PIXMAN_x8b8g8r8,
PIXMAN_b8g8r8a8,
@@ -391,12 +384,10 @@ static pixman_format_code_t img_fmt_list[] = {
PIXMAN_b8g8r8,
PIXMAN_r5g6b5,
PIXMAN_b5g6r5,
-#if 0 /* using these makes valgrind complain */
PIXMAN_x2r10g10b10,
PIXMAN_a2r10g10b10,
PIXMAN_x2b10g10r10,
PIXMAN_a2b10g10r10,
-#endif
PIXMAN_a1r5g5b5,
PIXMAN_x1r5g5b5,
PIXMAN_a1b5g5r5,
@@ -426,16 +417,13 @@ static pixman_format_code_t img_fmt_list[] = {
PIXMAN_a1r1g1b1,
PIXMAN_a1b1g1r1,
PIXMAN_a1,
-#endif
-1
};
static pixman_format_code_t mask_fmt_list[] = {
PIXMAN_a8r8g8b8,
PIXMAN_a8,
-#if 0
PIXMAN_a4,
PIXMAN_a1,
-#endif
-1
};
@@ -505,10 +493,8 @@ test_composite (uint32_t initcrc, int testnum, int verbose)
max_extra_stride, &mask_fmt);
pixman_image_set_repeat (mask_img, PIXMAN_REPEAT_NORMAL);
}
-#if 0 /* using this crashes the test */
if (lcg_rand_n (2))
pixman_image_set_component_alpha (mask_img, 1);
-#endif
}
src_width = pixman_image_get_width (src_img);