1
0
Fork 0
forked from len0rd/rockbox
Commit graph

6 commits

Author SHA1 Message Date
Jens Arnold
ca2bb463d3 Major rework of the grayscale framework:
* 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-06-02 23:53:27 +00:00
Jens Arnold
9ca74798b6 Fix: scrolling left/right with even pixel counts caused an address error if 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-21 20:48:35 +00:00
Jens Arnold
4c67f0f3bb FIX: The previous update produced a buffer overflow, which broke e.g. the jpeg viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4656 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 13:10:41 +00:00
Jens Arnold
512079f944 Font support, several speed and size tweaks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4654 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 08:21:18 +00:00
Jens Arnold
007e1d1af3 Added return parameter for space taken by grayscale buffer to gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4648 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:02:20 +00:00
Jens Arnold
a05c413774 First real library version of the grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4641 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:18:25 +00:00