<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Protocol: colored buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93094#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Protocol: colored buffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93094">bug 93094</a>
from <span class="vcard"><a class="email" href="mailto:phizhed@gmail.com" title="phizh <phizhed@gmail.com>"> <span class="fn">phizh</span></a>
</span></b>
<pre><span class="quote">> 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.</span >
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.....
<a href="http://cgit.freedesktop.org/wayland/weston/tree/clients/editor.c#n721">http://cgit.freedesktop.org/wayland/weston/tree/clients/editor.c#n721</a>
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.
<span class="quote">> But you talk about an X application. Is this CPU usage issue specific to
> Xwayland?</span >
Specific for wayland, X's, Xwayland and gtk, qt, winforms..... - everywhere.</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>