This code is written to use an i810 chipset.
The problem is that when a small amount of data is written to the first line
of the fb, it is displayed as though it was written to every line.
Thanks,
Luke
This code is written to use an i810 chipset.
The problem is that when a small amount of data is written to the first line
of the fb, it is displayed as though it was written to every line.
Thanks,
Luke
Luke Graham <luke@trolltech.com> wrote:
–nextPart2135081.BWrkQq0lBP
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8BitThis code is written to use an i810 chipset.
The problem is that when a small amount of data is written to the first line
of the fb, it is displayed as though it was written to every line.
You need to initialise the “surface” structure just before calling
modef.set_mode():
surface->stride = xres * DISP_BYTES_PER_PIXEL(mi.pixel_format);
surface->width = xres;
surface->height = yres;
The problem you are seeing occurs if you have a display stride of 0.
Dave