[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:30:42 PDT 2012


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





--- Comment #8 from Eric Penner <epenner at chromium.org>  2012-03-27 15:30:42 PST ---
(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Isn't this just the target surface's clip rect transformed into the space of the layer contents? It doesn't seem like you need another variable for that.
> > 
> > Urg, thanks Enne I think I missed the ball on this. I think what you're asking for Eric us just IntRect(IntPoint(), contentBounds())? visibleLayerRect is in the content space of the layer, so that is the whole content space.
> > 
> > Are you thinking something in screen space or target surface space? We can just transform the above rect to find that with the layer's screenSpaceTransform or originTransform.
> 
> 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.

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.

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