[webkit-changes] [WebKit/WebKit] 81c32d: Add an internal API to return the last DecodingOpt...

Said Abou-Hallawa noreply at github.com
Thu Mar 21 03:05:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81c32dcdf889206dd5f1709058eab565c0798153
      https://github.com/WebKit/WebKit/commit/81c32dcdf889206dd5f1709058eab565c0798153
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/images/async-image-intersect-different-size-for-drawing-expected.txt
    A LayoutTests/fast/images/async-image-intersect-different-size-for-drawing.html
    M Source/WebCore/platform/graphics/BitmapImage.cpp
    M Source/WebCore/platform/graphics/BitmapImage.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  Add an internal API to return the last DecodingOptions of an image
https://bugs.webkit.org/show_bug.cgi?id=271355
rdar://125133851

Reviewed by Simon Fraser.

This will help ensuing the decoding mode heuristics are working as expected. The
layout test is expected to fail. It will be unskipped by the fix of bug 270330.

* LayoutTests/TestExpectations:
* LayoutTests/fast/images/async-image-intersect-different-size-for-drawing-expected.txt: Added.
* LayoutTests/fast/images/async-image-intersect-different-size-for-drawing.html: Added.
* Source/WebCore/platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::draw):
(WebCore::BitmapImage::lastDecodingOptionsForTesting const):
* Source/WebCore/platform/graphics/BitmapImage.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::imageLastDecodingOptions):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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