RESOLVED FIXED 84807
[chromium] Don't call calculateRenderPasses in CCLayerTreeHostImpl::scrollBegin()
https://bugs.webkit.org/show_bug.cgi?id=84807
Summary [chromium] Don't call calculateRenderPasses in CCLayerTreeHostImpl::scrollBeg...
Adrienne Walker
Reported 2012-04-24 17:10:52 PDT
calculateRenderPasses calls willDraw() on every layer and unless drawLayers is then called, there's a missing didDraw() pair. This causes problems for video layers that want to lock and release resources during these two function calls.
Attachments
Patch (4.62 KB, patch)
2012-04-24 17:15 PDT, Adrienne Walker
no flags
Adrienne Walker
Comment 1 2012-04-24 17:15:31 PDT
James Robinson
Comment 2 2012-04-24 17:17:40 PDT
Comment on attachment 138696 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=138696&action=review Much better R=me > Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:266 > + ASSERT(passes.isEmpty()); can we make passes a local variable again and just have the renderSurfaceLayerList be a member variable, or is that teh crazy?
Adrienne Walker
Comment 3 2012-04-24 17:19:41 PDT
(In reply to comment #2) > (From update of attachment 138696 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=138696&action=review > > Much better R=me > > > Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:266 > > + ASSERT(passes.isEmpty()); > > can we make passes a local variable again and just have the renderSurfaceLayerList be a member variable, or is that teh crazy? Sadly, I think that'd be a larger refactoring, although it might be worthwhile to investigate it.
WebKit Review Bot
Comment 4 2012-04-24 20:00:09 PDT
Comment on attachment 138696 [details] Patch Clearing flags on attachment: 138696 Committed r115162: <http://trac.webkit.org/changeset/115162>
WebKit Review Bot
Comment 5 2012-04-24 20:00:14 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.