summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache_template.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-08-12 06:36:43 +0200
committerGrigori Goronzy <greg@blackbox>2009-08-12 06:36:43 +0200
commit8a12748e0e37adb7d8cda52c95a6c8ee36cf4172 (patch)
treea0e48366341855cb272b846922fff061e8610b9a /libass/ass_cache_template.h
parent8a9ef5e2014068a348cb3e0f965113a827d93cd7 (diff)
downloadlibass-8a12748e0e37adb7d8cda52c95a6c8ee36cf4172.tar.bz2
libass-8a12748e0e37adb7d8cda52c95a6c8ee36cf4172.tar.xz
BorderStyle cache integration
Add new fields to the cache hash key for BorderStyle 3 (glyph cache and bitmap cache).
Diffstat (limited to 'libass/ass_cache_template.h')
-rw-r--r--libass/ass_cache_template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_cache_template.h b/libass/ass_cache_template.h
index 6a6c3f2..19ab00f 100644
--- a/libass/ass_cache_template.h
+++ b/libass/ass_cache_template.h
@@ -79,6 +79,7 @@ START(bitmap, bipmap_hash_key)
FTVECTOR(advance) // subpixel shift vector
FTVECTOR(shadow_offset) // shadow subpixel shift
GENERIC(unsigned, drawing_hash) // hashcode of a drawing
+ GENERIC(unsigned, border_style)
END(BitmapHashKey)
// describes an outline glyph
@@ -93,6 +94,7 @@ START(glyph, glyph_hash_key)
FTVECTOR(outline) // border width, 16.16
GENERIC(unsigned, drawing_hash) // hashcode of a drawing
GENERIC(unsigned, flags) // glyph decoration flags
+ GENERIC(unsigned, border_style)
END(GlyphHashKey)
// Cache for composited bitmaps