summaryrefslogtreecommitdiff
path: root/riscos/gif.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-03-09 12:58:57 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-03-09 12:58:57 +0000
commitb7d5355f6fbc48366de2bd7a6793aa0b4cb64b19 (patch)
tree364608832a1f3ed1f55dff56c017e8af7c6d8ac1 /riscos/gif.c
parent25a98ce2c02acedd7c9f9a74f8d894033f1aaecd (diff)
downloadnetsurf-b7d5355f6fbc48366de2bd7a6793aa0b4cb64b19.tar.gz
netsurf-b7d5355f6fbc48366de2bd7a6793aa0b4cb64b19.tar.bz2
[project @ 2004-03-09 12:57:20 by rjw]
svn path=/import/netsurf/; revision=594
Diffstat (limited to 'riscos/gif.c')
-rw-r--r--riscos/gif.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/riscos/gif.c b/riscos/gif.c
index b587c6665..29f1095a2 100644
--- a/riscos/gif.c
+++ b/riscos/gif.c
@@ -18,6 +18,7 @@
#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
#include "netsurf/riscos/gif.h"
+#include "netsurf/riscos/tinct.h"
#include "netsurf/utils/log.h"
#include "netsurf/utils/messages.h"
#include "netsurf/utils/utils.h"
@@ -137,6 +138,17 @@ void nsgif_redraw(struct content *c, long x, long y,
long clip_x0, long clip_y0, long clip_x1, long clip_y1,
float scale)
{
+ /* Tinct currently only handles 32bpp sprites that have an embedded alpha mask. Any
+ sprites not matching the required specifications are ignored. See the Tinct
+ documentation for further information.
+ */
+/* _swix(Tinct_PlotScaledAlpha, _IN(2) | _IN(3) | _IN(4) | _IN(5) | _IN(6) | _IN(7),
+ ((char *) c->data.gif.sprite_area + c->data.gif.sprite_area->first),
+ x, (int)(y - height),
+ width, height,
+ (options_filter_sprites?0:(1<<1)) | (options_dither_sprites?0:(1<<2)));
+*/
+
unsigned int size;
osspriteop_trans_tab *table;
os_factors factors;