Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56d0998a1ebb77d9b7e3f6948de2336de044d6a0
      
https://github.com/WebKit/WebKit/commit/56d0998a1ebb77d9b7e3f6948de2336de044d6a0
  Author: Carlos Garcia Campos <cgar...@igalia.com>
  Date:   2024-02-15 (Thu, 15 Feb 2024)

  Changed paths:
    M Source/ThirdParty/skia/CMakeLists.txt
    M Source/WebCore/platform/ImageDecoders.cmake
    M Source/WebCore/platform/MIMETypeRegistry.cpp
    M Source/WebCore/platform/graphics/skia/ImageBufferUtilitiesSkia.cpp
    M Source/cmake/FindWebP.cmake

  Log Message:
  -----------
  [WPE][Skia] Implement support for canvas toDataURL
https://bugs.webkit.org/show_bug.cgi?id=269362

Reviewed by Adrian Perez de Castro.

Implement encodeData().

* Source/ThirdParty/skia/CMakeLists.txt: Add JPEG and WebP encoder files.
* Source/WebCore/platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::createMIMETypeRegistryThreadGlobalData): Mark JPEG,
PNG and WebP as formats support for encoding when building with Skia.
* Source/WebCore/platform/graphics/skia/ImageBufferUtilitiesSkia.cpp:
(WebCore::encodeAcceleratedImage):
(WebCore::encodeUnacceleratedImage):
(WebCore::encodeData):
* Source/cmake/FindWebP.cmake: Also look for mux library if requested as 
component

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to