Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Log number of layers in output_log_layers
Browse files Browse the repository at this point in the history
This can help figuring out if there are disabled layers.
  • Loading branch information
emersion committed Aug 12, 2021
1 parent 8f8c4d1 commit b941c3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion output.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ void output_log_layers(struct liftoff_output *output) {
return;
}

liftoff_log(LIFTOFF_DEBUG, "Layers on CRTC %"PRIu32":", output->crtc_id);
liftoff_log(LIFTOFF_DEBUG, "Layers on CRTC %"PRIu32" (%zu total):",
output->crtc_id, liftoff_list_length(&output->layers));
liftoff_list_for_each(layer, &output->layers, link) {
if (layer->force_composition) {
liftoff_log(LIFTOFF_DEBUG, " Layer %p "
Expand Down

0 comments on commit b941c3e

Please sign in to comment.