diff --git a/perf/benchmark-font.cc b/perf/benchmark-font.cc index 4688d6923..cdf33c369 100644 --- a/perf/benchmark-font.cc +++ b/perf/benchmark-font.cc @@ -40,7 +40,7 @@ enum operation_t nominal_glyphs, glyph_h_advances, glyph_extents, - glyph_shape, + draw_glyph, }; static void @@ -158,7 +158,7 @@ static void BM_Font (benchmark::State &state, hb_font_get_glyph_extents (font, gid, &extents); break; } - case glyph_shape: + case draw_glyph: { hb_draw_funcs_t *draw_funcs = _draw_funcs_create (); for (auto _ : state) @@ -233,7 +233,7 @@ int main(int argc, char** argv) TEST_OPERATION (nominal_glyphs, benchmark::kMicrosecond); TEST_OPERATION (glyph_h_advances, benchmark::kMicrosecond); TEST_OPERATION (glyph_extents, benchmark::kMicrosecond); - TEST_OPERATION (glyph_shape, benchmark::kMicrosecond); + TEST_OPERATION (draw_glyph, benchmark::kMicrosecond); #undef TEST_OPERATION