diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-05-05 07:31:04 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2009-05-05 12:36:45 (GMT) |
commit | 8806c32f45242c9d12c6799c2c762775da58b698 (patch) | |
tree | 5266fa61b1282da527c3a6fcb4d7bd96cab6165d /src/gui/painting/qmemrotate_p.h | |
parent | e6d0c873c707bf076ba41924a445c0e1d343ac38 (diff) | |
download | Qt-8806c32f45242c9d12c6799c2c762775da58b698.zip Qt-8806c32f45242c9d12c6799c2c762775da58b698.tar.gz Qt-8806c32f45242c9d12c6799c2c762775da58b698.tar.bz2 |
Support rotated displays with 15 and 16 bit BGR pixel formats.
To avoid increasing code size for an uncommon case, the code
is #ifdef QT_QWS_ROTATE_BGR
Task-number: 250299
Reviewed-by: Tom
Diffstat (limited to 'src/gui/painting/qmemrotate_p.h')
-rw-r--r-- | src/gui/painting/qmemrotate_p.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/painting/qmemrotate_p.h b/src/gui/painting/qmemrotate_p.h index c1eb93e..87cfb1a 100644 --- a/src/gui/painting/qmemrotate_p.h +++ b/src/gui/painting/qmemrotate_p.h @@ -92,6 +92,14 @@ QT_DECL_MEMROTATE(quint32, quint8); QT_DECL_MEMROTATE(quint16, quint8); QT_DECL_MEMROTATE(qrgb444, quint8); QT_DECL_MEMROTATE(quint8, quint8); + +#ifdef QT_QWS_ROTATE_BGR +QT_DECL_MEMROTATE(quint16, qbgr565); +QT_DECL_MEMROTATE(quint32, qbgr565); +QT_DECL_MEMROTATE(qrgb555, qbgr555); +QT_DECL_MEMROTATE(quint32, qbgr555); +#endif + #ifdef QT_QWS_DEPTH_GENERIC QT_DECL_MEMROTATE(quint32, qrgb_generic16); QT_DECL_MEMROTATE(quint16, qrgb_generic16); |