diff options
author | Yin Kangkai <kangkai.yin@intel.com> | 2012-02-23 15:56:36 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-29 18:07:59 +0100 |
commit | 3ac066c25670ccf6a992c49340287379c9a342bc (patch) | |
tree | 6b770e7f114091be3883719fd9bc2f10d5dba5dd /shell/ash_test/ash-invert/invert.tests | |
parent | 62c006d508552a6ac547b807eb9ad0a32a76e1c9 (diff) | |
download | busybox-3ac066c25670ccf6a992c49340287379c9a342bc.tar.gz |
fbsplash: use line_length instead of xres * bytes_per_pixel
In some system (e.g. my "strange" device), line_length is not equal xres *
bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw
rectangle etc.
My "strange" device output this:
bytes_per_pixel: 4
xres: 600, yres: 1024
yoffset: 0, xoffset: 0, line_length: 2432
G.addr: b74da000
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-invert/invert.tests')
0 files changed, 0 insertions, 0 deletions