[webkit-changes] [WebKit/WebKit] 6619d9: Remove Cairo dependency for BackingStore

Don Olmstead noreply at github.com
Fri Feb 16 05:58:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6619d9b70306f0cdf01f83b058ab995df16a4480
      https://github.com/WebKit/WebKit/commit/6619d9b70306f0cdf01f83b058ab995df16a4480
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M Source/WebKit/Platform/WC.cmake
    M Source/WebKit/PlatformGTK.cmake
    M Source/WebKit/PlatformPlayStation.cmake
    M Source/WebKit/PlatformWin.cmake
    M Source/WebKit/SourcesGTK.txt
    A Source/WebKit/UIProcess/BackingStore.h
    M Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp
    M Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h
    R Source/WebKit/UIProcess/cairo/BackingStore.cpp
    R Source/WebKit/UIProcess/cairo/BackingStore.h
    A Source/WebKit/UIProcess/cairo/BackingStoreCairo.cpp
    M Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.cpp
    M Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.h

  Log Message:
  -----------
  Remove Cairo dependency for BackingStore
https://bugs.webkit.org/show_bug.cgi?id=269495

Reviewed by Adrian Perez de Castro.

Both `USE(GRAPHICS_LAYER)` and `USE(CAIRO)` for non-WPE platforms use instances
of `BackingStore`. To prepare for a `USE(SKIA)` implementation of it make the
code more cross-platform by using platform agnostic definitions. Rename and
move files accordingly to fit conventions.

Actual Skia implementation will come later.

* Source/WebKit/Platform/WC.cmake:
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/PlatformPlayStation.cmake:
* Source/WebKit/PlatformWin.cmake:
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/UIProcess/BackingStore.h: Renamed from Source/WebKit/UIProcess/cairo/BackingStore.h.
* Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp:
* Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h:
* Source/WebKit/UIProcess/cairo/BackingStoreCairo.cpp: Renamed from Source/WebKit/UIProcess/cairo/BackingStore.cpp.
* Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.cpp:
* Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.h:

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




More information about the webkit-changes mailing list