Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: c1a8e5d2571c2805f004e87263b0a670e37e6c55
https://github.com/WebKit/WebKit/commit/c1a8e5d2571c2805f004e87263b0a670e37e6c55
Author: Kimmo Kinnunen <[email protected]>
Date: 2026-05-26 (Tue, 26 May 2026)
Changed paths:
A LayoutTests/webgl/readpixels-pbo-offset-validation-expected.txt
A LayoutTests/webgl/readpixels-pbo-offset-validation.html
M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
Log Message:
-----------
Cherry-pick 305413.554@safari-7624-branch (50c79b41fc8e).
https://bugs.webkit.org/show_bug.cgi?id=310333
WebGL: Crash when reading pixels to PBO with an offset
https://bugs.webkit.org/show_bug.cgi?id=310333
rdar://171685583
Reviewed by Dan Glastonbury.
Avoid using the client buffer path when reading pixels to PBO.
The legacy wipeAlphaChannelFromPixels would be run if PBO was
read to with an offset.
Test: webgl/readpixels-pbo-offset-validation.html
* LayoutTests/webgl/readpixels-pbo-offset-validation-expected.txt: Added.
* LayoutTests/webgl/readpixels-pbo-offset-validation.html: Added.
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::readPixelsBufferObject):
Identifier: 305413.554@safari-7624-branch
Canonical link: https://commits.webkit.org/305877.685@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications