Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 206ef8a13d8068024c979660d07976a68d0ec4d0
https://github.com/WebKit/WebKit/commit/206ef8a13d8068024c979660d07976a68d0ec4d0
Author: Gerald Squelart <[email protected]>
Date: 2025-09-07 (Sun, 07 Sep 2025)
Changed paths:
M LayoutTests/compositing/hdr/hdr-basic-canvas.html
M
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-disabled-expected.txt
M
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-disabled.html
M
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-enabled-expected.txt
M
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-enabled.html
M LayoutTests/fast/canvas/hdr/float16-canvas-imagedata-expected.txt
M LayoutTests/fast/canvas/hdr/float16-canvas-imagedata.html
M LayoutTests/fast/canvas/imagedata-storageformat-disabled-expected.txt
M LayoutTests/fast/canvas/imagedata-storageformat-disabled.html
M LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt
M LayoutTests/fast/canvas/imagedata-storageformat-enabled.html
M
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt
M
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt
M
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt
M
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt
M
LayoutTests/storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/dom/Document.cpp
M Source/WebCore/html/ImageData.cpp
M Source/WebCore/html/ImageData.h
M Source/WebCore/html/ImageData.idl
M Source/WebCore/html/ImageDataArray.cpp
M Source/WebCore/html/ImageDataArray.h
A Source/WebCore/html/ImageDataPixelFormat.h
A Source/WebCore/html/ImageDataPixelFormat.idl
M Source/WebCore/html/ImageDataSettings.h
M Source/WebCore/html/ImageDataSettings.idl
R Source/WebCore/html/ImageDataStorageFormat.h
R Source/WebCore/html/ImageDataStorageFormat.idl
M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
M Source/WebCore/html/canvas/CanvasRenderingContext2DSettings.h
M Source/WebCore/html/canvas/CanvasRenderingContext2DSettings.idl
Log Message:
-----------
HDR 2D Canvas: Use final HTML spec names
https://bugs.webkit.org/show_bug.cgi?id=287139
rdar://144769810
Reviewed by Mike Wyrzykowski.
https://github.com/whatwg/html/pull/10951
https://html.spec.whatwg.org/multipage/canvas.html#canvascolortype
CanvasRenderingContext2DSettings:
had pixelFormat of type CanvasPixelFormat: "uint8" "float16"
now colorType of type CanvasColorType: "unorm8" "float16"
https://github.com/whatwg/html/pull/11143
https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagedatapixelformat
ImageData and ImageDataSettings:
had storageFormat of type ImageDataStorageFormat: "uint8" "float16"
now pixelfFormat of type ImageDataPixelFormat: "rgba-unorm8" "rgba-float16"
* LayoutTests/compositing/hdr/hdr-basic-canvas.html:
*
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-disabled-expected.txt:
*
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-disabled.html:
*
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-enabled-expected.txt:
*
LayoutTests/fast/canvas/CanvasRenderingContext2DSettings-pixelFormat-enabled.html:
* LayoutTests/fast/canvas/hdr/float16-canvas-imagedata-expected.txt:
* LayoutTests/fast/canvas/hdr/float16-canvas-imagedata.html:
* LayoutTests/fast/canvas/imagedata-storageformat-disabled-expected.txt:
* LayoutTests/fast/canvas/imagedata-storageformat-disabled.html:
* LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt:
* LayoutTests/fast/canvas/imagedata-storageformat-enabled.html:
*
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.https_exclude=(Document_Window_HTML._)-expected.txt:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
*
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/dom/idlharness.worker-expected.txt:
*
LayoutTests/storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::drawsHDRContent const):
* Source/WebCore/html/ImageData.cpp:
(WebCore::computeDataSize):
(WebCore::computePixelFormat):
(WebCore::ImageData::create):
(WebCore::ImageData::ImageData):
(WebCore::ImageData::pixelBuffer const):
(WebCore::computeStorageFormat):
* Source/WebCore/html/ImageData.h:
(WebCore::ImageData::create):
(WebCore::ImageData::pixelFormat const):
(WebCore::ImageData::storageFormat const):
* Source/WebCore/html/ImageData.idl:
* Source/WebCore/html/ImageDataArray.cpp:
(WebCore::ImageDataArray::ImageDataArray):
(WebCore::ImageDataArray::tryCreate):
(WebCore::ImageDataArray::pixelFormat const):
(WebCore::ImageDataArray::extractBufferViewWithPixelFormat):
(WebCore::ImageDataArray::storageFormat const):
(WebCore::ImageDataArray::extractBufferViewWithStorageFormat):
* Source/WebCore/html/ImageDataArray.h:
(WebCore::ImageDataArray::isSupported):
(WebCore::ImageDataArray::tryCreate):
* Source/WebCore/html/ImageDataPixelFormat.h: Renamed from
Source/WebCore/html/ImageDataStorageFormat.h.
(WebCore::toPixelFormat):
(WebCore::toImageDataPixelFormat):
* Source/WebCore/html/ImageDataPixelFormat.idl: Renamed from
Source/WebCore/html/ImageDataStorageFormat.idl.
* Source/WebCore/html/ImageDataSettings.h:
* Source/WebCore/html/ImageDataSettings.idl:
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::cacheImageDataIfPossible):
(WebCore::CanvasRenderingContext2DBase::getImageData const):
(WebCore::CanvasRenderingContext2DBase::pixelFormat const):
* Source/WebCore/html/canvas/CanvasRenderingContext2DSettings.h:
* Source/WebCore/html/canvas/CanvasRenderingContext2DSettings.idl:
Canonical link: https://commits.webkit.org/299673@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes