<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Windows resized very large suffer poor performance"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56297#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Windows resized very large suffer poor performance"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56297">bug 56297</a>
from <span class="vcard"><a class="email" href="mailto:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>Oh right, this is most likely due to the resize optimization failing in the
toytoolkit (weston's client/window.c).
It has a hardcoded "huge buffer size", which is used during resizes to avoid
reallocating buffers all the time, which increases performance.
However, when you exceed this huge size, it falls back to constantly
reallocating buffers, since they do not fit in the huge size. This could also
waste memory, if the huge buffer if not released when it's useless, IIRC.
A fix would be to implement better heuristics than a hardcoded huge size. Or
maybe we could resize (enlarge) an existing buffer to avoid allocating a
totally new one?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>