[webkit-changes] [WebKit/WebKit] 9bcbbf: Canvas noise injection was not correctly applied

Matthew Finkel noreply at github.com
Tue Mar 7 17:42:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9bcbbf040e7ca48587b568851ec67721913b8c26
      https://github.com/WebKit/WebKit/commit/9bcbbf040e7ca48587b568851ec67721913b8c26
  Author: Matthew Finkel <sysrqb at apple.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M Source/WebCore/html/CanvasBase.cpp

  Log Message:
  -----------
  Canvas noise injection was not correctly applied
https://bugs.webkit.org/show_bug.cgi?id=253524
rdar://106314656

Reviewed by Wenson Hsieh.

The noise injection fractional value was not incorrectly truncated during
conversion. This patch takes a different approach for computing the value.

* Source/WebCore/html/CanvasBase.cpp:
(WebCore::CanvasBase::postProcessPixelBuffer const):

Canonical link: https://commits.webkit.org/261348@main




More information about the webkit-changes mailing list