On some devices the LCD panel is mounted in the casing in such a way that the up/top side of the panel does not match with the top side of the device (e.g. it is mounted upside-down).
This commit adds support to the ply-pixel-buffer code to create buffers which take device rotation into account and which will rotate the picture to compensate.
0e4e268 pixel-buffer: Add the concept of device rotation
src/libply-splash-core/ply-pixel-buffer.c | 109 +++++++++++++++++++++++++++---
src/libply-splash-core/ply-pixel-buffer.h | 9 +++
2 files changed, 110 insertions(+), 8 deletions(-)