mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2025-01-30 20:34:19 +01:00
Add TODO about remaining plane counting optimization
This commit is contained in:
parent
927efe09d2
commit
72f5e9bd2f
1 changed files with 2 additions and 0 deletions
|
@ -467,6 +467,8 @@ bool output_choose_layers(struct liftoff_output *output,
|
|||
if (result->best_score >= step->score + (int)remaining_planes) {
|
||||
/* Even if we find a layer for all remaining planes, we won't
|
||||
* find a better allocation. Give up. */
|
||||
/* TODO: change remaining_planes to only count those whose
|
||||
* possible CRTC match and which aren't allocated */
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue