• Home
  • Raw
  • Download

Lines Matching refs:glyph

66 free_glyph (glyph_t *glyph)  in free_glyph()  argument
68 pixman_list_unlink (&glyph->mru_link); in free_glyph()
69 pixman_image_unref (glyph->image); in free_glyph()
70 free (glyph); in free_glyph()
118 glyph_t *glyph) in insert_glyph() argument
123 idx = hash (glyph->font_key, glyph->glyph_key); in insert_glyph()
137 *loc = glyph; in insert_glyph()
142 glyph_t *glyph) in remove_glyph() argument
146 idx = hash (glyph->font_key, glyph->glyph_key); in remove_glyph()
147 while (cache->glyphs[idx & HASH_MASK] != glyph) in remove_glyph()
173 glyph_t *glyph = cache->glyphs[i]; in clear_table() local
175 if (glyph && glyph != TOMBSTONE) in clear_table()
176 free_glyph (glyph); in clear_table()
235 glyph_t *glyph = CONTAINER_OF (glyph_t, mru_link, cache->mru.tail); in pixman_glyph_cache_thaw() local
237 remove_glyph (cache, glyph); in pixman_glyph_cache_thaw()
238 free_glyph (glyph); in pixman_glyph_cache_thaw()
259 glyph_t *glyph; in pixman_glyph_cache_insert() local
271 if (!(glyph = malloc (sizeof *glyph))) in pixman_glyph_cache_insert()
274 glyph->font_key = font_key; in pixman_glyph_cache_insert()
275 glyph->glyph_key = glyph_key; in pixman_glyph_cache_insert()
276 glyph->origin_x = origin_x; in pixman_glyph_cache_insert()
277 glyph->origin_y = origin_y; in pixman_glyph_cache_insert()
279 if (!(glyph->image = pixman_image_create_bits ( in pixman_glyph_cache_insert()
282 free (glyph); in pixman_glyph_cache_insert()
287 image, NULL, glyph->image, 0, 0, 0, 0, 0, 0, in pixman_glyph_cache_insert()
290 if (PIXMAN_FORMAT_A (glyph->image->bits.format) != 0 && in pixman_glyph_cache_insert()
291 PIXMAN_FORMAT_RGB (glyph->image->bits.format) != 0) in pixman_glyph_cache_insert()
293 pixman_image_set_component_alpha (glyph->image, TRUE); in pixman_glyph_cache_insert()
296 pixman_list_prepend (&cache->mru, &glyph->mru_link); in pixman_glyph_cache_insert()
298 _pixman_image_validate (glyph->image); in pixman_glyph_cache_insert()
299 insert_glyph (cache, glyph); in pixman_glyph_cache_insert()
301 return glyph; in pixman_glyph_cache_insert()
309 glyph_t *glyph; in pixman_glyph_cache_remove() local
311 if ((glyph = lookup_glyph (cache, font_key, glyph_key))) in pixman_glyph_cache_remove()
313 remove_glyph (cache, glyph); in pixman_glyph_cache_remove()
315 free_glyph (glyph); in pixman_glyph_cache_remove()
332 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; in pixman_glyph_get_extents() local
335 x1 = glyphs[i].x - glyph->origin_x; in pixman_glyph_get_extents()
336 y1 = glyphs[i].y - glyph->origin_y; in pixman_glyph_get_extents()
337 x2 = glyphs[i].x - glyph->origin_x + glyph->image->bits.width; in pixman_glyph_get_extents()
338 y2 = glyphs[i].y - glyph->origin_y + glyph->image->bits.height; in pixman_glyph_get_extents()
364 const glyph_t *glyph = glyphs[i].glyph; in pixman_glyph_get_mask_format() local
365 pixman_format_code_t glyph_format = glyph->image->bits.format; in pixman_glyph_get_mask_format()
440 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; in pixman_composite_glyphs_no_mask() local
441 pixman_image_t *glyph_img = glyph->image; in pixman_composite_glyphs_no_mask()
448 glyph_box.x1 = dest_x + glyphs[i].x - glyph->origin_x; in pixman_composite_glyphs_no_mask()
449 glyph_box.y1 = dest_y + glyphs[i].y - glyph->origin_y; in pixman_composite_glyphs_no_mask()
450 glyph_box.x2 = glyph_box.x1 + glyph->image->bits.width; in pixman_composite_glyphs_no_mask()
451 glyph_box.y2 = glyph_box.y1 + glyph->image->bits.height; in pixman_composite_glyphs_no_mask()
477 info.mask_x = composite_box.x1 - (dest_x + glyphs[i].x - glyph->origin_x); in pixman_composite_glyphs_no_mask()
478 info.mask_y = composite_box.y1 - (dest_y + glyphs[i].y - glyph->origin_y); in pixman_composite_glyphs_no_mask()
491 pixman_list_move_to_front (&cache->mru, &glyph->mru_link); in pixman_composite_glyphs_no_mask()
534 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; in add_glyphs() local
535 pixman_image_t *glyph_img = glyph->image; in add_glyphs()
584 glyph_box.x1 = glyphs[i].x - glyph->origin_x + off_x; in add_glyphs()
585 glyph_box.y1 = glyphs[i].y - glyph->origin_y + off_y; in add_glyphs()
586 glyph_box.x2 = glyph_box.x1 + glyph->image->bits.width; in add_glyphs()
587 glyph_box.y2 = glyph_box.y1 + glyph->image->bits.height; in add_glyphs()
608 pixman_list_move_to_front (&cache->mru, &glyph->mru_link); in add_glyphs()