summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
Commit message (Collapse)AuthorAgeFilesLines
* ifdef some code that will never work under AmigaOS <4.0mono/windom-guiChris Young2013-01-301-0/+4
|
* Remove p96EncodeColour and ensure the alpha byte is set to 0xff.Chris Young2013-01-271-3/+15
|
* Greatly increase the space allocated for Area-operation vector storage. The ↵Chris Young2012-10-231-2/+7
| | | | SVG tiger is now rendering correctly with graphics.library plotting only (no Cairo)
* Log Area* function errorsChris Young2012-10-231-10/+15
|
* graphics.library path plotter initial codeChris Young2012-10-231-16/+114
|
* graphics.library arc plotterChris Young2012-10-231-3/+30
|
* Don't set outline pen - this is what makes AreaFill outline the filled area, ↵Chris Young2012-10-221-14/+0
| | | | which we categorically do not want to happen.
* correct logicChris Young2012-08-121-1/+1
|
* allow font anti-aliasing to be switched off in true-colour modesChris Young2012-08-121-1/+6
|
* fix maskChris Young2012-08-111-2/+2
|
* use minterm (ABC|ABNC|ANBC) only when necessaryChris Young2012-08-101-6/+6
|
* avoid scaled images getting incorrect maskChris Young2012-08-101-4/+3
|
* allocate our bitmaps as BMF_DISPLAYABLE as this can improve performance when ↵Chris Young2012-08-091-2/+3
| | | | blitting to the screen
* first attempt to create our own mask of only wholly transparent pixels.Chris Young2012-08-091-2/+3
|
* use abstracted functionChris Young2012-08-071-12/+2
|
* expose function to get current screen palette-mapped statusChris Young2012-08-071-0/+5
|
* ...or it might just crash. Will consider a hybrid mode, as palette-mapped ↵Chris Young2012-08-071-2/+1
| | | | images do not display correctly when blitted to a 16- or 32-bit screen.
* If using the gfx.lib true-colour plotters on a 16-bit screenmode, allocate a ↵Chris Young2012-08-071-3/+4
| | | | 16-bit off-screen bitmap instead of a 32-bit one. This _should_ make things a little quicker in that scenario.
* fix true colour modeChris Young2012-08-061-2/+2
|
* fix depth detectionChris Young2012-08-061-9/+6
|
* miscChris Young2012-08-051-1/+1
|
* revert begin/endrefresh image avoidance - this isn't the cause of the ↵Chris Young2012-08-051-6/+2
| | | | simplerefresh damage region deadlock
* release the pen if it couldn't be added to a list.Chris Young2012-08-051-1/+4
|
* avoid crash if pen list is not setChris Young2012-08-051-5/+6
|
* Avoid redrawing palette-mapped images during BeginRefresh/EndRefresh (ie. ↵Chris Young2012-08-051-2/+6
| | | | SimpleRefresh damage redraw) as one of the DataTypes functions are causing an Intuition deadlock.
* add to list, and release pensChris Young2012-08-051-6/+27
|
* disable mask for now, causing colourisation problemsChris Young2012-08-051-2/+2
|
* attempt blit through maskChris Young2012-08-051-15/+42
|
* Palette-mapped bitmap supportChris Young2012-08-051-10/+16
|
* Fix buildChris Young2012-08-051-2/+2
|
* Abstract pen obtain/release and structure so we can add these to a physical ↵Chris Young2012-08-051-20/+24
| | | | browser window's list
* Allow forcing palette-mapped mode by setting cairo_renderer:-1Chris Young2012-08-051-3/+3
|
* Disable anti-aliasing for palette-mapped modesChris Young2012-08-051-1/+1
|
* Free bitmap using correct functionChris Young2012-08-051-1/+5
|
* stop crashingChris Young2012-08-051-0/+2
|
* add palette-capable OPen functionChris Young2012-08-051-19/+39
|
* Convert the rest of plotters.c to use palette-mapped capable colour selectionChris Young2012-08-051-62/+36
|
* Fix colours - rectangles now printing correctly. Fix an 'early' crash caused ↵Chris Young2012-08-041-2/+3
| | | | by unfriendly bitmaps. Text needs fixing. There is also a 'late' crash which makes it unusable.
* move text colour settings into plotters.c, and use palette-map capable functionChris Young2012-08-041-7/+16
|
* alloc off-screen bm as friend of screen bmChris Young2012-08-041-12/+21
|
* Attempt to draw palette-mapped rectangles.Chris Young2012-08-041-7/+35
| | | | | | | Problems: 1. The DrawInfo structure is returning a depth of 8 for >8-bit screens 2. Colours are wrong (probably related to our off-screen rendering mechanism) 3. Pens obtained through ObtainBestPenA() are never freed - we need to keep track of them and somehow work out when it is best to free them.
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-13/+13
| | | | svn path=/trunk/netsurf/; revision=13548
* allow both x and y dimensions of redraw tiles to be configuredChris Young2012-02-291-3/+4
| | | | svn path=/trunk/netsurf/; revision=13502
* Add tiled refresh, with tiles of max size option_redraw_tile_size. ThisChris Young2012-02-251-2/+3
| | | | | | | | | reduces the size of our off-screen bitmap and associated memory. Only works with browser windows at present. History and treeviews still have full window refresh/bitmap. Setting the option to 0 brings back the old behaviour. svn path=/trunk/netsurf/; revision=13468
* Revert r13074 - doesn't actually fix the problemChris Young2011-10-221-3/+0
| | | | svn path=/trunk/netsurf/; revision=13075
* Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where ↵Chris Young2011-10-221-0/+3
| | | | | | | | it won't draw anything if ymin==ymax svn path=/trunk/netsurf/; revision=13074
* Remove gui_globals scale as no longer neededChris Young2011-03-101-1/+0
| | | | svn path=/trunk/netsurf/; revision=11962
* Fix crash when launching NetSurf twiceChris Young2011-03-101-5/+8
| | | | svn path=/trunk/netsurf/; revision=11961
* Direct rendering. Testing only; has problems with inline image placement, greyChris Young2011-03-051-71/+75
| | | | | | | | background for all text, won't work with Cairo renderer, may crash with certain gfx lib operations (AreaFill). However, seems to be much faster in 16-bit mode than off-screen buffered rendering. svn path=/trunk/netsurf/; revision=11913
* Enable selection of rendering engine (graphics.library, Cairo) at runtime, ↵Chris Young2011-03-051-198/+234
| | | | | | | | if we're compiled with Cairo support. svn path=/trunk/netsurf/; revision=11912