gimppreviewcache

gimppreviewcache

Synopsis

#define             PREVIEW_CACHE_PRIME_WIDTH
#define             PREVIEW_CACHE_PRIME_HEIGHT
TempBuf *           gimp_preview_cache_get              (GSList **plist,
                                                         gint width,
                                                         gint height);
void                gimp_preview_cache_add              (GSList **plist,
                                                         TempBuf *buf);
void                gimp_preview_cache_invalidate       (GSList **plist);
gsize               gimp_preview_cache_get_memsize      (GSList *cache);

Description

Details

PREVIEW_CACHE_PRIME_WIDTH

#define PREVIEW_CACHE_PRIME_WIDTH  112


PREVIEW_CACHE_PRIME_HEIGHT

#define PREVIEW_CACHE_PRIME_HEIGHT 112


gimp_preview_cache_get ()

TempBuf *           gimp_preview_cache_get              (GSList **plist,
                                                         gint width,
                                                         gint height);


gimp_preview_cache_add ()

void                gimp_preview_cache_add              (GSList **plist,
                                                         TempBuf *buf);


gimp_preview_cache_invalidate ()

void                gimp_preview_cache_invalidate       (GSList **plist);


gimp_preview_cache_get_memsize ()

gsize               gimp_preview_cache_get_memsize      (GSList *cache);