mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: improve doc comment for match_connectors_with_crtcs_()
- Add general description - Mention the computer theory problem that this is solving - More wording cleanup
This commit is contained in:
parent
beb9a9ad0a
commit
234d31f138
1 changed files with 6 additions and 3 deletions
|
|
@ -123,9 +123,12 @@ struct match_state {
|
|||
bool exit_early;
|
||||
};
|
||||
|
||||
/*
|
||||
* skips: The number of SKIP elements encountered so far.
|
||||
* score: The number of resources we've matched so far.
|
||||
/**
|
||||
* Step to process a CRTC.
|
||||
*
|
||||
* This is a naive implementation of maximum bipartite matching.
|
||||
*
|
||||
* score: The number of connectors we've matched so far.
|
||||
* replaced: The number of changes from the original solution.
|
||||
* crtc_index: The index of the current CRTC.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue