[Vm-dev] [Pharo-dev] Points, Free type fonts cache and memory leaks

Denis Kudriashov dionisiydk at gmail.com
Tue Feb 14 15:20:38 UTC 2017

2017-02-14 16:12 GMT+01:00 Ben Coman <btc at openinworld.com>:

> Even though these get cleared out, its still extra work for the GC.
> Presumably most of the time the display size is identical to the last one,
> so I wonder if the existing screen size might be passed to the primitive to
> test and avoid creating a new new point if its the same.  Off the top of my
> head, something like this (untested)...
>   MorphicUIManager >> checkForNewDisplaySize
> Display hasScreenSizeChanged ifFalse: [^ Display].
> DisplayScreen startUp.
> World restoreMorphicDisplay.

I hope with SDL we will be able remove such loops. There is
OSWindowResizeEvent which can be handled immediately when it's happened
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170214/f6de23ee/attachment.html>

More information about the Vm-dev mailing list