commit: Fix 100% CPU usage hovering over large inline images.

From: <msevior_at_physics.unimelb.edu.au>
Date: Sun Mar 13 2005 - 07:26:33 CET

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: text/fmt/xp/fp_FrameContainer.cpp
CVS: text/fmt/xp/fv_InlineImage.cpp
CVS: ----------------------------------------------------------------------
Fix 100% CPU usage hovering over inline images.

We used to make a copy of the image every the mouse moved! I fixed this to
make a copy just the first time.

On the other hand it is *really* slow to import these big jpg's (about 3
megapixels.). It might be possible to speed things up by tweaking the
gdk-pixbuf-loader parameters.

Cheers

Martin
Received on Sun Mar 13 07:27:33 2005

This archive was generated by hypermail 2.1.8 : Sun Mar 13 2005 - 07:27:33 CET