Big rework of image.c and the image cache system.
[dana/openbox.git] / obrender / imagecache.h
index 4ad2dea..f9f5e4d 100644 (file)
@@ -45,7 +45,14 @@ struct _RrImageCache {
     */
     gint max_resized_saved;
 
-    GHashTable *table;
+    /*! A hash table of image sets in the cache that don't have a file name
+      attached to them, with their key being a hash of the contents of the
+      image. */
+    GHashTable *pic_table;
+
+    /*! Used to find out if an image file has already been loaded into an
+      image set. Provides a quick file_name -> RrImageSet lookup. */
+    GHashTable *name_table;
 };
 
 #endif