[Webkit-unassigned] [Bug 198371] New: [CoordinatedGraphics] WPERenderer: do not release the host file descritor when initializing the render target

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 30 05:28:33 PDT 2019


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

            Bug ID: 198371
           Summary: [CoordinatedGraphics] WPERenderer: do not release the
                    host file descritor when initializing the render
                    target
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org, Hironori.Fujii at sony.com,
                    magomez at igalia.com, zan at falconsigh.net

We are assuming that there will always be only one target for a web page. In the GTK port (and WinCairo once they enable coordinated graphics) we destroy the render target when leaving AC mode, and a new one is created when re-entering AC mode. Since the file descriptor is released on the first target and adopted by libwpe, the second target passes -1 as host fd to libwpe, and the new surface created by the target is not properly registered in the wayland compositor. That means that frame requests for the new target are simply ignored by the wayland compositor, it returns early on surfacxe frame when the surface doesn't have a view backend client.

-- 
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/20190530/c3a690ab/attachment.html>


More information about the webkit-unassigned mailing list