[webkit-changes] [WebKit/WebKit] 3a6f4d: Add ImageDataSettings.storageFormat

Gerald Squelart noreply at github.com
Wed Nov 27 02:24:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a6f4d0b3924f4643b4df54e89fb685d7b58bc84
      https://github.com/WebKit/WebKit/commit/3a6f4d0b3924f4643b4df54e89fb685d7b58bc84
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    A LayoutTests/fast/canvas/imagedata-storageformat-disabled-expected.txt
    A LayoutTests/fast/canvas/imagedata-storageformat-disabled.html
    A LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt
    A LayoutTests/fast/canvas/imagedata-storageformat-enabled.html
    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/html/ImageDataSettings.h
    M Source/WebCore/html/ImageDataSettings.idl
    A Source/WebCore/html/ImageDataStorageFormat.h
    A Source/WebCore/html/ImageDataStorageFormat.idl

  Log Message:
  -----------
  Add ImageDataSettings.storageFormat
https://bugs.webkit.org/show_bug.cgi?id=283539
rdar://problem/140386529

Reviewed by Cameron McCormack.

This will be used to determine the pixel format of the data
stored in an ImageData object; this is necessary to
eventually support HDR.

This patch only adds the ImageDataStorageFormat type (it's
not trivial to add an idl file!) and its use in
ImageDataSettings, but is still ignored otherwise.

* LayoutTests/fast/canvas/imagedata-storageformat-disabled-expected.txt: Added.
* LayoutTests/fast/canvas/imagedata-storageformat-disabled.html: Added.
* LayoutTests/fast/canvas/imagedata-storageformat-enabled-expected.txt: Added.
* LayoutTests/fast/canvas/imagedata-storageformat-enabled.html: Added.
* 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/html/ImageDataSettings.h:
* Source/WebCore/html/ImageDataSettings.idl:
* Source/WebCore/html/ImageDataStorageFormat.h: Copied from Source/WebCore/html/ImageDataSettings.h.
* Source/WebCore/html/ImageDataStorageFormat.idl: Copied from Source/WebCore/html/ImageDataSettings.h.

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