[webkit-changes] [WebKit/WebKit] 58d02b: GPUCanvasContextCocoa::getConfiguration()

Gerald Squelart noreply at github.com
Tue Oct 8 00:04:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 58d02b475262162c444b8cbce2be57edffafac60
      https://github.com/WebKit/WebKit/commit/58d02b475262162c444b8cbce2be57edffafac60
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl
    M Source/WebCore/Modules/WebGPU/GPUCanvasToneMapping.idl
    M Source/WebCore/Modules/WebGPU/GPUDevice.idl
    M Source/WebCore/bindings/js/JSDOMConvertBase.h
    M Source/WebCore/html/canvas/GPUCanvasContext.h
    M Source/WebCore/html/canvas/GPUCanvasContext.idl
    M Source/WebCore/html/canvas/GPUCanvasContextCocoa.h
    M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm

  Log Message:
  -----------
  GPUCanvasContextCocoa::getConfiguration()
https://bugs.webkit.org/show_bug.cgi?id=281015
rdar://problem/137461371

Reviewed by Mike Wyrzykowski.

This new function returns the *current* configuration.
In particular, its toneMapping.mode can be forced to "standard"
when HDR is not supported (e.g., on some platforms, or when the
feature flag is turned off.)

* Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl:
* Source/WebCore/Modules/WebGPU/GPUCanvasToneMapping.idl:
* Source/WebCore/Modules/WebGPU/GPUDevice.idl:
* Source/WebCore/html/canvas/GPUCanvasContext.h:
* Source/WebCore/html/canvas/GPUCanvasContext.idl:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.h:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::getConfiguration const):

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