summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
Commit message (Collapse)AuthorAgeFilesLines
* Update to new warn_user APIChris Young2016-05-011-4/+4
|
* Use guigfx.library for 8-bit image quantizationChris Young2016-04-281-3/+6
| | | | | | This achieves speed-up on OS3/68k platforms where 8-bit modes are more likely to be used, at the expense of lower quality quantization than the former picture.datatype abuse provided. Additionally, caching of BitMaps in palette-mapped modes is now possible. NetSurf now requires guigfx.library (and render.library) in order to start, even on OS4.
* Skip setting the pen in the RastPort if it is already set to that penChris Young2016-03-231-2/+6
| | | | This captures the scenario when the RGBA value has changed but graphics.library has picked the same pen.
* Make struct bitmap private to bitmap.cChris Young2016-03-221-6/+9
|
* Apparently setting pens is a strangely complex process, so avoid it.Chris Young2016-03-221-0/+14
|
* Fix OS3 button disablingChris Young2016-02-291-0/+1
| | | | | Testing reveals OS3's button.gadget doesn't support OM_GET for GA_Disabled. In addition, we fix OS4's boolean comparisons to ensure we only check against FALSE and !FALSE
* When forcing 32-bit render mode, don't create the BitMaps as friends of the ↵Chris Young2016-01-251-2/+2
| | | | | | screen BitMap. This fixes a system freeze on OS4
* Make the palette-mapped state relate to the rendering layer rather than ↵Chris Young2016-01-251-17/+17
| | | | | | | globally. This means we can still render in 32-bit mode internally when the destination isn't the screen. NB: bitmap_render is currently freezing when the screen is in palette-mapped mode (old bug, pre-dates this change), so for now we skip this routine in that scenario.
* Use itempools for storing our pen locksChris Young2016-01-241-4/+19
|
* misc amiga fixes re font plottingChris Young2016-01-171-6/+5
|
* More font-related tidy-upChris Young2016-01-161-0/+1
|
* Make font engine selection bit more logicalChris Young2016-01-151-1/+1
|
* Use layers.library for bitmap tiling on OS3Chris Young2016-01-141-57/+32
| | | | This solves the worst of the rendering problems on that platform.
* Fix MinTerm defines for SDK 53.29Chris Young2015-09-011-2/+2
|
* Force usage of friend BitMaps on OS3 when on high/truecolour screens.Chris Young2015-08-161-5/+7
| | | | AreaInfo buffer doesn't need to be in chip mem.
* Put the memory areas, rather than the structures, into chip RAM as required.Chris Young2015-08-161-7/+8
|
* TmpRas should be in chip mem for OS3/AGAChris Young2015-08-161-0/+5
|
* Add an option to toggle usage of a friend BitMap for our off-screen ↵Chris Young2015-08-151-3/+11
| | | | | | rendering buffer (OS3 only). Defaults to OFF, which works everywhere, but can be switched on for performance benefits when using RTG.
* 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
|