Skip to content
Commit 7086b9ea authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone
Browse files

libweston: Avoid using the surface's output when emitting a timeline



This is an odd corner case where the surface doesn't yet have an output
assigned -- noticed when starting up with the RDP backend and
fullscreen-shell, and we attempt to emit a timeline point for a surface
without an output assigned, causing weston to crash when that
happens.

Rather than trying to catch this in the timeline code, still emit the
flush damage timeline but instead of using the output the surface is on,
use the output that accumulates damage.

Suggested-by: default avatarDerek Foreman <derek.foreman@collabora.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 70b03b29
Loading
Loading
Loading
Pipeline #780357 passed with stages
in 2 minutes and 54 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment