summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/disassembler/Disassembler.h
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2013-01-16 08:57:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-16 09:24:58 +0100
commitc2c595293e376b2609d8176e86b6f2ad86b45223 (patch)
treef84a1ce8fe9a0127dd3a63658c2afb02610786ef /Source/JavaScriptCore/disassembler/Disassembler.h
parentc03f448e170e91ef00dd1846a99e2f094b5919d8 (diff)
downloadqtwebkit-c2c595293e376b2609d8176e86b6f2ad86b45223.tar.gz
[Qt][EFL][WK2] Remove redundant device pixel ratio adjustment from PageViewportController
https://bugs.webkit.org/show_bug.cgi?id=106355 Reviewed by Kenneth Rohde Christiansen. This is a backport of http://trac.webkit.org/changeset/139189. Since r137597 Qt uses the device pixel ratio of the underlying platform window as the device pixel ratio in WebCore. The tiles are rendered with the effective scale (scale adjusted with the device scale factor) and the projection matrix is also adjusted with the device pixel ratio when painting. As a result we can follow the same approach as QtQuick and all the coordinates in PageViewportController need to be in device independent pixels (UI pixels) thus we do no longer need to adjust with the device pixel ratio when calculating the viewport attributes. This simplifies the logic significantly and increases robustness, but does not allow to set a custom device pixel ratio different from the factor of the underlying platform (eg. for testing purposes). This patch is conceptually a follow-up of r137597 and fixes layout and canvas size on retina display. Change-Id: I2485ef0a4aa18726238bacddaa5176cf5869659e Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/disassembler/Disassembler.h')
0 files changed, 0 insertions, 0 deletions