summaryrefslogtreecommitdiff
path: root/src/plot
Commit message (Collapse)AuthorAgeFilesLines
* Rationalise UNUSED macros. This changeset allows libnsfb to berjek/clang-warningsRob Kendrick (humdrum)2013-04-254-25/+27
| | | | | | | | | | | | | built warning-free both with Clang 3.3 (from trunk) and GCC 4.7. Remove the use of GCC-specific __attribute__ ((unused)) as this only works on declarations, meaning there is no "fallback" to use on compilers that are not GCC or clang. The (void)foo; approach works with both clang and GCC, and hopefully other compilers people might be using. The alternative would to have been two UNUSED macros, one for use in definitions, and one for use in function bodies.
* Split 32bpp support into xrgba, xbgr, and common. Should allow for BGR ↵Michael Drake2012-09-305-62/+153
| | | | surfaces as well as RGB.
* Fix error text.Michael Drake2012-09-281-1/+1
|
* Add error diffusion to palette based rendering. Only used for bitmap and ↵Michael Drake2012-09-282-21/+50
| | | | 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-24/+8
| | | | palette. In other cases, we still have to seach all the colours, but that doesn't ever seem to be used.
* Fix horizontal scroll of internal text. Simplify and optimise internal text ↵Michael Drake2012-07-271-17/+15
| | | | renderer.
* Tiny simplification of freetype glyph renderer.Michael Drake2012-07-261-7/+4
|
* Don't add top clipping to bottom clipping. Fixes internal font rendering.Michael Drake2012-07-261-7/+4
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libnsfb/; revision=14007
* basic fixes for linux framebuffer surfaceVincent Sanders2012-03-221-5/+5
| | | | svn path=/trunk/libnsfb/; revision=13550
* A couple of casts through void to avoid pointer alignement warnings on ARM.Michael Drake2012-02-291-2/+2
| | | | svn path=/trunk/libnsfb/; revision=13503
* Improve API to allow for RAM surfaces instead of direct blittingVincent Sanders2011-11-212-251/+322
| | | | | | | | Improve and update tests Fix RAM surface Fix VNC surface svn path=/trunk/libnsfb/; revision=13158
* Commit fixes from "Building NetSurf on arm-linux framebuffer" thread on ↵Michael Drake2011-04-192-2/+2
| | | | | | netsurf-users ML. svn path=/trunk/libnsfb/; revision=12203
* Fix 8bpp glyph rendering when the target framebuffer is 16bppJohn Mark Bell2011-03-291-1/+1
| | | | svn path=/trunk/libnsfb/; revision=12145
* remove malloc.h anachronismVincent Sanders2011-01-061-1/+1
| | | | svn path=/trunk/libnsfb/; revision=11226
* make some of the plot code commonVincent Sanders2010-07-094-1426/+518
| | | | svn path=/trunk/libnsfb/; revision=10618
* Missed horizontal in non-alpha case in r10615. Update comment.Michael Drake2010-07-083-6/+6
| | | | svn path=/trunk/libnsfb/; revision=10617
* Pre-seed remainder counters with correct starting value to avoid clipping ↵Michael Drake2010-07-083-21/+57
| | | | | | edge case artifact. svn path=/trunk/libnsfb/; revision=10615
* Don't try to plot bitmaps at 0 width or height.Michael Drake2010-07-083-0/+9
| | | | svn path=/trunk/libnsfb/; revision=10613
* Slight optimisation for scaled image plotting.Michael Drake2010-07-083-9/+9
| | | | svn path=/trunk/libnsfb/; revision=10612
* Add 8bpp scaled bitmap plotter. Fix 16bpp scaled bitmap plotter.Michael Drake2010-07-082-11/+145
| | | | svn path=/trunk/libnsfb/; revision=10611
* Make slight changes to match 16bpp implementations of bitmap plotters.Michael Drake2010-07-081-10/+8
| | | | svn path=/trunk/libnsfb/; revision=10610
* Add support for 16bpp scaled bitmap plotting. Make slight changes to match ↵Michael Drake2010-07-081-13/+140
| | | | | | 32bpp implementation. NOTE: UNTESTED. svn path=/trunk/libnsfb/; revision=10609
* Add support for scaled bitmap plotting.Michael Drake2010-07-081-9/+141
| | | | svn path=/trunk/libnsfb/; revision=10608
* Simplification.Michael Drake2010-02-011-11/+7
| | | | svn path=/trunk/libnsfb/; revision=9948
* Improve rounding of fill span endpoints for polygon plotter.Michael Drake2010-01-311-3/+16
| | | | svn path=/trunk/libnsfb/; revision=9946
* Update establish_crossing_value() comment to describe what it actually does ↵Michael Drake2010-01-241-5/+9
| | | | | | now. :) svn path=/trunk/libnsfb/; revision=9903
* Hopefully fix gcc 4.2.4 stuff.Michael Drake2010-01-241-0/+2
| | | | svn path=/trunk/libnsfb/; revision=9902
* Make polygon filling code handle arbitrary polygons (rather than just ↵Michael Drake2010-01-241-99/+183
| | | | | | NetSurf borders). svn path=/trunk/libnsfb/; revision=9901
* Ensure the bezier curve routines do not generate duplicate points unecissarily.Vincent Sanders2010-01-221-54/+73
| | | | svn path=/trunk/libnsfb/; revision=9866
* add basic (but working) path supportVincent Sanders2010-01-222-74/+139
| | | | svn path=/trunk/libnsfb/; revision=9865
* quick workround for polygon plotter issuesVincent Sanders2010-01-221-1/+1
| | | | | | improve polygon star plotter to have animation! svn path=/trunk/libnsfb/; revision=9862
* add missing const to polyline apiVincent Sanders2010-01-211-1/+1
| | | | svn path=/trunk/libnsfb/; revision=9856
* fix polylinesVincent Sanders2010-01-211-2/+5
| | | | svn path=/trunk/libnsfb/; revision=9855
* add beginnings of path plottingVincent Sanders2010-01-212-0/+67
| | | | svn path=/trunk/libnsfb/; revision=9854
* move plot functions to their own sub directoryVincent Sanders2010-01-209-0/+3058
fix 8 and 16bpp plotters when used with cursor svn path=/trunk/libnsfb/; revision=9850