summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-06 18:29:05 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-06 18:29:05 +0000
commit870c7096842725f354708963c9630deb1c5386fc (patch)
tree8b07591d7ba71a28b76976c69c4473761d40ce89
parent69da9a55e16f0a09690ca5fc5cb0b0e1d0fe9c24 (diff)
downloadnetsurf-870c7096842725f354708963c9630deb1c5386fc.tar.gz
netsurf-870c7096842725f354708963c9630deb1c5386fc.tar.bz2
Get Composite() to befriend the screen's BitMap to ensure they are on the same graphics board. This should fix the slowness when multiple graphics cards are installed.
-rw-r--r--amiga/bitmap.c2
-rwxr-xr-xamiga/plotters.c2
-rwxr-xr-xamiga/thumbnail.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index c07f45c67..f25ac2b81 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -453,7 +453,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,
COMPTAG_DestHeight,height,
COMPTAG_OffsetX,0,
COMPTAG_OffsetY,0,
- COMPTAG_FriendBitMap,friendbm,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
#endif
}
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 6683fc58b..05db67f48 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -711,6 +711,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,x,
COMPTAG_OffsetY,y,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
#endif
}
@@ -873,6 +874,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
COMPTAG_SrcHeight,bfbm->height,
COMPTAG_OffsetX,xf,
COMPTAG_OffsetY,yf,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
#endif
}
diff --git a/amiga/thumbnail.c b/amiga/thumbnail.c
index 61102feff..51630be96 100755
--- a/amiga/thumbnail.c
+++ b/amiga/thumbnail.c
@@ -84,6 +84,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
COMPTAG_DestHeight,bitmap->height,
COMPTAG_OffsetX,0,
COMPTAG_OffsetY,0,
+ COMPTAG_FriendBitMap, scrn->RastPort.BitMap,
TAG_DONE);
}
else