[Webkit-unassigned] [Bug 90419] New: When overlap testing, compute regions relative to some container, not absolute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 2 18:12:07 PDT 2012


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

           Summary: When overlap testing, compute regions relative to some
                    container, not absolute
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: jchaffraix at webkit.org, jamesr at chromium.org


Currently the overlap testing code computes all layer bounds in absolute coords, and adds them to regions in the overlap map's region stack.

This doesn't make too much sense when elements are 3d-transformed (e.e. by flips), and can be very expensive.

I think it would be better to treat certain layers as "overlap-test containers", and when traversing descendants, to compute regions relative to those containers. E.g. 3d-transformed element would be containers. When you pop that layer off the stack, you could map its region bounds into the space of the parent container.

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