glamor: Enable glamor_fill_spans().
x11perf -wline100 performance goes from 8.8/sec to 111/sec.
This commit is contained in:
parent
a63df0c504
commit
f88d76cf7e
|
@ -45,6 +45,7 @@ glamor_fill_spans(DrawablePtr drawable,
|
||||||
int fullX1, fullX2, fullY1;
|
int fullX1, fullX2, fullY1;
|
||||||
int partX1, partX2;
|
int partX1, partX2;
|
||||||
|
|
||||||
|
if (gc->fillStyle != FillSolid && gc->fillStyle != FillTiled)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
extents = REGION_EXTENTS(gc->pScreen, clip);
|
extents = REGION_EXTENTS(gc->pScreen, clip);
|
||||||
|
@ -101,7 +102,7 @@ glamor_fill_spans(DrawablePtr drawable,
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
fail:
|
fail:
|
||||||
glamor_fallback("to %p (%c)\n", drawable,
|
glamor_fallback("glamor_fillspans(): to %p (%c)\n", drawable,
|
||||||
glamor_get_drawable_location(drawable));
|
glamor_get_drawable_location(drawable));
|
||||||
if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW)) {
|
if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW)) {
|
||||||
if (glamor_prepare_access_gc(gc)) {
|
if (glamor_prepare_access_gc(gc)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user