summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/gray.c (unfollow)
Commit message (Collapse)Author
2004-06-23Split grayscale library into several files to make up a real function ↵Jens Arnold
library. Significantly decreases binary size for plugins using it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4802 a1c6a512-1295-4272-9138-f99709370657
2004-06-22Slight speedup for drawing 1-bit bitmaps with draw modes 0..2Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4784 a1c6a512-1295-4272-9138-f99709370657
2004-06-02Major rework of the grayscale framework:Jens Arnold
* api change - all drawing functions now use draw mode, foreground and background shades set globally by separate functions * There are now 4 draw modes for all drawing functions, no more separate functions for inverse drawing * Significant speedup of 1-bit bitmap (and font) drawing (2..3 times) * Some more speed tweaks * Additional functions for horizontal and vertical lines * Copied describing comments to the header file for easier reference * The safety net against an uninitialized grayscale buffer is gone git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4711 a1c6a512-1295-4272-9138-f99709370657
2004-05-21Fix: scrolling left/right with even pixel counts caused an address error if ↵Jens Arnold
the buffer width was odd. Some more tweaks and cleanups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4681 a1c6a512-1295-4272-9138-f99709370657
2004-05-20FIX: The previous update produced a buffer overflow, which broke e.g. the ↵Jens Arnold
jpeg viewer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4656 a1c6a512-1295-4272-9138-f99709370657
2004-05-20Font support, several speed and size tweaksJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4654 a1c6a512-1295-4272-9138-f99709370657
2004-05-19Added return parameter for space taken by grayscale buffer to gray_init_buffer()Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4648 a1c6a512-1295-4272-9138-f99709370657
2004-05-19First real library version of the grayscale frameworkJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4641 a1c6a512-1295-4272-9138-f99709370657
2004-05-19o killed trailing whitespaceDaniel Stenberg
o uses the new grayscale.h header o #ifdef'ed out the code that builds a plugin, as this is now only part of the libplugin. we should probably build a separate plugin instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4639 a1c6a512-1295-4272-9138-f99709370657
2004-05-19moved Jens Arnold's grayscale frame work source file to the plugin libraryDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4636 a1c6a512-1295-4272-9138-f99709370657
2004-05-17Implemented scrolling up/down by n pixels (<= 7)Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4628 a1c6a512-1295-4272-9138-f99709370657
2004-05-15Vastly improved speed for gray_fillrect(), gray_drawgraymap(), left and ↵Jens Arnold
right scrolling. Various other optimizations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4626 a1c6a512-1295-4272-9138-f99709370657
2004-05-12gray_drawbitmap() changed to use the same bitmap format as lcd_bitmap(). ↵Jens Arnold
Also made the bound checks a lot more safe. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4612 a1c6a512-1295-4272-9138-f99709370657
2004-05-10A plugin containing a framework to use grayscale display, primarily aimed at ↵Jens Arnold
plugin developers. It also contains a small demo of what the framework can do. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4603 a1c6a512-1295-4272-9138-f99709370657