RESOLVED FIXED167196
[Threaded Compositor] Initialize the threaded compositor with the current size
https://bugs.webkit.org/show_bug.cgi?id=167196
Summary [Threaded Compositor] Initialize the threaded compositor with the current size
Carlos Garcia Campos
Reported 2017-01-19 00:34:35 PST
We are always creating the threaded compositor with and empty size and then a sizeDidChange always happen when the backing store state changes. This is always happening because the threaded compositor is created before the first backing store state, but if we wanted to create it later, for example to enter/leave AC mode on demand, the threaded compositor will not have the viewport size unless the window is resized, or sizeDidChange is called manually when entering AC mode. Creating the threaded compositor is sync and changing the size too, so it's better to do both things at the same time using the same sync operation.
Attachments
Patch (8.61 KB, patch)
2017-01-19 00:43 PST, Carlos Garcia Campos
zan: review+
Carlos Garcia Campos
Comment 1 2017-01-19 00:43:33 PST
Zan Dobersek
Comment 2 2017-01-19 09:08:25 PST
Comment on attachment 299239 [details] Patch LGTM.
Carlos Garcia Campos
Comment 3 2017-01-19 22:57:09 PST
Note You need to log in before you can comment on or make changes to this bug.