GNOME Bugzilla – Bug 790316
renderer/native: Also wrap flip closures for EGLStreams
Last modified: 2018-06-07 20:16:31 UTC
The multi-GPU feature introduction broke EGLstream support. See attached patch for fix.
Created attachment 363559 [details] [review] renderer/native: Also wrap flip closures for EGLStreams When using the EGLStream backend, the MetaRendererNative passed a GClosure to KMS when using EGLStreams, but KMS flip callback event handler in meta-gpu-kms.c expected a closure wrapped in a closure container, meaning it'd instead crash when using EGLStreams. Make the flip handler get what it expects also when using EGLStreams by wrapping the flip closure in the container before handing it over to EGL.
Review of attachment 363559 [details] [review]: Looks good to me.
Attachment 363559 [details] pushed as 8ee14a7 - renderer/native: Also wrap flip closures for EGLStreams