+Anatolij, Nikita

Hi,

On 2 March 2015 at 03:12, Hannes Petermaier
<[email protected]> wrote:
> Hello everybody,
>
> A short question about lcd-console:
>
> Today u-boot only supports a 'linear framebuffer', meaning the next pixel
> of a character is allways right after left and the framebuffer address is
> incrementing.
> We call this the display is mounted with 0° rotation.
>
> In some cases we have a rotated display.
> Maybe rotated by 90° to have portrait mode or even 180° due to mechanical
> issues.
>
> My question is:
> Is anybody currently working around this, having rotated display ?
> If not so, i would like start a implementation.
>
> 180° is quite easy, we only need to add some offset (total len of
> framebuffer) to our framebuffer base address and do -- instead ++ for
> drawing characters. Font can be reused.
>
> In the other cases, 90° and 270° it will maybe a bit tricky. I think a
> ?rotated font? is also necessary.
>
> Of course we have to think about the other functions like scroll up/down.

I don't know of anything, but it sounds useful.

Also I wonder if some hardware has support for this?

Nikita (on CC) is tidying up this part of U-Boot so get in touch with him.

Regards,
Simon
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to