[Wayland-bugs] [Bug 56297] Windows resized very large suffer poor performance
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 8 23:17:06 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=56297
--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
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?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130409/7da4db59/attachment-0001.html>
More information about the Wayland-bugs
mailing list