NetSurf
Data Fields
image_cache_entry_s Struct Reference

Image cache entry. More...

Collaboration diagram for image_cache_entry_s:
[legend]

Data Fields

struct image_cache_entry_snext
 next cache entry in list More...
 
struct image_cache_entry_sprev
 previous cache entry in list More...
 
struct contentcontent
 content is used as a key More...
 
struct bitmapbitmap
 associated bitmap entry More...
 
image_cache_convert_fnconvert
 routine to convert content into bitmap More...
 
unsigned int redraw_count
 number of times object has been drawn More...
 
cache_age redraw_age
 Age of last redraw. More...
 
size_t bitmap_size
 size if storage occupied by bitmap More...
 
cache_age bitmap_age
 Age of last conversion to a bitmap by cache. More...
 
int conversion_count
 Number of times image has been converted. More...
 

Detailed Description

Image cache entry.

Definition at line 53 of file image_cache.c.

Field Documentation

◆ bitmap

struct bitmap* image_cache_entry_s::bitmap

◆ bitmap_age

cache_age image_cache_entry_s::bitmap_age

Age of last conversion to a bitmap by cache.

Definition at line 69 of file image_cache.c.

Referenced by image_cache__free_bitmap(), image_cache_snentryf(), and image_cache_stats_bitmap_add().

◆ bitmap_size

size_t image_cache_entry_s::bitmap_size

◆ content

struct content* image_cache_entry_s::content

content is used as a key

Definition at line 58 of file image_cache.c.

Referenced by image_cache__find(), image_cache_add(), image_cache_get_bitmap(), image_cache_redraw(), and image_cache_snentryf().

◆ conversion_count

int image_cache_entry_s::conversion_count

Number of times image has been converted.

Definition at line 71 of file image_cache.c.

Referenced by image_cache_snentryf(), and image_cache_stats_bitmap_add().

◆ convert

image_cache_convert_fn* image_cache_entry_s::convert

routine to convert content into bitmap

Definition at line 62 of file image_cache.c.

Referenced by image_cache_add(), image_cache_get_bitmap(), and image_cache_redraw().

◆ next

struct image_cache_entry_s* image_cache_entry_s::next

next cache entry in list

Definition at line 54 of file image_cache.c.

Referenced by image_cache__clean(), image_cache__find(), image_cache__findn(), image_cache__link(), and image_cache__unlink().

◆ prev

struct image_cache_entry_s* image_cache_entry_s::prev

previous cache entry in list

Definition at line 55 of file image_cache.c.

Referenced by image_cache__link(), and image_cache__unlink().

◆ redraw_age

cache_age image_cache_entry_s::redraw_age

Age of last redraw.

Definition at line 67 of file image_cache.c.

Referenced by image_cache__clean(), image_cache_redraw(), and image_cache_snentryf().

◆ redraw_count

unsigned int image_cache_entry_s::redraw_count

number of times object has been drawn

Definition at line 66 of file image_cache.c.

Referenced by image_cache__free_bitmap(), image_cache__free_entry(), image_cache_redraw(), and image_cache_snentryf().


The documentation for this struct was generated from the following file: