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

--- Comment #1 from Pekka Paalanen <[email protected]> ---
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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to