summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-22/+22
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Revert "Attempt to avoid a crash in ami_plot()"Chris Young2015-04-271-2/+0
| | | | This reverts commit e64d48980e38448eeb83daa8659788d48f845692.
* Attempt to avoid a crash in ami_plot()Chris Young2015-04-251-0/+2
|
* As the content interface is now doing the scaling, we render to a native ↵Chris Young2015-04-251-2/+4
| | | | | | BitMap and then copy that to the RGBA32 bitmap buffer without re-scaling. The native BitMap is currently discarded and will be re-created when it is displayed.
* update amiga frontend to use bitmap operation tableVincent Sanders2015-04-161-1/+1
|
* Correct the screen depth check for setting friend bitmaps.Chris Young2015-03-291-1/+5
| | | | Add some comments because using friend bitmaps in NetSurf causes problems under OS4.
* Remove branches that can't be taken under OS3Chris Young2015-03-011-8/+6
| | | | | Micro-optimise these for OS4.1 Remove dummy compositing defines from os3support.h
* Split plotting and widthing functions upChris Young2015-02-281-1/+1
|
* Clear the window using the BackFill hookChris Young2015-02-131-3/+1
|
* Check for NULLChris Young2015-02-121-1/+2
|
* Avoid RectFilling a 0 size areaChris Young2015-02-111-0/+2
|
* Re-disable P96 on OS3 pending a fixChris Young2015-02-031-2/+4
|
* Reinstate the old (non-backfill) bitmap tiler for OS3Chris Young2015-02-031-5/+35
|
* Always use a friend bitmap on OS3Chris Young2015-02-021-2/+5
|
* Experimentally enable P96 on the OS3 buildChris Young2015-02-021-2/+1
|
* Ensure we are setting colours in the correct RastPortChris Young2015-02-021-18/+18
|
* Revert shared pens support to previously-working stateChris Young2015-02-021-36/+10
|
* We don't need to use P96 for RectFillChris Young2015-02-021-18/+28
|
* Friend the screen bitmap for <= 8-bit modes, but only on OS3 as this causes ↵Chris Young2015-02-021-1/+6
| | | | OS4 to freeze
* Fix another instance of BltMaskBitMapRastPort potentially being called with ↵Chris Young2015-02-011-2/+5
| | | | a NULL bltmask
* Don't allocate our off-screen render area as BMF_DISPLAYABLE, as it is never ↵Chris Young2015-01-311-4/+3
| | | | | | displayed. Befriend the screen BitMap but only if we're 32-bit on both.
* Set the obtained pen in our node so we can release it later.Chris Young2015-01-311-0/+1
|
* Ensure on OS3 we don't try to create a BitMap with a depth of more than 8Chris Young2015-01-311-1/+4
|
* Correct calling usage of BltMaskBitMapRastPortChris Young2015-01-311-1/+1
| | | | Thanks to Matthey for the debugging
* Add missing headersChris Young2015-01-201-0/+1
|
* Abstract P96 functions away so we can decide what to use at run-time.Chris Young2015-01-201-12/+7
| | | | This allows us to avoid opening P96 on OS4.1FE in future, and not require it to be installed on OS3.
* Remove some p96 usageChris Young2015-01-201-0/+2
|
* Minor OS3 fixesChris Young2015-01-191-1/+3
|
* More OS3 fixesChris Young2015-01-181-4/+19
|
* Fix warningsChris Young2014-11-101-16/+13
|
* Update amiga frontend for split operation table header changesVincent Sanders2014-10-161-11/+13
|
* Remove Cairo from AmigaOS frontend.Chris Young2014-05-031-399/+126
|
* Change the scope of some variables picked up by cppcheck, minor reformattingChris Young2014-04-051-4/+2
|
* Fix some cppcheck variableHidingTypedef warningsChris Young2014-04-051-11/+11
|
* Fix a bunch of cppcheck unused/unreadVariable warningsChris Young2014-04-051-1/+0
|
* Get Composite() to befriend the screen's BitMap to ensure they are on the ↵Chris Young2014-01-061-0/+2
| | | | same graphics board. This should fix the slowness when multiple graphics cards are installed.
* Fix bitmap offsets in direct render mode by forcing use of BltBitMapChris Young2013-10-261-1/+2
|
* Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR ↵Chris Young2013-10-121-8/+7
| | | | where it is not necessary.
* tidy upChris Young2013-10-051-5/+2
|
* If bitmap is opaque, ensure we override the alpha channel as it may contain ↵Chris Young2013-10-051-7/+13
| | | | nonsense.
* Set redraw tile size to default on screen changeChris Young2013-06-011-2/+0
|
* Use macro directlyChris Young2013-05-311-5/+2
|
* Tentatively replace colour conversion with core macroChris Young2013-05-301-9/+2
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Remove unused variableChris Young2013-05-181-1/+0
|
* Remove friend BitMap as it doesn't solve the problem intended, and I'm ↵Chris Young2013-05-181-7/+0
| | | | concerned that it will cause problems on gfx cards which only have LE modes
* git being annoyingChris Young2013-05-121-2/+1
|
* Allocate the off-screen BitMap as a friend of the screen BitMap in the ↵Chris Young2013-04-281-2/+9
| | | | increasingly diminishing number of cases where this works correctly. This should stop NetSurf using memory on the wrong graphics card when two are installed.
* 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
|