[Wayland-bugs] [Bug 93094] Protocol: colored buffer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 25 11:19:51 PST 2015


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

--- Comment #4 from phizh <phizhed at gmail.com> ---
> I don't understand why moving the cursor would cause CPU load. We need a lot
> more information about the implementations involved to reply to that. It
> sounds like something (the application?) is redrawing or posting damage when
> there is none.
Press down mouse click the corner of the window and slow or chaotic move the
cursor, thereby causing frequent redraws when you resize the window and load
CPU. I understand that this is a problem of optimization toolkits. But even
demos from weston's have similar problems. Resizing window: +1 width or height,
+1, +1, +1, +1...... => redrawing background, redrawing, redrawing,
redrawing.....
http://cgit.freedesktop.org/wayland/weston/tree/clients/editor.c#n721


The reality is that _each_ program fills color to shm, and I want that the
programs to use is _already filled shm_.

To do this, and need a unified standard in the role of the protocol, to save
more, more and more memory. Laptops 12" with 4K displays are not uncommon, and
if you add another connection to an external monitor... A dozen running apps
with one theme (and same colors) and the resulting inefficient use of memory
for storage of colors and the load when redrawing this.

> But you talk about an X application. Is this CPU usage issue specific to
> Xwayland?
Specific for wayland, X's, Xwayland and gtk, qt, winforms..... - everywhere.

-- 
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/20151125/b6f95f2c/attachment.html>


More information about the wayland-bugs mailing list