summaryrefslogtreecommitdiff
path: root/obrender/imagecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'obrender/imagecache.h')
-rw-r--r--obrender/imagecache.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/obrender/imagecache.h b/obrender/imagecache.h
index a61fae67..9baf34bb 100644
--- a/obrender/imagecache.h
+++ b/obrender/imagecache.h
@@ -45,11 +45,14 @@ struct _RrImageCache {
*/
gint max_resized_saved;
- GHashTable *table;
-
- /* Used to find out if an image file has already been loaded.
- Quick file_name -> RrImage lookup. */
- GHashTable *file_name_table;
+ /*! A hash table of images 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.
+ Provides a quick file_name -> RrImage lookup. */
+ GHashTable *name_table;
};
#endif