Re: OpenGL-based framebuffer concepts

From: Antonino A. Daplas
Date: Fri Jun 02 2006 - 08:20:13 EST


Ondrej Zajicek wrote:
> On Wed, May 31, 2006 at 05:53:09AM +0800, Antonino A. Daplas wrote:
>> David Lang wrote:
>>> On Sun, 28 May 2006, Jon Smirl wrote:
>> So even a dumb driver such as vesafb that has to do on the fly
>> color conversions while pushing 64x more data to the bus can be
>> faster than vgacon.
>
> I just implemented text mode switch and tileblit ops into viafb
> (http://davesdomain.org.uk/viafb/index.php) and it is about four
> times faster than accelerated graphics mode and about eight times
> faster than unaccelerated graphics mode (both measured using cat
> largefile with ypan disabled).

Never said that framebuffer can ever be faster than text mode, the
comparison was made against vgacon only. The reason why vgacon is
slow is because the screen buffer of vgacon is the actual VGA RAM.
So all operations (copies, fills, blits) are done in io memory.
And access to graphics memory is always slow, especially reads.

> So textmode is meaningful
> alternative.

This point was never questioned.

Tony


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/