[Webkit-unassigned] [Bug 82251] [chromium] Layers should should know their visibility outside their content bounds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 26 16:02:52 PDT 2012


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





--- Comment #1 from Eric Penner <epenner at chromium.org>  2012-03-26 16:02:52 PST ---
(In reply to comment #0)
> Currently we clip the visible rect to layers content bounds here:
> 
> CCLayerTreeHostCommon.cpp:
> ...
> CCLayerTreeHostCommon::calculateVisibleRect
> ...
> layerRect.intersect(layerBoundRect);
> ...
> 
> This prevents us from doing pre-painting when a layer is isn't visible yet. We should change this rect to be unclipped if we can, and modify usage of this rect to clip it if unnecessary. Alternatively we could store another unclipped rect along-side the clipped rect.

This should help with 82117, so we can pre-paint animated layers the same way we pre-paint other layers (or even more aggressively, but still based on distance from view).

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