glamor: add alu support to setspans.

This commit is contained in:
Eric Anholt 2009-08-24 08:29:30 -07:00 committed by Zhigang Gong
parent c70ce72fd7
commit 882411bef1

View File

@ -72,6 +72,7 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
if (!glamor_set_destination_pixmap(dest_pixmap))
return;
glamor_set_alu(gc->alu);
for (i = 0; i < n; i++) {
if (temp_src) {
for (j = 0; j < widths[i]; j++) {
@ -94,5 +95,6 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
drawpixels_src += PixmapBytePad(widths[i], drawable->depth);
}
}
glamor_set_alu(GXcopy);
xfree(temp_src);
}