[Bug 80033] [sna] Occasional artifacts on window borders (theme dependent)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 19 03:58:17 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80033

--- Comment #27 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to comment #26)
> Btw a 9x2px bottom xpm (ie with a width >8px) causes the border to be
> rendered correctly.

Right, 8x8 is the magic size that the hardware accelerates. Smaller than that
and we try and build an 8x8 tile out of the smaller unit. Larger than that, we
try to extract an 8x8 tile for automatic repetition, or otherwise we manually
repeat the pattern.


> (In reply to comment #23)
> > > And another observation (tested with commit
> > > d49f53cc00258e3b1e1a898c02e219b336716002, because it's much easier to
> > > reproduce): The stripes appear if the bottom border is >1009px (or 1013 if
> > > one includes the corner pixmaps).
> > 
> > I believe that is just the theme deciding to use a staging pixmap for wide
> > outlines. (Incorrectly, I might add since the hardware is more efficient
> > doing the operation in place twice than once to a pixmap then copying it.)
> 
> Any chance the theme engine screws things up?

Just misses the hw fast path. The corruption here is entirely the drivers
fault.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140619/4da037f4/attachment.html>


More information about the intel-gfx-bugs mailing list