evas/fb: use stride instead of width.
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
Fri, 7 Mar 2014 04:52:11 +0000 (01:52 -0300)
committerGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
Fri, 7 Mar 2014 05:00:11 +0000 (02:00 -0300)
commit856b7bdf4455663597dd78ad48f12d0a9fda0fbd
tree421a170bd5dc08b1115ada3d5e7bb48cbbb83b78
parent182eaad43deee46e8f1c6e63291823f56e285db5
evas/fb: use stride instead of width.

While most framebuffes use stride = width, some may have stride bigger
than width to provide better alignment. Then we must always use stride.

Thanks to Arjan van de Ven, the one that spotted the issue.

@fix
src/modules/evas/engines/fb/evas_fb.h
src/modules/evas/engines/fb/evas_fb_main.c
src/modules/evas/engines/fb/evas_outbuf.c