summaryrefslogtreecommitdiffstats
path: root/drivers/video/console_rotate.c
Commit message (Collapse)AuthorAgeFilesLines
* video: Use fractional units for X coordinatesSimon Glass2016-01-301-16/+49
| | | | | | | | | | | | | | With anti-aliased fonts we need a more fine-grained horizontal position than a single pixel. Characters can be positioned to start part-way through a pixel, with anti-aliasing (greyscale edges) taking care of the visual effect. To cope with this, use fractional units (1/256 pixel) for horizontal positions in the text console. Signed-off-by: Simon Glass <sjg@chromium.org> [agust: rebased] Signed-off-by: Anatolij Gustschin <agust@denx.de>
* dm: video: Add a driver for a rotated text consoleSimon Glass2016-01-201-0/+436
Sometimes the console must be rotated. Add a driver which supports rotating the text clockwise to 90, 180 and 270 degrees. This can support devices where the display is rotated for mechanical reasons. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
OpenPOWER on IntegriCloud