Bug 167452 - [Threaded Compositor] Update also the contents size when creating the threaded compositor
Summary: [Threaded Compositor] Update also the contents size when creating the threade...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: Gtk
Depends on:
Reported: 2017-01-26 01:09 PST by Carlos Garcia Campos
Modified: 2017-01-26 01:21 PST (History)
2 users (show)

See Also:

Patch (2.25 KB, patch)
2017-01-26 01:11 PST, Carlos Garcia Campos
zan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2017-01-26 01:09:16 PST
In r210954 we ensured that the threaded compositor and the viewport controller were created with the initial web page size. If we don't update the contents size, the visible rectangle will be empty and tiles won't be created until contentsSizeDidChange is called. It's even possible, when entering AC mode on demand, that we create the layer tree host after the contents size changed, in which case nothing is rendered unless we resize the window.
Comment 1 Carlos Garcia Campos 2017-01-26 01:11:28 PST
Created attachment 299796 [details]
Comment 2 Carlos Garcia Campos 2017-01-26 01:21:16 PST
Committed r211205: <http://trac.webkit.org/changeset/211205>