mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 04:58:16 +02:00
drm: Reword comment in find_plane_for_view
The text can be a bit confusing, so try to clarify it a little bit. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
2f460b513f
commit
7833a01b4d
1 changed files with 5 additions and 2 deletions
|
|
@ -723,8 +723,11 @@ drm_output_find_plane_for_view(struct drm_output_state *state,
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Pre-judge whether the plane will be set as underlay plane. If so, start
|
||||
* trying to find underlay plane based on 'current_lowest_zpos_underlay'. */
|
||||
/* The paint node isn't occluded by the renderer, so it doesn't
|
||||
* unconditionally need an underlay plane. However, we may
|
||||
* only have underlay planes available, so it could use one
|
||||
* anyway.
|
||||
*/
|
||||
if (!need_underlay) {
|
||||
uint64_t tmp_next_lowest_zpos;
|
||||
if (current_lowest_zpos == DRM_PLANE_ZPOS_INVALID_PLANE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue