glamor: add alu support to setspans.
This commit is contained in:
parent
c70ce72fd7
commit
882411bef1
|
@ -72,6 +72,7 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
|
||||||
|
|
||||||
if (!glamor_set_destination_pixmap(dest_pixmap))
|
if (!glamor_set_destination_pixmap(dest_pixmap))
|
||||||
return;
|
return;
|
||||||
|
glamor_set_alu(gc->alu);
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
if (temp_src) {
|
if (temp_src) {
|
||||||
for (j = 0; j < widths[i]; j++) {
|
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);
|
drawpixels_src += PixmapBytePad(widths[i], drawable->depth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
glamor_set_alu(GXcopy);
|
||||||
xfree(temp_src);
|
xfree(temp_src);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user