提交 cd0c6e14 编写于 作者: B Behdad Esfahbod

Shuffle buffer variable allocations around

To room for more allocations, coming.
上级 8d1eef3f
......@@ -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)
......
......@@ -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 */
/*
......
......@@ -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
......
......@@ -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]
......
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册