Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f0f80b72a8c3e8b0e4dfd54d133b27e7a1e7cbd7
      
https://github.com/WebKit/WebKit/commit/f0f80b72a8c3e8b0e4dfd54d133b27e7a1e7cbd7
  Author: Mike Wyrzykowski <mwyrzykow...@apple.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/IOSurface.mm

  Log Message:
  -----------
  IOSurface::createCompatibleBitmap allocates 8x size CGBitmapContext
https://bugs.webkit.org/show_bug.cgi?id=272317
<radar://126058665>

Reviewed by Matt Woodrow and Tadeu Zagallo.

bytesPerRow = width * bytesPerPixel + padding but we were setting it to
width * bitsPerPixel + padding.

* Source/WebCore/platform/graphics/cocoa/IOSurface.mm:
(WebCore::IOSurface::createCompatibleBitmap):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to