<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WinCairo] Accelerated compositing does not respect device scale factor."
href="https://bugs.webkit.org/show_bug.cgi?id=148085#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [WinCairo] Accelerated compositing does not respect device scale factor."
href="https://bugs.webkit.org/show_bug.cgi?id=148085">bug 148085</a>
from <span class="vcard"><a class="email" href="mailto:achristensen@apple.com" title="Alex Christensen <achristensen@apple.com>"> <span class="fn">Alex Christensen</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=259171&action=diff" name="attach_259171" title="Patch">attachment 259171</a> <a href="attachment.cgi?id=259171&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=259171&action=review">https://bugs.webkit.org/attachment.cgi?id=259171&action=review</a>
does this fix pages like acko.net ?
<span class="quote">> Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp:166
> + TransformationMatrix m;
> + m.scale(deviceScaleFactor());
> + double tx = (size.width() - size.width() / deviceScaleFactor()) / 2.0;
> + double ty = (size.height() - size.height() / deviceScaleFactor()) / 2.0;
> + m.translate(tx, ty);</span >
Why scale then translate? Where does the 2.0 come from?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>