Apply device pixel ratio to transparency layers
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Fri, 31 Jan 2014 13:47:30 +0000 (14:47 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 31 Jan 2014 17:26:56 +0000 (18:26 +0100)
commitb7d359c66471fb9fe1592d77f8711fe439ac7028
tree07569063a503575803447812333465f01a9075fd
parent64a4dc759958b289a6b1ecb5cb4adc91f4cbef07
Apply device pixel ratio to transparency layers

The transparency layers are currently created with taking hiDPI into
account. This means that any CSS opacity causes a shift in rendering
quality.

This patch forwards the device pixelratio for any QPaintDevice to
transparency layers created for that device.

Change-Id: Ie65f76771a4cc59bc714a9b89511cab1f7617abc
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Source/WebCore/platform/graphics/qt/TransparencyLayer.h