summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-06-07 17:03:30 +0200
committerGrigori Goronzy <greg@blackbox>2011-06-07 17:10:30 +0200
commit988166104ed0cc6c27edee8ca60fbd549369d13c (patch)
tree092745a7075f17b70331ccac082426560d8e09e9 /libass/ass_render.h
parent07ce715629e3b5b39e4a4def724d649222f53f2f (diff)
downloadlibass-988166104ed0cc6c27edee8ca60fbd549369d13c.tar.bz2
libass-988166104ed0cc6c27edee8ca60fbd549369d13c.tar.xz
Much improved cache/hashmap implementation
- less code, cleaner - decoupled from ASS_Library - better data encapsulation - simpler interface - avoids a nasty hack
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index db6d861..e19bd07 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -203,10 +203,10 @@ typedef struct {
} RenderContext;
typedef struct {
- Hashmap *font_cache;
- Hashmap *glyph_cache;
- Hashmap *bitmap_cache;
- Hashmap *composite_cache;
+ Cache *font_cache;
+ Cache *glyph_cache;
+ Cache *bitmap_cache;
+ Cache *composite_cache;
size_t glyph_max;
size_t bitmap_max_size;
} CacheStore;