Log number of layers in output_log_layers

This can help figuring out if there are disabled layers.
This commit is contained in:
Simon Ser 2021-08-12 18:36:52 +02:00
parent 8f8c4d18a5
commit b941c3eb03

View file

@ -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 "