mirror of
https://github.com/electron/electron.git
synced 2026-02-26 03:01:17 -05:00
6769214: [ios blink] Set IOSurface shared memory region on all GMB handles
Refs https://chromium-review.googlesource.com/c/chromium/src/+/6769214
This commit is contained in:
@@ -107,7 +107,7 @@ void OffScreenVideoConsumer::OnFrameCaptured(
|
||||
reinterpret_cast<uintptr_t>(gmb_handle.dxgi_handle().buffer_handle());
|
||||
#elif BUILDFLAG(IS_APPLE)
|
||||
texture.shared_texture_handle =
|
||||
reinterpret_cast<uintptr_t>(gmb_handle.io_surface.get());
|
||||
reinterpret_cast<uintptr_t>(gmb_handle.io_surface().get());
|
||||
#elif BUILDFLAG(IS_LINUX)
|
||||
const auto& native_pixmap = gmb_handle.native_pixmap_handle();
|
||||
texture.modifier = native_pixmap.modifier;
|
||||
|
||||
Reference in New Issue
Block a user