Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bfe2e92b68fb3ba4727baf6fbc87cd3442130023
https://github.com/WebKit/WebKit/commit/bfe2e92b68fb3ba4727baf6fbc87cd3442130023
Author: Pawel Lampe <[email protected]>
Date: 2026-02-24 (Tue, 24 Feb 2026)
Changed paths:
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/AcceleratedSurface.h
Log Message:
-----------
[CoordinatedGraphics] Handle buffer creation failures gracefully
https://bugs.webkit.org/show_bug.cgi?id=308541
Reviewed by Carlos Garcia Campos.
When swap chain fails to create buffers, currently it stores nullptr
render targets and hence breaks assumptions in few places.
The above leads to crashes when headless WPE platform is used with
EGLImage buffers and when DRM device is guessed wrong.
This change implements graceful handling of such buffer creation
failures and also adjusts the wrong assumption in one spot.
Canonical link: https://commits.webkit.org/308187@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications