summaryrefslogtreecommitdiff
path: root/atari/bitmap.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-04-14 11:40:57 +0000
committerOle Loots <ole@monochrom.net>2012-04-14 11:40:57 +0000
commit4467766786d301308761fe7b1296a2a25de796ec (patch)
treede1744ed6a9059e83fd970a0c18298b40c6c216e /atari/bitmap.h
parent3f262e4803ae4ceafcd872c5e5fc640c18f15f14 (diff)
downloadnetsurf-4467766786d301308761fe7b1296a2a25de796ec.tar.gz
netsurf-4467766786d301308761fe7b1296a2a25de796ec.tar.bz2
Fix bitmap creation - JPEG where always set to opaque = false, which lead to blitter checking all pixels for transparency in an loop.
Prepare for caching of converted bitmaps. svn path=/trunk/netsurf/; revision=13869
Diffstat (limited to 'atari/bitmap.h')
-rwxr-xr-xatari/bitmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/atari/bitmap.h b/atari/bitmap.h
index f198db48e..f917f5560 100755
--- a/atari/bitmap.h
+++ b/atari/bitmap.h
@@ -32,6 +32,7 @@ struct bitmap {
size_t rowstride;
struct bitmap * resized;
MFDB native;
+ bool converted;
};
#define NS_BMP_DEFAULT_BPP 4