Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 263fc5c51836e9287dbebd17a00c92992aa59072
      
https://github.com/WebKit/WebKit/commit/263fc5c51836e9287dbebd17a00c92992aa59072
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp
    M 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h
    M 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp

  Log Message:
  -----------
  [CoordinatedGraphics] Add CompositingRunLoop::isCurrent()
https://bugs.webkit.org/show_bug.cgi?id=246146

Reviewed by Žan Doberšek.

And use it instead of !RunLoop::isMain(), since we really want to check
not only that current thread is not the main one, but that it's the
threaded compositor one.

* 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:
(WebKit::CompositingRunLoop::isCurrent const):
* 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h:
* 
Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::createGLContext):
(WebKit::ThreadedCompositor::frameComplete):

Canonical link: https://commits.webkit.org/255258@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to