[Webkit-unassigned] [Bug 131521] Pipe initial scale factor to TileController

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 10 18:20:49 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=131521


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #229097|review?                     |review-
               Flag|                            |




--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-04-10 18:21:08 PST ---
(From update of attachment 229097)
View in context: https://bugs.webkit.org/attachment.cgi?id=229097&action=review

> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:2989
> +    if (tiledBacking()) {
> +        float initialScale = (m_client ? m_client->initialPageScaleFactor() : 1) * deviceScaleFactor();
> +        tiledBacking()->setInitialContentsScale(initialScale);
> +    }

This seems like an odd way to get initial scale, and could easily have timing issues. I think we should explicitly get the initial scale from viewport-related information.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list