diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-03 19:25:01 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-03 19:25:01 +0100 |
commit | 143e553593477ba42ecbda9858436e66aaf56d2c (patch) | |
tree | 870425b20f31a1805dd8d707f2428f338d41fce9 /riscos/bitmap.h | |
parent | d041594fd9b793816e62a3209e6877c8055b7e3e (diff) | |
download | netsurf-143e553593477ba42ecbda9858436e66aaf56d2c.tar.gz netsurf-143e553593477ba42ecbda9858436e66aaf56d2c.tar.bz2 |
Remove redundant bitmap compression/decompression/dropping-to-disc. The core now has a converted bitmap cache that is pruned more agressively.
Diffstat (limited to 'riscos/bitmap.h')
-rw-r--r-- | riscos/bitmap.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/riscos/bitmap.h b/riscos/bitmap.h index 1253830cc..43a00a53c 100644 --- a/riscos/bitmap.h +++ b/riscos/bitmap.h @@ -34,33 +34,9 @@ struct bitmap { void *private_word; osspriteop_area *sprite_area; /** Uncompressed data, or NULL */ - char *compressed; /** Compressed data, or NULL */ - char filename[12]; /** Data filename, or '/0' */ - - struct bitmap *previous; /** Previous bitmap */ - struct bitmap *next; /** Next bitmap */ }; void bitmap_overlay_sprite(struct bitmap *bitmap, const osspriteop_header *s); -void bitmap_initialise_memory(void); -void bitmap_quit(void); -void bitmap_maintain(void); - -/** Whether maintenance of the pool states is needed -*/ -extern bool bitmap_maintenance; - -/** Whether maintenance of the pool is high priority -*/ -extern bool bitmap_maintenance_priority; - -/** Maximum amount of memory for direct images -*/ -extern unsigned int bitmap_direct_size; - -/** Total size of compressed area -*/ -extern unsigned int bitmap_compressed_size; #endif |