[webkit-changes] [WebKit/WebKit] ca9f53: AVIF images do not render in iOS Simulator
Nikos Mouchtaris
noreply at github.com
Fri Feb 3 10:06:20 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca9f53c112bce3ac9330e219a7d35a00b86e8fc0
https://github.com/WebKit/WebKit/commit/ca9f53c112bce3ac9330e219a7d35a00b86e8fc0
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2023-02-03 (Fri, 03 Feb 2023)
Changed paths:
M LayoutTests/platform/ios/TestExpectations
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/platform/graphics/cg/UTIRegistry.cpp
Log Message:
-----------
AVIF images do not render in iOS Simulator
https://bugs.webkit.org/show_bug.cgi?id=247831
rdar://102534920
Reviewed by Said Abou-Hallawa.
In iOS simulator we are not decoding AVIF images because in
defaultSupportedImageTypes we are filtering the image types
based on CGImageSourceCopyTypeIdentifiers. Currently this
function is not returning public.avif so we do not decode the
image. To workaround this, we add the avif related types after
filtering the image types. I filed rdar://104940377 to get
CGImageSourceCopyTypeIdentifiers returning public.avif in
the iOS simulator.
* Source/WebCore/platform/graphics/cg/UTIRegistry.cpp:
(WebCore::defaultSupportedImageTypes):
Canonical link: https://commits.webkit.org/259819@main
More information about the webkit-changes
mailing list