<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Luciano,<br>
<br>
On 1/28/2022 2:04 PM, Luciano Notarfrancesco via Cuis-dev wrote:
<blockquote
cite="mid:CAL5GDyovCpRdddXxLTcXXMLTqicxkPycR12BcRLVpxcoL28y+A@mail.gmail.com"
type="cite">
<div>
<div dir="auto">Fantastic, this solved most of the problems,
thank you! I’m using HybridCanvas for now and it feels very
smooth.</div>
</div>
</blockquote>
<br>
Good.<br>
<br>
<blockquote
cite="mid:CAL5GDyovCpRdddXxLTcXXMLTqicxkPycR12BcRLVpxcoL28y+A@mail.gmail.com"
type="cite">
<div>
<div dir="auto">Part of the problem was that my window manager
was stepping every 1 second to make sure that windows were
properly layedout (to account for when the Cuis window changes
size, for example). This was a bug, and was causing everything
to be redrawn every second, but it was not slow enough to be
noticeable until I tried it with full vector graphics. Now I
fixed it to avoid unnecessary redraws. <br>
</div>
</div>
</blockquote>
<br>
Excellent!<br>
<br>
<blockquote
cite="mid:CAL5GDyovCpRdddXxLTcXXMLTqicxkPycR12BcRLVpxcoL28y+A@mail.gmail.com"
type="cite">
<div>
<div>I still think there might be a bug somewhere. The fact that
a browser with halo feels slower than a browser with no halo
is kind of weird. Also text input shouldn’t feel much slower
with vector graphics, I suspect something is being
unnecessarily redrawn on every keystroke.<br>
</div>
</div>
</blockquote>
<br>
Running the stock Cuis image I don't see either of those problems.
Can you share the image you are using so I can see and try to
understand the problem?<br>
<br>
Thanks,<br>
<br>
<blockquote
cite="mid:CAL5GDyovCpRdddXxLTcXXMLTqicxkPycR12BcRLVpxcoL28y+A@mail.gmail.com"
type="cite">
<div>
<div>
<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> Hi Luciano,<br>
<br>
This may be due to using VectorCanvas for all drawing.
Try evaluating `MorphicCanvas activeSubclass:
HybridCanvas.` to use BitBlt for unzoomed/unrotated
windows, with full VG capabilities, or `MorphicCanvas
activeSubclass: BitBltCanvas.` to completely disable VG
(while keeping TTF working).<br>
<br>
Please tell how it goes.<br>
<br>
Thanks,<br>
<pre style="font-family: monospace;" cols="72">--
Juan Vuletich
<a moz-do-not-send="true" href="http://www.cuis-smalltalk.org" style="font-family: monospace;" target="_blank">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" style="font-family: monospace;" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich" style="font-family: monospace;" target="_blank">https://github.com/jvuletich</a>
<a moz-do-not-send="true" href="https://www.linkedin.com/in/juan-vuletich-75611b3" style="font-family: monospace;" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a moz-do-not-send="true" href="https://independent.academia.edu/JuanVuletich" style="font-family: monospace;" target="_blank">https://independent.academia.edu/JuanVuletich</a>
<a moz-do-not-send="true" href="https://www.researchgate.net/profile/Juan-Vuletich" style="font-family: monospace;" target="_blank">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a moz-do-not-send="true" href="https://patents.justia.com/inventor/juan-manuel-vuletich" style="font-family: monospace;" target="_blank">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
@JuanVuletich</pre>
</div>
</blockquote>
</div>
</div>
</div>
<div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
@JuanVuletich</pre>
</body>
</html>