pixman: Branch 'master'
Søren Sandmann Pedersen
sandmann at kemper.freedesktop.org
Sun Jul 29 08:02:54 PDT 2012
test/composite.c | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 1dcca0f7ae64e9a96f2feba85dd728c636744009
Author: Antti S. Lankila <alankila at bel.fi>
Date: Sat Jul 28 14:02:42 2012 +0300
Remove unnecessary dst initialization
The initialization work is already performed correctly in image_init().
diff --git a/test/composite.c b/test/composite.c
index bdecd75..81c416e 100644
--- a/test/composite.c
+++ b/test/composite.c
@@ -524,17 +524,8 @@ composite_test (image_t *dst,
pixman_bool_t component_alpha,
int testno)
{
- pixman_color_t fill;
color_t expected, tdst, tsrc, tmsk;
pixel_checker_t checker;
- pixman_image_t *solid;
-
- /* Initialize dst */
- compute_pixman_color (dst->color, &fill);
- solid = pixman_image_create_solid_fill (&fill);
- pixman_image_composite32 (PIXMAN_OP_SRC, solid, NULL, dst->image,
- 0, 0, 0, 0, 0, 0, dst->size, dst->size);
- pixman_image_unref (solid);
if (mask)
{
More information about the xorg-commit
mailing list