[webkit-changes] [WebKit/WebKit] 6408e1: [CoordinatedGraphics] Remove CoordinatedGraphicsSc...

Carlos Garcia Campos noreply at github.com
Fri Jan 10 02:47:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6408e15602d393c3ab95e9e77b232bcbbd36f71e
      https://github.com/WebKit/WebKit/commit/6408e15602d393c3ab95e9e77b232bcbbd36f71e
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.h
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h

  Log Message:
  -----------
  [CoordinatedGraphics] Remove CoordinatedGraphicsScene isActive
https://bugs.webkit.org/show_bug.cgi?id=285587

Reviewed by Alejandro G. Castro.

This is only used by the threaded compositor when the compositor is
suspended/resumed. We already have m_suspendedCount in ThreadedCompsitor
so we can just make it atomic and use it instead.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::detach):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.h:
(WebKit::CoordinatedGraphicsScene::isActive const): Deleted.
(WebKit::CoordinatedGraphicsScene::setActive): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::suspend):
(WebKit::ThreadedCompositor::resume):
(WebKit::ThreadedCompositor::renderLayerTree):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list