[webkit-changes] [WebKit/WebKit] 14d24d: [GTK][WPE] DRMDeviceNode needs to be ThreadSafeRef...
Carlos Garcia Campos
noreply at github.com
Mon Jul 1 06:34:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 14d24d0067bb5d83653aed94987f7ea6137069a6
https://github.com/WebKit/WebKit/commit/14d24d0067bb5d83653aed94987f7ea6137069a6
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M Source/WebCore/platform/graphics/gbm/DRMDeviceManager.cpp
M Source/WebCore/platform/graphics/gbm/DRMDeviceNode.cpp
M Source/WebCore/platform/graphics/gbm/DRMDeviceNode.h
Log Message:
-----------
[GTK][WPE] DRMDeviceNode needs to be ThreadSafeRefCounted
https://bugs.webkit.org/show_bug.cgi?id=275583
Reviewed by Nikolas Zimmermann.
Make DRMDeviceNode ThreadSafeRefCounted and ensure the GBMDevice is
always created in the main thread.
* Source/WebCore/platform/graphics/gbm/DRMDeviceManager.cpp:
(WebCore::DRMDeviceManager::initializeMainDevice):
(WebCore::DRMDeviceManager::deviceNode):
* Source/WebCore/platform/graphics/gbm/DRMDeviceNode.cpp:
(WebCore::DRMDeviceNode::create):
(WebCore::DRMDeviceNode::gbmDevice const):
* Source/WebCore/platform/graphics/gbm/DRMDeviceNode.h:
Canonical link: https://commits.webkit.org/280530@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