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,7 +45,8 @@ glamor_fill_spans(DrawablePtr drawable,
|
|||
int fullX1, fullX2, fullY1;
|
||||
int partX1, partX2;
|
||||
|
||||
goto fail;
|
||||
if (gc->fillStyle != FillSolid && gc->fillStyle != FillTiled)
|
||||
goto fail;
|
||||
|
||||
extents = REGION_EXTENTS(gc->pScreen, clip);
|
||||
extentX1 = extents->x1;
|
||||
|
@ -101,7 +102,7 @@ glamor_fill_spans(DrawablePtr drawable,
|
|||
}
|
||||
return;
|
||||
fail:
|
||||
glamor_fallback("to %p (%c)\n", drawable,
|
||||
glamor_fallback("glamor_fillspans(): to %p (%c)\n", drawable,
|
||||
glamor_get_drawable_location(drawable));
|
||||
if (glamor_prepare_access(drawable, GLAMOR_ACCESS_RW)) {
|
||||
if (glamor_prepare_access_gc(gc)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user