[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:24:13 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=82251
--- Comment #6 from Eric Penner <epenner at chromium.org> 2012-03-27 15:24:13 PST ---
(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.
Sorry, I was just tracing back to when the visible rect got clipped, as that is what we are currently using and causing the limitation. I wasn't aware we can just use the targetRenderSurface(), grab it's clip rect, and transform that into the layers space.
So, it seems like we should use that as a replacement for visibleRect then no? It would also have the advantage of not having the axis-aligned bounding box applied, in case we wanted the exact transformed rect.
--
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