[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:48:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148085
--- Comment #5 from peavo at outlook.com ---
(In reply to comment #2)
> Comment on attachment 259171 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=259171&action=review
>
Thanks for reviewing :)
> does this fix pages like acko.net ?
>
Yes, I believe so.
> > 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?
The translate will center the view.
--
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/36419d6a/attachment-0001.html>
More information about the webkit-unassigned
mailing list