Lines Matching refs:g_dsc
90 static const void * ttf_get_glyph_bitmap_cb(lv_font_glyph_dsc_t * g_dsc, lv_draw_buf_t * draw_buf);
91 static void ttf_release_glyph_cb(const lv_font_t * font, lv_font_glyph_dsc_t * g_dsc);
289 static const void * ttf_get_glyph_bitmap_cb(lv_font_glyph_dsc_t * g_dsc, lv_draw_buf_t * draw_buf) in ttf_get_glyph_bitmap_cb() argument
292 uint32_t glyph_index = g_dsc->gid.index; in ttf_get_glyph_bitmap_cb()
293 const lv_font_t * font = g_dsc->resolved_font; in ttf_get_glyph_bitmap_cb()
305 g_dsc->entry = (lv_cache_entry_t *)search_key.draw_buf; in ttf_get_glyph_bitmap_cb()
306 return g_dsc->entry; in ttf_get_glyph_bitmap_cb()
316 g_dsc->entry = entry; in ttf_get_glyph_bitmap_cb()
321 static void ttf_release_glyph_cb(const lv_font_t * font, lv_font_glyph_dsc_t * g_dsc) in ttf_release_glyph_cb() argument
327 lv_draw_buf_destroy_user(font_draw_buf_handlers, (lv_draw_buf_t *)g_dsc->entry); in ttf_release_glyph_cb()
330 if(g_dsc->entry == NULL) { in ttf_release_glyph_cb()
333 lv_cache_release(dsc->draw_data_cache, g_dsc->entry, NULL); in ttf_release_glyph_cb()
335 g_dsc->entry = NULL; in ttf_release_glyph_cb()