Searched refs:cache_key (Results 1 – 1 of 1) sorted by relevance
146 ttf_bitmap_cache_key_t cache_key; in ttf_get_glyph_bitmap_cb() local147 lv_memset(&cache_key, 0, sizeof(cache_key)); /*Zero padding*/ in ttf_get_glyph_bitmap_cb()148 cache_key.unicode_letter = unicode_letter; in ttf_get_glyph_bitmap_cb()149 cache_key.line_height = font->line_height; in ttf_get_glyph_bitmap_cb()151 lv_lru_get(dsc->bitmap_cache, &cache_key, sizeof(cache_key), (void **)&buffer); in ttf_get_glyph_bitmap_cb()164 if(LV_LRU_OK != lv_lru_set(dsc->bitmap_cache, &cache_key, sizeof(cache_key), buffer, szb)) { in ttf_get_glyph_bitmap_cb()