Re: fbcon, rotation.

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Mon, 27 Jul 1998 21:56:02 +0200 (CEST)


On Mon, 27 Jul 1998, Ian Stirling wrote:
> I don't know how feasible this would be, as I haven't seen the code.
>
> Rotated displays can be handy, for some purposes, for example, enabling
> easily read 80*80 or taller displays.
>
> Or, enabling an 80*40 mode to be read, while in bed.
>
> Maybe an extra 3 bits on the end of the mode setting, for flip vertical,
> flip horizontal, and rotate 90 degrees, also settable via proc.

Then you have to change all drivers/video/fbcon-* files, and all accelerated
low level drivers in frame buffer devices. But it is doable.

> Would this enable the X-fbcon server to do portrait displays?

No, the X server must be changed completely because it assumes that the image
is stored linewise in memory instead of columnwise (yikes, the old FORTRAN vs C
matrix storage problem).

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html