[Webkit-unassigned] [Bug 233925] New: Cocoa UI-side compositing compositor does not hold use count of layer contents before CA commits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 05:36:34 PST 2021


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

            Bug ID: 233925
           Summary: Cocoa UI-side compositing compositor does not hold use
                    count of layer contents before CA commits
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: simon.fraser at apple.com, thorton at apple.com

Cocoa compositor does not hold use count of layer contents before CA commits

When IOSurface is put as the contents of a CALayer, CA will increment the use count. However, this only happens during CA transaction commit.

UI-side compositing, WP part will reuse backing stores that are not in use by CA. This is done by checking the use count.
However, this check is not entirely correct, as it can happen that backing store being reused has not entered the transaction commit in the UI process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211207/4ab7f38a/attachment-0001.htm>


More information about the webkit-unassigned mailing list