[webkit-changes] [WebKit/WebKit] bcddb3: [WTR][Skia] Add support for web contents pixel res...

Carlos Garcia Campos noreply at github.com
Wed Mar 20 05:12:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bcddb3eea6b4257f6a974f9f78efdfedf9e68c8f
      https://github.com/WebKit/WebKit/commit/bcddb3eea6b4257f6a974f9f78efdfedf9e68c8f
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M Source/WebKit/Shared/API/c/cairo/WKImageCairo.cpp
    M Source/WebKit/Shared/API/c/cairo/WKImageCairo.h
    A Source/WebKit/Shared/API/c/skia/WKImageSkia.cpp
    A Source/WebKit/Shared/API/c/skia/WKImageSkia.h
    M Source/WebKit/SourcesGTK.txt
    M Source/WebKit/SourcesWPE.txt
    M Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp
    M Tools/WebKitTestRunner/skia/TestInvocationSkia.cpp

  Log Message:
  -----------
  [WTR][Skia] Add support for web contents pixel results
https://bugs.webkit.org/show_bug.cgi?id=271239

Reviewed by Alejandro G. Castro.

Add WKImageSkia with WKImageCreateSkImage() to be used from
dumpPixelsAndCompareWithExpected().

* Source/WebKit/Shared/API/c/cairo/WKImageCairo.cpp:
(WKImageCreateCairoSurface):
(WKImageCreateFromCairoSurface):
* Source/WebKit/Shared/API/c/cairo/WKImageCairo.h:
* Source/WebKit/Shared/API/c/skia/WKImageSkia.cpp: Copied from Source/WebKit/Shared/API/c/cairo/WKImageCairo.h.
(WKImageCreateSkImage):
* Source/WebKit/Shared/API/c/skia/WKImageSkia.h: Copied from Source/WebKit/Shared/API/c/cairo/WKImageCairo.h.
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/SourcesWPE.txt:
* Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
* Tools/WebKitTestRunner/skia/TestInvocationSkia.cpp:
(WTR::TestInvocation::dumpPixelsAndCompareWithExpected):

Canonical link: https://commits.webkit.org/276401@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