Bug 264090 - [ThreadedCompositor] The compositing thread should not wait for paint threads
Summary: [ThreadedCompositor] The compositing thread should not wait for paint threads
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk
Depends on: 266466
Blocks:
  Show dependency treegraph
 
Reported: 2023-11-02 07:10 PDT by Carlos Garcia Campos
Modified: 2024-03-20 09:55 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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