[Webkit-unassigned] [Bug 94903] [chromium] Fix a bug where CCThreadProxy::canDraw() gets stuck at false on tab switch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 24 09:53:56 PDT 2012


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





--- Comment #6 from Christopher Cameron <ccameron at chromium.org>  2012-08-24 09:53:54 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > If you force a commit when we're invisible, then you'll reallocate all the textures, defeating the purpose.
> 
> The scheduler doesn't do commits while non-visible so that shouldn't be a problem. I think we schedule a commit when we go non-visible, but I'm having trouble finding the place where we do.

>From my manual testing it does appear that a commit requested by the impl thread while not visible did not actually occur until the tab became visible.

Would it be preferable for setNeedsCommit to mean "a commit needs to complete", rather than "a commit needs to start", so that commits that are aborted because the tab went invisible are automatically rescheduled when next the tab becomes visible (if it ever does)?  Are there circumstances where that is undesirable?

-- 
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