summaryrefslogtreecommitdiff
path: root/amiga/history_local.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-02-25 18:42:33 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-02-25 18:42:33 +0000
commit79c5485e27526c2f20a540bbdb73153466d567d6 (patch)
treecdfe36d691571bdc6bbfb979c1baebf2539371db /amiga/history_local.c
parent174b52a0fd055d47aa95cdfbe818203afcf0b75b (diff)
downloadnetsurf-79c5485e27526c2f20a540bbdb73153466d567d6.tar.gz
netsurf-79c5485e27526c2f20a540bbdb73153466d567d6.tar.bz2
Add tiled refresh, with tiles of max size option_redraw_tile_size. This
reduces the size of our off-screen bitmap and associated memory. Only works with browser windows at present. History and treeviews still have full window refresh/bitmap. Setting the option to 0 brings back the old behaviour. svn path=/trunk/netsurf/; revision=13468
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-xamiga/history_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c
index c608c3567..300363fb2 100755
--- a/amiga/history_local.c
+++ b/amiga/history_local.c
@@ -83,7 +83,7 @@ void ami_history_open(struct browser_window *bw, struct history *history)
{
hwindow = AllocVec(sizeof(struct history_window),MEMF_CLEAR | MEMF_PRIVATE);
- ami_init_layers(&hwindow->gg, 0, 0);
+ ami_init_layers(&hwindow->gg, scrn->Width, scrn->Height);
hwindow->bw = bw;
history_size(history, &width, &height);