mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-03 20:38:08 +02:00
compositor: Add transforms to scene graph debug dump
Add transform information to scene graph debug dumps, which can be helpful in determining why application surfaces aren't ending up on hardware planes. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
cfaa19a292
commit
ac71d40dec
1 changed files with 10 additions and 0 deletions
|
|
@ -8967,6 +8967,16 @@ debug_scene_view_print_paint_node(FILE *fp,
|
|||
output->id, output->name,
|
||||
(view->output == output) ? " (primary)" : "");
|
||||
|
||||
fprintf(fp, "\t\t\t\tBuffer to output transform: ");
|
||||
if (!pnode->valid_transform)
|
||||
fprintf(fp, "Free form\n");
|
||||
else {
|
||||
const char *tform;
|
||||
|
||||
tform = weston_transform_to_string(pnode->transform);
|
||||
fprintf(fp, "%s\n", tform);
|
||||
}
|
||||
|
||||
if (pnode->try_view_on_plane_failure_reasons) {
|
||||
char *fr_str = bits_to_str(pnode->try_view_on_plane_failure_reasons,
|
||||
weston_plane_failure_reasons_to_str);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue