Proactively convert tile formats to ARGB32_Premultiplied
This patch avoids each bind to do this conversion if the format of the
tile isn't RGB or ARGB32_Premultiplied.
This is the case of PNG with alpha channel, that usually comes as
ARGB32.
Change-Id: I8f1297dd82ab20b6c8ecac3e68bf5d82e03f2e70
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
| commit | bd63a1c5144945c134674e2b253afe26673ca13f |
| parent | 4f03448a9ef95dd5a20b1fa4af31a5865413e5f4 |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Mon, 27 Mar 2017 10:39:32 +0000 |