Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-06 | Fix bug in renderEllipticGradient() | Mathias Gumz | 1 | -17/+20 | |
For odd 'widths' and 'heigths' the texture would not be filled completely: Given a 'width' of 5 we would render only 4 instances of x (-2, 1, 0, 1) instead of the needed 5. This results in a texture which looks a bit cut off to the bottom right side. | |||||
2013-02-06 | Minor cosmetics | Mathias Gumz | 1 | -38/+41 | |
2013-02-06 | Fix integer overflow | Mathias Gumz | 1 | -1/+1 | |
I forgot this piece in 779618e45d4571bb6a4866aa2e398780f4b4da5d. | |||||
2013-02-06 | Reduces memory footprint | Mathias Gumz | 1 | -7/+5 | |
The buffer for some gradients does not have to be width * height big when two lines are sufficient. | |||||
2013-02-06 | Branchless code for interlacing a texture | Mathias Gumz | 1 | -25/+15 | |
2013-02-06 | Fix integer overflow for bigger textures | Mathias Gumz | 1 | -2/+6 | |
2013-01-23 | Improve calculation of brighter colors | Mathias Gumz | 1 | -18/+16 | |
The old code did not brighten up "pure" colors like "red", "green" and "blue" at all. The new code use a different precomputed LUT which is based upon simplified vector math, see the comments in FbTk/ColorLUT.cc | |||||
2013-01-17 | Fix bug: actually invert a given Texture | Mathias Gumz | 1 | -1/+1 | |
Stupid typo. | |||||
2013-01-13 | Ensure textures have the correct size bevor applying 'bevel' | Mathias Gumz | 1 | -7/+8 | |
2013-01-13 | Optimize inner loop of pixel transfer in TrueColor | Mathias Gumz | 1 | -65/+61 | |
Testing bits-per-pixel in the inner loop is suboptimal, especially since that value does not change. A little helper macro helps to keep the code readable, also improves the situation for StaticGray and PseudoColor. | |||||
2013-01-13 | Use the same lookup-tables for solid and gradient textures | Mathias Gumz | 1 | -150/+13 | |
2012-11-08 | Rewrite of FbTk::TextureRender | Mathias Gumz | 1 | -1125/+627 | |
* much more readable and easier to read code * smaller code * reduced binary size due to removed big lookup-table for square root * simple 'optimizations (lookup tables, packing of data), nothing too fancy | |||||
2012-04-10 | Bugfix: Don't draw the interlace lines 1px too far | Mathias Gumz | 1 | -1/+1 | |
2011-02-22 | moved rarely used 'cpccpc' out of class declaration | Mathias Gumz | 1 | -11/+12 | |
2011-02-22 | bugfix: render 'sunken' gradients correctly | Mathias Gumz | 1 | -1/+1 | |
2011-02-22 | Bugfix: don't render textures with dimension of 0 | Mathias Gumz | 1 | -1/+4 | |
At least 'invertRGB()' does not like 'width' or 'height' being 0. 341b2f43e511e39dd was triggered by this problem as well. | |||||
2010-09-20 | bugfix: ' floating point exception' due wrongly placed code | Mathias Gumz | 1 | -1/+2 | |
while integrating the old 'getSqrt()' function into the 'bsqrt()' function i misplaced some code. this lead to 'r' being 0 on the first run. doh. | |||||
2010-09-17 | request explicitly as many elements for the gradient tables as we need | Mathias Gumz | 1 | -16/+6 | |
the next step is to not use 'unsigned int' and then only store 'chars' in it, maybe even using RGBA data instead of separated arrays for r, g and b. | |||||
2010-09-17 | lots of code cleanup, reordering, trimming public API, bugfixes | Mathias Gumz | 1 | -657/+777 | |
## FbTk/ImageControl.hh: * moved 'getSqrt()' over to TextureRender.cc because it is used only there * removed unused members m_root_window * use std::vector<> for colors and for the gradient buffers. ## FbTk/ImageControl.cc: * fixed memory leak in '~ImageControl', 'pixels' where not deleted[] at all. switched to std::vector, non-issue anymore. * moved identical code into functions 'allocateUnallocatedColors', 'initColortables' ## FbTk/TextureRenderer: * removed 'from', 'to', 'interlaced' from class, only used in 'renderGradient()' and are actually part of the given texture. * removed 'xtable', 'ytable' from class, only used in 'renderGradient()' * removed 'colors' from the class, is part of 'control' * moved render actions (invert, bevel1, bevel2, *gradient), they need more love but for now this is sufficient | |||||
2010-05-23 | mostly cosmetic fixes, mainly discovered by 'clang --analyze' | Mathias Gumz | 1 | -1/+1 | |
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints. | |||||
2008-06-26 | remove dithering code | Mark Tiefenbruck | 1 | -271/+3 | |
2008-04-21 | some fixes for gcc 3.4 | Thomas Orgis | 1 | -1/+1 | |
2008-01-15 | split Text.hh into Orientation.hh and TextUtils.{cc,hh} | Mathias Gumz | 1 | -0/+1 | |
2008-01-14 | moved code a bit around, cleaned up some classes | Mathias Gumz | 1 | -0/+1 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-30 | remove some (hopefully) unneeded header includes | Mark Tiefenbruck | 1 | -0/+2 | |
2007-06-29 | updates for compiling with gcc 4.3 | markt | 1 | -0/+5 | |
2006-10-30 | Cosmetic patch from Slava Semushin | mathias | 1 | -50/+55 | |
2006-06-21 | fix nls... notably classify text on conversion whether its for X or | simonb | 1 | -10/+10 | |
console, plus handle catalogs better. | |||||
2006-03-26 | rotated fonts, buttons, containers. Used for tabs for now | simonb | 1 | -6/+20 | |
2006-03-20 | minor type-o fix, thanks Semushin Slava | fluxgen | 1 | -5/+5 | |
2006-02-16 | updated copyright info | mathias | 1 | -1/+1 | |
2005-09-03 | texture limits were hardcoded to 3200 in TextureRender.cc .. this lead | mathias | 1 | -4/+7 | |
to useless warnings on huge xinerama setups with those nifty 20' or bigger lcds ... we use now screen dimensions to set a sane limit for textures | |||||
2005-01-24 | copyright date | mathias | 1 | -1/+1 | |
2005-01-11 | fix for #1099278 | mathias | 1 | -3/+3 | |
2004-11-19 | svn propset svn:keywords "Id" | mathias | 1 | -1/+1 | |
2004-10-25 | i forgot to remove a silly warning :) | akir | 1 | -2/+1 | |
2004-10-21 | fix for mipspro: no 'new(nothrow)' available for MIPSpro Compilers: Version ↵ | akir | 1 | -10/+24 | |
7.3.1.3m | |||||
2004-10-06 | tiny forgotten thingy from the MAN :) | akir | 1 | -1/+3 | |
2004-10-06 | allocate red, green and blue buffers only for gradients | fluxgen | 1 | -33/+40 | |
2004-08-31 | add autoconf check for std c++ headers | rathnor | 1 | -2/+6 | |
2004-07-05 | tiled pixmap fix, patch from dhx (xyx@gm...), see mailing list | fluxgen | 1 | -4/+8 | |
2004-06-07 | update NLS string handling... | rathnor | 1 | -11/+20 | |
2004-01-21 | nothrow | fluxgen | 1 | -5/+5 | |
2004-01-21 | minor stuff | fluxgen | 1 | -9/+8 | |
2004-01-11 | cleaning, using FbPixmap | fluxgen | 1 | -70/+60 | |
2003-10-02 | address some memory issues shown up with valgrind | rathnor | 1 | -4/+4 | |
2003-08-12 | added TILED option | fluxgen | 1 | -2/+5 | |
2003-04-28 | render scaled pixmap | fluxgen | 1 | -9/+22 | |
2003-01-10 | removed i18n | fluxgen | 1 | -27/+6 | |