[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] NetSurf menu redraw / was: Menu redraw

2013/4/15 Ole <ole@monochrom.net>
Am Montag, den 15.04.2013, 08:40 +0200 schrieb "J. F. Lemaire" <jflemaire@skynet.be>:

I wouldn't call a FireBee very old :-D

True, but the CPU isn't so modern, so you sometimes have to lower effects / gimmicks to get
best performance.

Maybe you could have a lazy resize function and use a rendering area which is slightly larger than the size of the window. Tried this for another project (which required lots of stuff to happen when resizing the window), and it can turn out well in practice provided that the user follows a "normal" usage pattern for window resizing. Memory allocation would obviously have to be lazy too, or you'll cause fragmentation problems. I used a scheduler + timer for this stuff, and did garbage collection or memory resizing based on timer + user activity timeout.