summaryrefslogtreecommitdiff
path: root/src/hb-shape-plan.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-07-27 04:02:38 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-07-27 04:20:39 -0400
commit2f87cebe1062c7007021ebd05c1664e60da80825 (patch)
treef84b8d260e41b45ebeb7c47dfcde2befed6df1c9 /src/hb-shape-plan.h
parente9eb9503e97044222f843daacfa47e26e51312b7 (diff)
Implement shape_plan caching
Should give us some performance boost.
Diffstat (limited to 'src/hb-shape-plan.h')
-rw-r--r--src/hb-shape-plan.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hb-shape-plan.h b/src/hb-shape-plan.h
index a4786a82..fbce5ddf 100644
--- a/src/hb-shape-plan.h
+++ b/src/hb-shape-plan.h
@@ -47,6 +47,13 @@ hb_shape_plan_create (hb_face_t *face,
unsigned int num_user_features,
const char * const *shaper_list);
+hb_shape_plan_t *
+hb_shape_plan_create_cached (hb_face_t *face,
+ const hb_segment_properties_t *props,
+ const hb_feature_t *user_features,
+ unsigned int num_user_features,
+ const char * const *shaper_list);
+
HB_INTERNAL hb_shape_plan_t *
hb_shape_plan_get_empty (void);