Bug 264090

Summary: [ThreadedCompositor] The compositing thread should not wait for paint threads
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: REOPENED ---    
Severity: Normal CC: bugs-noreply, commit-queue, philn
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 266466    
Bug Blocks:    

Description Carlos Garcia Campos 2023-11-02 07:10:14 PDT
If there's an async scrolling request the compositing thread might be busy just waiting for the painting threads. We can wait for them in the main thread, which is already expected to be blocked painting.
Comment 1 Carlos Garcia Campos 2023-11-02 07:12:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19884
Comment 2 EWS 2023-11-08 05:34:45 PST
Committed 270388@main (2bf118e5bf78): <https://commits.webkit.org/270388@main>

Reviewed commits have been landed. Closing PR #19884 and removing active labels.
Comment 3 Philippe Normand 2023-11-12 03:56:53 PST
This introduced flakyness in 2 tests at least. See bug 264700.
Comment 4 WebKit Commit Bot 2023-12-15 01:44:05 PST
Re-opened since this is blocked by bug 266466
Comment 5 Carlos Garcia Campos 2024-03-20 09:55:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26192