[Webkit-unassigned] [Bug 148085] [WinCairo] Accelerated compositing does not respect device scale factor.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 17 12:40:27 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148085
--- Comment #2 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 259171
--> https://bugs.webkit.org/attachment.cgi?id=259171
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=259171&action=review
does this fix pages like acko.net ?
> 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);
Why scale then translate? Where does the 2.0 come from?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150817/e1076d33/attachment-0001.html>
More information about the webkit-unassigned
mailing list