summaryrefslogtreecommitdiff
path: root/src/surface
Commit message (Collapse)AuthorAgeFilesLines
* Rationalise UNUSED macros. This changeset allows libnsfb to berjek/clang-warningsRob Kendrick (humdrum)2013-04-255-13/+4
| | | | | | | | | | | | | 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.
* Fix leak.Michael Drake2013-04-101-0/+4
|
* Wayland surface handler with mouse input based on X surface handlerVincent Sanders2013-04-094-13/+2053
|
* Split 32bpp support into xrgba, xbgr, and common. Should allow for BGR ↵Michael Drake2012-09-301-1/+30
| | | | surfaces as well as RGB.
* Add error diffusion to palette based rendering. Only used for bitmap and ↵Michael Drake2012-09-281-1/+1
| | | | 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-40/+12
| | | | palette. In other cases, we still have to seach all the colours, but that doesn't ever seem to be used.
* Improve 8bpp palette: 685 RGB levels instead of 884 RGB levels, with ↵Michael Drake2012-09-251-9/+34
| | | | remainder set to true grays. Previous palette had no true grays. Upshot is much better rendering of grayscale images and better rendering of blues, with a bit of loss in reds.
* Add support for offset mouse pointer hotspots.Michael Drake2012-08-011-1/+6
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libnsfb/; revision=14007
* Speculative support for xcb-util 0.3.8 and xcbproto 1.6John Mark Bell2012-05-121-1/+12
| | | | svn path=/trunk/libnsfb/; revision=13920
* basic fixes for linux framebuffer surfaceVincent Sanders2012-03-222-14/+160
| | | | svn path=/trunk/libnsfb/; revision=13550
* Improve API to allow for RAM surfaces instead of direct blittingVincent Sanders2011-11-218-210/+814
| | | | | | | | Improve and update tests Fix RAM surface Fix VNC surface svn path=/trunk/libnsfb/; revision=13158
* remove malloc.h anachronismVincent Sanders2011-01-061-1/+1
| | | | svn path=/trunk/libnsfb/; revision=11226
* Make libnsfb dynamically detect the available surface librariesJohn Mark Bell2010-12-042-2/+9
| | | | svn path=/trunk/libnsfb/; revision=10972
* Fix warnings which occour with gcc 4.5Vincent Sanders2010-06-081-2/+3
| | | | svn path=/trunk/libnsfb/; revision=10569
* Make shared memory pixmap setup more robustVincent Sanders2010-05-021-9/+35
| | | | svn path=/trunk/libnsfb/; revision=10541
* Fix keypress handlingVincent Sanders2010-04-301-327/+327
| | | | svn path=/trunk/libnsfb/; revision=10534
* Fix x surface to not leave mouse trailsVincent Sanders2010-04-301-9/+38
| | | | svn path=/trunk/libnsfb/; revision=10527
* fix x surface input timeoutVincent Sanders2010-04-301-15/+39
| | | | svn path=/trunk/libnsfb/; revision=10526
* acellerate x surface copyingVincent Sanders2010-04-291-17/+103
| | | | svn path=/trunk/libnsfb/; revision=10519
* Make the SDL surface event handler cope with timeout correctlyVincent Sanders2010-04-281-4/+33
| | | | svn path=/trunk/libnsfb/; revision=10514
* ensure reply is not leaked if server does not support shared memoryVincent Sanders2010-04-261-4/+9
| | | | svn path=/trunk/libnsfb/; revision=10489
* enable shared memory images if availableVincent Sanders2010-04-261-39/+139
| | | | svn path=/trunk/libnsfb/; revision=10488
* significantly improve performance of the x surfaceVincent Sanders2010-04-261-118/+171
| | | | svn path=/trunk/libnsfb/; revision=10486
* start improvements in surface handlingVincent Sanders2010-04-268-0/+1889
add X surface handler (need to address the speed issues) svn path=/trunk/libnsfb/; revision=10485