Am 17.10.2007 um 20:07 schrieb Joost Verburg:

Andre Poenitz wrote:
On Wed, Oct 17, 2007 at 05:57:12PM +0200, Stefan Schimanski wrote:
The patch is simple: Open GuiPainter.cpp. At the top is a #define macro which can be set as you like to enable or disable the cache.
Could that be a command line option?

Why not a normal preference? The cache could be disabled by default but users with old computers can enable it for better performance with less font quality.

Some general questions about the whole pixmap cache approach:

1. How many pixmaps are cached?
2. I guess the main speedup happens when the screen is slowly scrolled, i.e. most of the content is the same as before, but just shifted a bit. Did anybody measure the speedup in this case? 3. Is there any speedup or slowdown when scrolling fast, i.e. by dragging the scrollbar or pressing page up/down? I guess then many pixmaps are created and thrown away all the time. 4. If only slow scrolling is made faster, wouldn't it be better and easier to cache paragraphs which are not changed (then we don't need the transparent pixmaps anymore and sub-pixel rendering is no problem anymore)? 5. ... or to directly shift the screen by bitblt'ing the backing pixmap up or down?

Stefan

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to