Chris Young
dd7935bb1f
abstract the native bitmap fetcher functions, and make the favicon collection use the new one.
2012-08-07 21:09:49 +01:00
Chris Young
8c6dab520d
misc
2012-08-05 23:51:59 +01:00
Chris Young
b2514d5270
Free source BitMap
2012-08-05 21:46:14 +01:00
Chris Young
a423eb712d
allow setting dithering quality 0-2
2012-08-05 16:22:41 +01:00
Chris Young
25f1acb504
Don't re-layout if this has already been performed
2012-08-05 16:16:18 +01:00
Chris Young
74e794d7a2
implement scaling
2012-08-05 15:29:20 +01:00
Chris Young
c359b9400b
Palette-mapped bitmap support
2012-08-05 15:16:02 +01:00
Chris Young
97aabaf49d
Test for opaqueness where we create bitmaps in the platform code
2012-08-05 14:02:32 +01:00
Chris Young
28ddb10268
Fix opaqueness test: the alpha channel is the first byte, not the last.
2012-08-05 13:50:14 +01:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Chris Young
8f09c239af
Initialise bitmap ptr to NULL
...
svn path=/trunk/netsurf/; revision=12780
2011-09-08 19:21:02 +00:00
Chris Young
7f6b694732
Show existing file size when file already exists on download
...
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young
910c6d314f
Put a search icon where the old search favicon was
...
svn path=/trunk/netsurf/; revision=12558
2011-07-02 19:38:54 +00:00
Chris Young
757ad3cb02
Remove unused ColorMap to CLUT function
...
svn path=/trunk/netsurf/; revision=12136
2011-03-26 10:36:25 +00:00
Chris Young
14d6826685
Implement ask overwrite
...
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
John Mark Bell
3292bffcc8
Squash warning
...
svn path=/trunk/netsurf/; revision=11954
2011-03-09 21:51:49 +00:00
Chris Young
90fb7362c5
Use base type for gfxbase
...
svn path=/trunk/netsurf/; revision=11249
2011-01-07 18:21:01 +00:00
John Mark Bell
7f62710772
Include os3support header
...
svn path=/trunk/netsurf/; revision=11236
2011-01-06 23:56:03 +00:00
John Mark Bell
d83f683e96
Sprinkle some #ifdef __amigaos4__ around
...
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
John Mark Bell
d235d53dfc
Fix include directive -- case matters now
...
svn path=/trunk/netsurf/; revision=11225
2011-01-06 01:16:11 +00:00
Chris Young
078ff2fd51
Move drag icon stuff to own file; fix warnings
...
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
5738a8f342
Use function instead of directly calling DTM_WRITE
...
svn path=/trunk/netsurf/; revision=10879
2010-10-10 09:30:22 +00:00
Michael Drake
30880797c7
Remove todo comment for something already done.
...
svn path=/trunk/netsurf/; revision=10705
2010-08-14 16:29:26 +00:00
Chris Young
95c87008cf
Stop the alpha channel getting lost on scaled bitmaps
...
svn path=/trunk/netsurf/; revision=9439
2009-08-24 22:23:17 +00:00
Chris Young
8e58c63c99
Revert r9108, as component order in libnsgif due to be corrected.
...
svn path=/trunk/netsurf/; revision=9137
2009-08-09 21:37:20 +00:00
Chris Young
d197e03bf2
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
2009-08-07 21:16:49 +00:00
Chris Young
af4f3d2be7
Don't do higher quality scaling on OS4.0 as it doesn't work.
...
svn path=/trunk/netsurf/; revision=8484
2009-07-12 18:10:14 +00:00
Chris Young
507cfe9313
Rendering tab in options all done, new option to improve the scale quality (bilinear
...
filtering). This needs to be tested on 4.0 as I'm not sure if bilinear is valid
there, might need to be BSAF_AVERAGE.
svn path=/trunk/netsurf/; revision=7939
2009-06-23 21:29:44 +00:00
Chris Young
c55f902197
Check that p96AllocBitMap actually allocated a bitmap (fixes unsat bug#61)
...
svn path=/trunk/netsurf/; revision=7658
2009-05-30 14:10:04 +00:00
Chris Young
efe2151c9a
Too many 0s
...
svn path=/trunk/netsurf/; revision=7522
2009-05-17 16:59:56 +00:00
Chris Young
feb3568f21
Fix alpha testing, set correctly for ILBMs
...
svn path=/trunk/netsurf/; revision=7519
2009-05-17 09:42:13 +00:00
Chris Young
7a2fb9222a
IFF save now works - needed an unexpected NULL as the first parameter to DTM_WRITE
...
DTA_ObjName is now the URL, as this is the only field that is being written by
picture.datatype (bug in picture.datatype?). ObjAuthor and ObjAnnotation left in as
the DTM_COPY method might be able to use them.
svn path=/trunk/netsurf/; revision=7518
2009-05-16 17:30:25 +00:00
Chris Young
08d0c16822
Copy and save images as IFF ILBM attempt 2.
...
Copy now works, saving just creates an empty file - probably something wrong with my
DTM_WRITE call.
svn path=/trunk/netsurf/; revision=7517
2009-05-16 17:04:28 +00:00
Chris Young
478d953ea5
Copy and save images in IFF ILBM format. Currently, the data in the BODY chunk is
...
wrong.
svn path=/trunk/netsurf/; revision=7516
2009-05-16 14:50:30 +00:00
Chris Young
cbae6a91dd
Stop local history from crashing, display mostly works (no thumbnails and offset wrong
...
to window), no event handling other than closing the window.
svn path=/trunk/netsurf/; revision=6730
2009-03-08 12:52:44 +00:00
Chris Young
2aee9f4c09
Stop OS4.1 losing alpha channels when scaling images
...
svn path=/trunk/netsurf/; revision=6720
2009-03-05 19:07:26 +00:00
Chris Young
781405d195
Move native bitmap creation/caching routine into bitmap.c
...
svn path=/trunk/netsurf/; revision=6619
2009-02-25 19:56:04 +00:00
Chris Young
605cf900b4
Some bitmap caching - not making much difference and using up a lot of gfx mem, may
...
need to make this a configurable option.
svn path=/trunk/netsurf/; revision=5943
2008-12-28 15:55:52 +00:00
Chris Young
78f912d5d3
Handle opaqueness a bit
...
svn path=/trunk/netsurf/; revision=5935
2008-12-27 18:32:20 +00:00
Chris Young
cae0d4a43b
Change memory allocations to MEMF_PRIVATE to enable paging on OS4.1.
...
svn path=/trunk/netsurf/; revision=5649
2008-11-02 00:21:49 +00:00
Chris Young
3b0c91c91d
Remove debug
...
svn path=/trunk/netsurf/; revision=5541
2008-10-11 21:31:51 +00:00
Michael Drake
2557b029ae
Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
...
svn path=/trunk/netsurf/; revision=5281
2008-09-07 19:08:57 +00:00
Chris Young
8da23bd1f3
More error checking
...
svn path=/trunk/netsurf/; revision=5129
2008-08-15 17:22:52 +00:00
Chris Young
72d62fc722
Updated to support changes in image/bitmap.h
...
svn path=/trunk/netsurf/; revision=5074
2008-08-12 17:47:01 +00:00
Chris Young
26203b2215
Initial Amiga port files, mostly empty stub functions.
...
svn path=/trunk/netsurf/; revision=4864
2008-08-02 14:31:32 +00:00