[Webkit-unassigned] [Bug 88482] [Chromium] Compositor should avoid drawing quads when cached textures are available and contents unchanged

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 13 16:21:47 PDT 2012


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





--- Comment #25 from zlieber at chromium.org  2012-06-13 16:21:46 PST ---
(In reply to comment #24)
> (From update of attachment 147153 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=147153&action=review
> 
> > Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:335
> > +    removePassesWithCachedTextures(passes);
> 
> Is it possible to make this call in drawLayers()?
> 
> Specifically, I don't think we are going to know what surfaces have cached textures until we have given them all to the LRC and let it figure out what it can afford for the frame. And I don't think that a call to LRC belongs in here, right now I am planning to include this in LRC::beginDrawingFrame().

Just realized that putting this in drawLayers will constitute a side-effect. Callers passing in a frame do not expect this frame to change.

Maybe a more appropriate place will be an explicit call in some proxy before drawLayers is called?

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