[webkit-changes] [WebKit/WebKit] f0f80b: IOSurface::createCompatibleBitmap allocates 8x siz...
mwyrzykowski
noreply at github.com
Thu Apr 18 14:52:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f0f80b72a8c3e8b0e4dfd54d133b27e7a1e7cbd7
https://github.com/WebKit/WebKit/commit/f0f80b72a8c3e8b0e4dfd54d133b27e7a1e7cbd7
Author: Mike Wyrzykowski <mwyrzykowski at 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
More information about the webkit-changes
mailing list