mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2025-02-07 08:46:32 +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) {
|
if (result->best_score >= step->score + (int)remaining_planes) {
|
||||||
/* Even if we find a layer for all remaining planes, we won't
|
/* Even if we find a layer for all remaining planes, we won't
|
||||||
* find a better allocation. Give up. */
|
* 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue