Shuffle buffer variable allocations around

To room for more allocations, coming.
This commit is contained in:
Behdad Esfahbod 2012-08-09 21:48:55 -04:00
parent 8d1eef3f32
commit cd0c6e148f
5 changed files with 10 additions and 11 deletions

View File

@ -39,9 +39,9 @@
/* buffer var allocations, used during the GSUB/GPOS processing */
#define glyph_props() var1.u16[1] /* GDEF glyph properties */
#define syllable() var2.u8[0] /* GSUB/GPOS shaping boundaries */
#define lig_props() var2.u8[1] /* GSUB/GPOS ligature tracking */
#define glyph_props() var1.u16[0] /* GDEF glyph properties */
#define syllable() var1.u8[2] /* GSUB/GPOS shaping boundaries */
#define lig_props() var1.u8[3] /* GSUB/GPOS ligature tracking */
#define hb_ot_layout_from_face(face) ((hb_ot_layout_t *) face->shaper_data.ot)

View File

@ -30,7 +30,7 @@
/* buffer var allocations */
#define arabic_shaping_action() complex_var_temporary_u8() /* arabic shaping action */
#define arabic_shaping_action() complex_var_u8_0() /* arabic shaping action */
/*

View File

@ -35,8 +35,8 @@
/* buffer var allocations */
#define indic_category() complex_var_persistent_u8_0() /* indic_category_t */
#define indic_position() complex_var_persistent_u8_1() /* indic_matra_category_t */
#define indic_category() complex_var_u8_0() /* indic_category_t */
#define indic_position() complex_var_u8_1() /* indic_matra_category_t */
#define INDIC_TABLE_ELEMENT_TYPE uint8_t

View File

@ -35,9 +35,8 @@
/* buffer var allocations, used by complex shapers */
#define complex_var_persistent_u8_0() var2.u8[2]
#define complex_var_persistent_u8_1() var2.u8[3]
#define complex_var_temporary_u8() var2.u8[0]
#define complex_var_u8_0() var2.u8[2]
#define complex_var_u8_1() var2.u8[3]

View File

@ -34,8 +34,8 @@
/* buffer var allocations, used during the entire shaping process */
#define unicode_props0() var1.u8[0]
#define unicode_props1() var1.u8[1]
#define unicode_props0() var2.u8[0]
#define unicode_props1() var2.u8[1]