Add a cache of pixmaps for recently exposed frame areas. Makes metacity a

Sun Jun 26 11:19:18 2005  Soeren Sandmann  <sandmann@redhat.com>

	* src/frames.c: Add a cache of pixmaps for recently exposed frame
	areas. Makes metacity a bit faster when dragging windows around.
	See bug 141813.
This commit is contained in:
Soeren Sandmann
2005-06-26 21:58:37 +00:00
committed by Søren Sandmann Pedersen
parent a85aea8b18
commit 947e45d27d
3 changed files with 395 additions and 45 deletions

View File

@ -90,6 +90,10 @@ struct _MetaFrames
MetaUIFrame *last_motion_frame;
int expose_delay_count;
int invalidate_cache_timeout_id;
GList *invalidate_frames;
GHashTable *cache;
};
struct _MetaFramesClass