[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
Tue Mar 27 15:35:48 PDT 2012


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





--- Comment #9 from Dana Jansens <danakj at chromium.org>  2012-03-27 15:35:48 PST ---
> I think Enne's suggestion is different than this (which is effectively the same as the unclipped visible rect, right Enne?).. Just without the need to compute/store it when we compute the visible rect.

intersection(what Enne suggested, what I suggested) == visibleLayerRect. :)

> Sorry, one last question.. Are render surfaces always clipped to the viewport? Ideally what we actually want is the viewport transformed into content space, so we can expand that, which will expand into the content space even if the viewport was initially outside of it.

Yes and no, the root layer clips everything to itself. This may be equal to the viewport or may be smaller than it (aspect ratio etc).

I think what we want is the target surface though, not the viewport. And then there should be some recursive behaviour. If a layer is just outside of its target surface then it is close to being visible, iff its surface is visible/close to being visible at that same point.

Simplified idea: visibility(Tile T) = distance outside target surface * visibility(closest tile in target surface)

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