Commit graph

466 commits

Author SHA1 Message Date
Jens Arnold
051e017ab8 Slight speedup for drawing 1-bit bitmaps with draw modes 0..2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4784 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 00:02:51 +00:00
Daniel Stenberg
91c51764ee on request, set the SIMULATOR define when building for the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4780 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 22:01:26 +00:00
Linus Nielsen Feltzing
5b9c4c1297 The plugin lib now works in the win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4747 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 05:41:41 +00:00
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
b3acd275ce Missing function declaration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4655 a1c6a512-1295-4272-9138-f99709370657
2004-05-20 08:25:16 +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
71c83b9b6b Removed duplicate grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4651 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:05:17 +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
Daniel Stenberg
a08fa7142a o killed trailing whitespace
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-19 08:04:55 +00:00
Daniel Stenberg
a9244032d2 grayscale framework header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4638 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:03:43 +00:00
Daniel Stenberg
a834f0f5c3 moved Jens Arnold's grayscale frame work source file to the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4636 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 06:31:54 +00:00
Linus Nielsen Feltzing
defca5b061 Further adjustments for the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4634 a1c6a512-1295-4272-9138-f99709370657
2004-05-18 23:17:53 +00:00
Daniel Stenberg
243b122ce9 This makefile builds one single libplugin.a library by linking together
all C source files that are put in this dir and built. This lib will soon
be used for linking with when creating each plugin output file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4632 a1c6a512-1295-4272-9138-f99709370657
2004-05-18 15:01:39 +00:00