Searched defs:max_glyphs (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/ui/gfx/
H A Drender_text_win.cc1201 size_t max_glyphs = static_cast<size_t>(1.5 * run_length + 16); local
1202 while (hr == E_OUTOFMEMORY && max_glyphs <= kMaxGlyphs) {
1204 run->glyphs.reset(new WORD[max_glyphs]);
1205 run->visible_attributes.reset(new SCRIPT_VISATTR[max_glyphs]);
1207 max_glyphs, &run->script_analysis, run->glyphs.get(),
1211 max_glyphs = std::max(max_glyphs + 1, std::min(max_glyphs * 2, kMaxGlyphs));

Completed in 102 milliseconds