diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-02-07 16:52:00 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-26 14:18:21 +0100 |
commit | b1a882f178d71d1462b5ee7e7ffde142928b5086 (patch) | |
tree | ea756d8029fa0e148ef296e63bcbe4c1c74b28e2 /tests/auto/widgets/styles | |
parent | 08cbbde61778276ccdda73d89fd64d02c623779f (diff) |
Fix drawCachedGlyphs on RGBA8888
drawCachedGlyphs draws with the wrong color on RGBA8888. The issue
is that the draw routines bitmapblit_quint32 and alphamapblit_quint32
while safe to use on rgba formats, needs to have the input color
converted.
This patch adds small wrapper functions for bitmapblit and alphamapblit
that converts the formats. Two tests are extended to ensure we have
test coverage.
Change-Id: I5f99f3795eba46a69d4df5b167e6099024e9a060
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/widgets/styles')
0 files changed, 0 insertions, 0 deletions