<div dir="ltr">Why would xeyes generate a large number of rectangles in a composited environment? Are you talking about the initial expose?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 4:49 PM, Keith Packard <span dir="ltr"><<a href="mailto:keithp@keithp.com" target="_blank">keithp@keithp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>> writes:<br>
<br>
> In attempting to get the Always mode of backing store working again, I<br>
> felt the urge to clean the place up a bit. The most notable change here<br>
> is removing the (questionable) optimization from exposure event generation<br>
> to emit a bounding-box event when faced with more than 25 rects in the<br>
> exposed region. Given that toolkits already coalesce consecutive expose<br>
> boxes, and that you'll never hit it in a composited environment anyway,<br>
> the complexity doesn't seem justified.<br>
<br>
</span>This was written to address shaped windows, which can still generate a<br>
large number of rectangles, even in a composited environment. I think<br>
xeyes was the original test case; a full-screen xeyes window has a<br>
couple thousand rectangles, or about 64kB of data.<br>
<br>
I suspect an xeyes-specific optimization is not all that useful to keep<br>
around, but I fear that some user somewhere is taking advantage of this...<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="mailto:keith.packard@intel.com">keith.packard@intel.com</a><br>
</font></span><br>_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>