diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-08-07 21:16:49 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-08-07 21:16:49 +0000 |
commit | d197e03bf2329eabfbad98028760b9d792b98246 (patch) | |
tree | 6be8e96499c45ab2e91b5736f94a41b3e5fbe61d /amiga/bitmap.h | |
parent | 3cbbdeb91cb25c8be5f83674778395c42988d542 (diff) | |
download | netsurf-d197e03bf2329eabfbad98028760b9d792b98246.tar.gz netsurf-d197e03bf2329eabfbad98028760b9d792b98246.tar.bz2 |
Support new libnsgif by adding bitmap flag BITMAP_ABGR.
This tells big endian systems that the data is in ABGR instead of RGBA.
It should be ignored on little endian systems!
Add support in Amiga platform code.
-> All platform code that could be compiled for big endian systems will need
to be updated to recognise BITMAP_ABGR. This includes GTK and
Framebuffer frontends. Both BITMAP_ABGR *and* the endianness of the host
will most likely need to be checked and the allocated bitmap format
and/or bitmap plotter changed to handle ABGR component order.
svn path=/trunk/netsurf/; revision=9108
Diffstat (limited to 'amiga/bitmap.h')
-rwxr-xr-x | amiga/bitmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/bitmap.h b/amiga/bitmap.h index 48dc9d758..aa8d02460 100755 --- a/amiga/bitmap.h +++ b/amiga/bitmap.h @@ -21,6 +21,7 @@ #include <exec/types.h> #include <proto/graphics.h> #include <intuition/classusr.h> +#include <libraries/Picasso96.h> struct bitmap { int width; @@ -30,6 +31,7 @@ struct bitmap { struct BitMap *nativebm; int nativebmwidth; int nativebmheight; + RGBFTYPE format; char *url; /* temporary storage space */ char *title; /* temporary storage space */ }; |