Bug 246146 - [CoordinatedGraphics] Add CompositingRunLoop::isCurrent()
Summary: [CoordinatedGraphics] Add CompositingRunLoop::isCurrent()
Status: RESOLVED FIXED
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:
Blocks:
 
Reported: 2022-10-06 03:10 PDT by Carlos Garcia Campos
Modified: 2022-10-07 01:49 PDT (History)
1 user (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 2022-10-06 03:10:32 PDT
And use it instead of !RunLoop::isMain(), since we really want to check not only that current thread is not the main onem, but that it's the threaded compositor one.
Comment 1 Carlos Garcia Campos 2022-10-06 03:12:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5078
Comment 2 EWS 2022-10-07 01:49:45 PDT
Committed 255258@main (263fc5c51836): <https://commits.webkit.org/255258@main>

Reviewed commits have been landed. Closing PR #5078 and removing active labels.