Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bcc92ec7dd55a4c12f6c79f547ba5417467100e6
      
https://github.com/WebKit/WebKit/commit/bcc92ec7dd55a4c12f6c79f547ba5417467100e6
  Author: Carlos Garcia Campos <cgar...@igalia.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
    M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h
    M Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
    M Source/WebCore/platform/image-decoders/jpegxl/JPEGXLImageDecoder.cpp
    M Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp

  Log Message:
  -----------
  [GTK] Remove PlatformDisplay::colorProfile()
https://bugs.webkit.org/show_bug.cgi?id=276991

Reviewed by Michael Catanzaro.

This is used by some image decoders to convert from embedded ICC profile
to destination target. However, the target is not really the display,
but the SkImage that is always created with SRGB color space. Also,
PlatformDisplay::colorProfile() is always creating an SRGB profile
except for X11 platform that the profile id the one from the display.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::colorProfile const): Deleted.
* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:
(WebCore::PlatformDisplayX11::colorProfile const): Deleted.
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h:
* Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(WebCore::JPEGImageDecoder::setICCProfile):
* Source/WebCore/platform/image-decoders/jpegxl/JPEGXLImageDecoder.cpp:
(WebCore::JPEGXLImageDecoder::prepareColorTransform):
* Source/WebCore/platform/image-decoders/png/PNGImageDecoder.cpp:
(WebCore::PNGImageDecoder::headerAvailable):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to