RESOLVED FIXED 80910
[chromium] vsync ticks are needed in invisible tabs when we are still updating resources
https://bugs.webkit.org/show_bug.cgi?id=80910
Summary [chromium] vsync ticks are needed in invisible tabs when we are still updatin...
Nat Duca
Reported 2012-03-12 17:23:11 PDT
[chromium] vsync ticks are needed in invisible tabs when we are still updating resources
Attachments
Patch (5.14 KB, patch)
2012-03-12 17:23 PDT, Nat Duca
no flags
Nat Duca
Comment 1 2012-03-12 17:23:35 PDT
Nat Duca
Comment 2 2012-03-12 17:26:55 PDT
When we go in the background to another tab just before we begin a frame and commit, and there are more updates than can fit in a frame, then we forget to tick the scheduler. This leaves us the main thread blocked in the commit.
Nat Duca
Comment 3 2012-03-13 10:03:52 PDT
*** Bug 80995 has been marked as a duplicate of this bug. ***
Iain Merrick
Comment 4 2012-03-13 10:28:39 PDT
Confirmed that this patch fixes the bug for me.
James Robinson
Comment 5 2012-03-13 14:45:50 PDT
Comment on attachment 131464 [details] Patch R=me I think it would be useful to have a way to abort pending updates as well when going !visible or when dropping resources, so we don't upload until tiles that we wanna drop or have already dropped.
Nat Duca
Comment 6 2012-03-13 15:06:08 PDT
(In reply to comment #5) > I think it would be useful to have a way to abort pending updates as well when going !visible or when dropping resources, so we don't upload until tiles that we wanna drop or have already dropped. Or, maybe we can make the updates just skip --- e.g. we do the update step but early out the individual updates if they're discovered to be pointless. That'd allow us to speed through the update step if we were trying to drop command buffer resources, but still always drop the command buffer resources in a consistent place [COMMIT_IDLE].
WebKit Review Bot
Comment 7 2012-03-13 15:50:35 PDT
Comment on attachment 131464 [details] Patch Clearing flags on attachment: 131464 Committed r110627: <http://trac.webkit.org/changeset/110627>
WebKit Review Bot
Comment 8 2012-03-13 15:50:39 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.