Re: [PATCH 23/27] glamor: Improve the performance of line fallbacks.

2014-03-12 Thread Markus Wick
Is there a generic mi fallback for all poly_lines? If not, I'd suggest to move this logic into mi itself. Am 2014-03-11 22:30, schrieb Eric Anholt: If the lines aren't solid-filled vert/horiz solid-filled rectangles, we fall back. libreoffice has some diagonal lines, and the performance of

[PATCH 23/27] glamor: Improve the performance of line fallbacks.

2014-03-11 Thread Eric Anholt
If the lines aren't solid-filled vert/horiz solid-filled rectangles, we fall back. libreoffice has some diagonal lines, and the performance of the fallback path was atrocious. Just fall back to mi's spans instead, so that we don't do an upload/download. Improves x11perf -seg100 by 863.652% +/-