Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1feb6ac19b06a18bee095b204f70551cb22eff3b
https://github.com/WebKit/WebKit/commit/1feb6ac19b06a18bee095b204f70551cb22eff3b
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-08-23 (Sun, 23 Aug 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.cpp
M Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.h
Log Message:
-----------
[Skia] Do not transfer accelerated ImageBuffer to a different thread
https://bugs.webkit.org/show_bug.cgi?id=322349
Reviewed by Nikolas Zimmermann.
The SkSurface created by an accelerated ImageBuffer is expected to be
released in the same thread it was created so that GL resources are
freed by the right GrContext. For accelerated ImageBuffer we take an
image snapshot and save all ImageBuffer parameters required to create
a new one in the destination thread to copy the image snapshot into.
* Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.cpp:
(WebCore::SkiaSerializedImageBuffer::SkiaSerializedImageBuffer):
(WebCore::SkiaSerializedImageBuffer::sinkIntoImageBuffer):
(WebCore::SkiaSerializedImageBuffer::memoryCost const):
* Source/WebCore/platform/graphics/skia/SkiaSerializedImageBuffer.h:
Canonical link: https://commits.webkit.org/319660@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications