mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 19:18:13 +02:00
drm: Dump scene graph at end of repaint instead of beginning
At the end we'll have the plane failure reasons in their final state for the frame we're submitting (instead of a stale state from the previous) Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
6e7b4d63c2
commit
37c94a12d9
1 changed files with 6 additions and 6 deletions
|
|
@ -1064,12 +1064,6 @@ drm_repaint_begin(struct weston_backend *backend)
|
|||
if (device->will_repaint)
|
||||
drm_repaint_begin_device(device);
|
||||
}
|
||||
|
||||
if (weston_log_scope_is_enabled(b->debug)) {
|
||||
char *dbg = weston_compositor_print_scene_graph(b->compositor);
|
||||
drm_debug(b, "%s", dbg);
|
||||
free(dbg);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1126,6 +1120,12 @@ drm_repaint_flush(struct weston_backend *backend)
|
|||
|
||||
wl_list_for_each(device, &b->kms_list, link)
|
||||
drm_repaint_flush_device(device);
|
||||
|
||||
if (weston_log_scope_is_enabled(b->debug)) {
|
||||
char *dbg = weston_compositor_print_scene_graph(b->compositor);
|
||||
drm_debug(b, "%s", dbg);
|
||||
free(dbg);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue