diff options
| author | Allan Sandfeld Jensen <[email protected]> | 2019-11-06 10:04:54 +0100 |
|---|---|---|
| committer | Eirik Aavitsland <[email protected]> | 2019-11-07 10:42:08 +0100 |
| commit | 52a3f1b00cca13767eefabf61742d2d802c56511 (patch) | |
| tree | f1a70dfb18ca2d0503ce07dcf05c7128062a59fb /tests/manual/diaglib/nativewindowdump_win.cpp | |
| parent | e6a0a945c591da3e3e66a6d7a350b4befd77a459 (diff) | |
Fix accuracy of ARGB32->A2RGB30 conversions
It was converted over ARGB32PM, when it should have been directly
converted to not lose accuracy, instead there was an unnecessary direct
ARGB32->RGB30 conversion, which was converted to the necessary type.
This also improves the selection of conversion over ARGB32PM or RGBA64PM
for ARGB32 and RGBA8888 by using 32-bit conversion when alpha is not
relevant.
Change-Id: I5990d8a23b2909d3910d8c1213fa46477742b052
Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'tests/manual/diaglib/nativewindowdump_win.cpp')
0 files changed, 0 insertions, 0 deletions
