mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-25 21:59:11 +01:00
Log number of layers in output_log_layers
This can help figuring out if there are disabled layers.
This commit is contained in:
parent
8f8c4d18a5
commit
b941c3eb03
1 changed files with 2 additions and 1 deletions
3
output.c
3
output.c
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue