commit | 7275b4b6bc2f783c135c3f0eeecc4fdc6e788aa8 | [log] [tgz] |
---|---|---|
author | Antonino A. Daplas <adaplas@gmail.com> | Mon Dec 12 22:17:20 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Dec 12 22:31:17 2005 -0800 |
tree | be75b6de5a19263ffbc54068251988b3d7e2b754 | |
parent | 39942fd8ff57c8623451bbfaffe8a184cc8b463a [diff] |
[PATCH] fbdev: Shift pixel value before entering loop in cfbimageblit In slow imageblit, the pixel value is shifted by a certain amount (dependent on the bpp and endianness) for each iteration. This is inefficient. Better do the shifting once before going into the loop. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>