summaryrefslogtreecommitdiff
path: root/include/palette.h
Commit message (Collapse)AuthorAgeFilesLines
* Test if we're dithering already before turning it on. (No functional change ↵Michael Drake2013-10-281-1/+6
| | | | atm, but when bitmap tiling is moved into nsfb, error diffusion will be able to cross tile boundaries.)
* Avoid repeating some calculations.Michael Drake2013-10-271-15/+17
|
* Remove dead store.Michael Drake2013-04-101-1/+0
|
* Add error diffusion to palette based rendering. Only used for bitmap and ↵Michael Drake2012-09-281-5/+125
| | | | scaled bitmap plots. Doesn't do serpentine path, since that would need changes to the common bitmap rendering code.
* Add palette object. Optimise matching colour in case where we chose the ↵Michael Drake2012-09-271-0/+111
palette. In other cases, we still have to seach all the colours, but that doesn't ever seem to be used.