Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d0000cab59a2bb2ae9dbb8afa66920ff2c2f59ff
https://github.com/WebKit/WebKit/commit/d0000cab59a2bb2ae9dbb8afa66920ff2c2f59ff
Author: Kimmo Kinnunen <[email protected]>
Date: 2026-06-16 (Tue, 16 Jun 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:
-----------
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):
Originally-landed-as: 305413.554@rapid/safari-7624.2.5.110-branch
(50c79b41fc8e). rdar://176061698
Canonical link: https://commits.webkit.org/315324@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications