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/gui.c | |
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/gui.c')
-rw-r--r-- | riscos/gui.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index fc857f20c..9b3bf4a92 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -483,9 +483,6 @@ static void gui_init(int argc, char** argv) /* Initialise save complete functionality */ save_complete_init(); - /* Initialise bitmap memory pool */ - bitmap_initialise_memory(); - /* Load in visited URLs and Cookies */ urldb_load(nsoption_charp(url_path)); urldb_load_cookies(nsoption_charp(cookie_file)); @@ -921,7 +918,6 @@ int main(int argc, char** argv) void gui_quit(void) { - bitmap_quit(); urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_save)); ro_gui_window_quit(); @@ -1037,8 +1033,8 @@ void gui_poll(bool active) track_poll_offset = ro_mouse_poll_interval(); if (active) { event = wimp_poll(mask, &block, 0); - } else if (sched_active || (track_poll_offset > 0) || browser_reformat_pending || - bitmap_maintenance) { + } else if (sched_active || (track_poll_offset > 0) || + browser_reformat_pending) { os_t t = os_read_monotonic_time(); if (track_poll_offset > 0) @@ -1070,9 +1066,6 @@ void gui_poll(bool active) if (browser_reformat_pending && event == wimp_NULL_REASON_CODE) ro_gui_window_process_reformats(); - else if (bitmap_maintenance_priority || - (bitmap_maintenance && event == wimp_NULL_REASON_CODE)) - bitmap_maintain(); } |