Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generic: Initialise variable to silence warning | Daniel Silverstone | 2019-08-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | plot/generic: Use better UNUSED() equivalent | Daniel Silverstone | 2019-08-03 | 1 | -7/+7 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | 32bpp-xrgb8888: Optimise pixel/colour conversion. | Michael Drake | 2019-08-03 | 1 | -4/+2 |
| | | | | | | | This saves an `&` in the source, but also the compiler spots that `(c >> 16) | (c << 16)` is a rotation. Thanks to Adrian Lees. | ||||
* | 8 bit glyph plotter: Squash undefined shift error. | Michael Drake | 2018-07-29 | 1 | -1/+1 |
| | | | | src/plot/common.c:216:83: runtime error: left shift of 170 by 24 places cannot be represented in type 'int' | ||||
* | Ploygon filling: Fix undefined behaviour. | Michael Drake | 2018-07-29 | 1 | -4/+8 |
| | | | | src/plot/generic.c:243:10: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' | ||||
* | Polygon plotting: Remove dead stores. | Michael Drake | 2018-07-29 | 1 | -1/+0 |
| | |||||
* | Code: Repair whitespace. | Michael Drake | 2018-07-29 | 1 | -682/+692 |
| | |||||
* | fix unchecked heap allocation returns | Vincent Sanders | 2017-10-15 | 1 | -1/+9 |
| | | | | | | | Alastair Hughes provided a patch in the bug tracker which I based this implementation upon. Closes: #2553 | ||||
* | Make endianess detection more robust | Vincent Sanders | 2016-09-04 | 3 | -40/+113 |
| | | | | | | | | This moves the byte order detection into the internal plot header and makes teh detection much more robust searching for more macros in common use. This should fix compilation on big endian openBSD systems Thanks to Anthony J. Bentley for a patch used as inspiration for this change | ||||
* | Fix variable name. | Michael Drake | 2016-04-19 | 1 | -3/+1 |
| | |||||
* | Fix colour conversion to 32bpp XBGR surfaces. | Ashish Gupta | 2016-04-19 | 1 | -2/+3 |
| | |||||
* | Fix rendering of 1bpp glyphs when glyph data is greater than one byte wide | Michael Drake | 2014-07-31 | 1 | -2/+1 |
| | |||||
* | Allow building for Win32 | John-Mark Bell | 2014-01-17 | 5 | -5/+21 |
| | |||||
* | A few tidyups. | Michael Drake | 2013-10-30 | 1 | -11/+8 |
| | |||||
* | Do tiled rendering by scanline, rather than by tile. Error diffusion now ↵ | Michael Drake | 2013-10-29 | 1 | -14/+206 |
| | | | | works across tile boundaries. | ||||
* | Fix 1x1 area scaled plot optimisation. | Michael Drake | 2013-10-29 | 1 | -1/+1 |
| | |||||
* | Add tiled bitmap plotting function. | Michael Drake | 2013-10-28 | 7 | -1/+93 |
| | |||||
* | Test if we're dithering already before turning it on. (No functional change ↵ | Michael Drake | 2013-10-28 | 1 | -6/+14 |
| | | | | atm, but when bitmap tiling is moved into nsfb, error diffusion will be able to cross tile boundaries.) | ||||
* | Split 32bpp support into xrgba, xbgr, and common. Should allow for BGR ↵ | Michael Drake | 2012-09-30 | 5 | -62/+153 |
| | | | | surfaces as well as RGB. | ||||
* | Fix error text. | Michael Drake | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | Add error diffusion to palette based rendering. Only used for bitmap and ↵ | Michael Drake | 2012-09-28 | 2 | -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 Drake | 2012-09-27 | 1 | -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 Drake | 2012-07-27 | 1 | -17/+15 |
| | | | | renderer. | ||||
* | Tiny simplification of freetype glyph renderer. | Michael Drake | 2012-07-26 | 1 | -7/+4 |
| | |||||
* | Don't add top clipping to bottom clipping. Fixes internal font rendering. | Michael Drake | 2012-07-26 | 1 | -7/+4 |
| | |||||
* | Update to new NSBUILD infrastructure | Daniel Silverstone | 2012-06-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsfb/; revision=14007 | ||||
* | basic fixes for linux framebuffer surface | Vincent Sanders | 2012-03-22 | 1 | -5/+5 |
| | | | | svn path=/trunk/libnsfb/; revision=13550 | ||||
* | A couple of casts through void to avoid pointer alignement warnings on ARM. | Michael Drake | 2012-02-29 | 1 | -2/+2 |
| | | | | svn path=/trunk/libnsfb/; revision=13503 | ||||
* | Improve API to allow for RAM surfaces instead of direct blitting | Vincent Sanders | 2011-11-21 | 2 | -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 Drake | 2011-04-19 | 2 | -2/+2 |
| | | | | | | netsurf-users ML. svn path=/trunk/libnsfb/; revision=12203 | ||||
* | Fix 8bpp glyph rendering when the target framebuffer is 16bpp | John Mark Bell | 2011-03-29 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsfb/; revision=12145 | ||||
* | remove malloc.h anachronism | Vincent Sanders | 2011-01-06 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsfb/; revision=11226 | ||||
* | make some of the plot code common | Vincent Sanders | 2010-07-09 | 4 | -1426/+518 |
| | | | | svn path=/trunk/libnsfb/; revision=10618 | ||||
* | Missed horizontal in non-alpha case in r10615. Update comment. | Michael Drake | 2010-07-08 | 3 | -6/+6 |
| | | | | svn path=/trunk/libnsfb/; revision=10617 | ||||
* | Pre-seed remainder counters with correct starting value to avoid clipping ↵ | Michael Drake | 2010-07-08 | 3 | -21/+57 |
| | | | | | | edge case artifact. svn path=/trunk/libnsfb/; revision=10615 | ||||
* | Don't try to plot bitmaps at 0 width or height. | Michael Drake | 2010-07-08 | 3 | -0/+9 |
| | | | | svn path=/trunk/libnsfb/; revision=10613 | ||||
* | Slight optimisation for scaled image plotting. | Michael Drake | 2010-07-08 | 3 | -9/+9 |
| | | | | svn path=/trunk/libnsfb/; revision=10612 | ||||
* | Add 8bpp scaled bitmap plotter. Fix 16bpp scaled bitmap plotter. | Michael Drake | 2010-07-08 | 2 | -11/+145 |
| | | | | svn path=/trunk/libnsfb/; revision=10611 | ||||
* | Make slight changes to match 16bpp implementations of bitmap plotters. | Michael Drake | 2010-07-08 | 1 | -10/+8 |
| | | | | svn path=/trunk/libnsfb/; revision=10610 | ||||
* | Add support for 16bpp scaled bitmap plotting. Make slight changes to match ↵ | Michael Drake | 2010-07-08 | 1 | -13/+140 |
| | | | | | | 32bpp implementation. NOTE: UNTESTED. svn path=/trunk/libnsfb/; revision=10609 | ||||
* | Add support for scaled bitmap plotting. | Michael Drake | 2010-07-08 | 1 | -9/+141 |
| | | | | svn path=/trunk/libnsfb/; revision=10608 | ||||
* | Simplification. | Michael Drake | 2010-02-01 | 1 | -11/+7 |
| | | | | svn path=/trunk/libnsfb/; revision=9948 | ||||
* | Improve rounding of fill span endpoints for polygon plotter. | Michael Drake | 2010-01-31 | 1 | -3/+16 |
| | | | | svn path=/trunk/libnsfb/; revision=9946 | ||||
* | Update establish_crossing_value() comment to describe what it actually does ↵ | Michael Drake | 2010-01-24 | 1 | -5/+9 |
| | | | | | | now. :) svn path=/trunk/libnsfb/; revision=9903 | ||||
* | Hopefully fix gcc 4.2.4 stuff. | Michael Drake | 2010-01-24 | 1 | -0/+2 |
| | | | | svn path=/trunk/libnsfb/; revision=9902 | ||||
* | Make polygon filling code handle arbitrary polygons (rather than just ↵ | Michael Drake | 2010-01-24 | 1 | -99/+183 |
| | | | | | | NetSurf borders). svn path=/trunk/libnsfb/; revision=9901 | ||||
* | Ensure the bezier curve routines do not generate duplicate points unecissarily. | Vincent Sanders | 2010-01-22 | 1 | -54/+73 |
| | | | | svn path=/trunk/libnsfb/; revision=9866 | ||||
* | add basic (but working) path support | Vincent Sanders | 2010-01-22 | 2 | -74/+139 |
| | | | | svn path=/trunk/libnsfb/; revision=9865 | ||||
* | quick workround for polygon plotter issues | Vincent Sanders | 2010-01-22 | 1 | -1/+1 |
| | | | | | | improve polygon star plotter to have animation! svn path=/trunk/libnsfb/; revision=9862 | ||||
* | add missing const to polyline api | Vincent Sanders | 2010-01-21 | 1 | -1/+1 |
| | | | | svn path=/trunk/libnsfb/; revision=9856 |