Summary: | [chromium] Should not use a timer to tick backgrounded animations in single thread mode | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | vollick | ||||||||
Component: | WebKit Misc. | Assignee: | vollick | ||||||||
Status: | RESOLVED WONTFIX | ||||||||||
Severity: | Normal | CC: | cc-bugs, jamesr, nduca, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | 84620 | ||||||||||
Bug Blocks: | 85813 | ||||||||||
Attachments: |
|
Description
vollick
2012-05-04 19:27:13 PDT
Created attachment 140373 [details]
Patch
Comment on attachment 140373 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140373&action=review > Source/WebCore/ChangeLog:7 > + Throw that bug comment in here? :) Since we never composite while not visible, what ensures that "hardware" animations still advance and fire WebCore notifications in background tabs? Or do we not need to do that? Created attachment 140746 [details] Patch (In reply to comment #3) > Since we never composite while not visible, what ensures that "hardware" animations still advance and fire WebCore notifications in background tabs? Or do we not need to do that? With https://bugs.webkit.org/show_bug.cgi?id=84620, when the CCSingleThreadProxy is asked to commit, it will notice when the composite it schedules won't actually result in a composite (because we're hidden), and manually schedule one if there's an animation. This will not result in any drawing while hidden, though -- the code will bail early if we're not visible. This will advance the hardware animations. Looks like you have merge conflicts in CCThreadProxy, mind refreshing so EWS runs? (In reply to comment #5) > Looks like you have merge conflicts in CCThreadProxy, mind refreshing so EWS runs? Created attachment 140769 [details] Patch (In reply to comment #5) > Looks like you have merge conflicts in CCThreadProxy, mind refreshing so EWS runs? Done Comment on attachment 140769 [details] Patch Cleared review? from attachment 140769 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again). |