RESOLVED FIXED Bug 198371
[CoordinatedGraphics] WPERenderer: do not release the host file descritor when initializing the render target
https://bugs.webkit.org/show_bug.cgi?id=198371
Summary [CoordinatedGraphics] WPERenderer: do not release the host file descritor whe...
Carlos Garcia Campos
Reported 2019-05-30 05:28:33 PDT
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.
Attachments
Patch (3.04 KB, patch)
2019-05-30 05:33 PDT, Carlos Garcia Campos
mcatanzaro: review+
Archive of layout-test-results from ews215 for win-future (13.55 MB, application/zip)
2019-05-30 06:57 PDT, EWS Watchlist
no flags
Carlos Garcia Campos
Comment 1 2019-05-30 05:33:03 PDT
EWS Watchlist
Comment 2 2019-05-30 06:57:46 PDT
Comment on attachment 370937 [details] Patch Attachment 370937 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12327703 New failing tests: fast/block/float/float-with-anonymous-previous-sibling.html
EWS Watchlist
Comment 3 2019-05-30 06:57:49 PDT
Created attachment 370940 [details] Archive of layout-test-results from ews215 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews215 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Carlos Garcia Campos
Comment 4 2019-05-31 01:15:16 PDT
Note You need to log in before you can comment on or make changes to this bug.