Commit e404b72f authored by Daniel Stone's avatar Daniel Stone

compositor-drm: Split assign_planes() into separate file

drm_assign_planes() is called to separate views out and decide what will
be taken out for plane composition and what will be left for the
renderer to compose.

It calls drm_output_propose_state() in order to find a good
configuration, which itself has a number of helpers that it calls. Break
these out into a separate file.
Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
parent 6b466f25
......@@ -665,3 +665,9 @@ drm_plane_state_put_back(struct drm_plane_state *state);
bool
drm_plane_state_coords_for_view(struct drm_plane_state *state,
struct weston_view *ev);
void
drm_assign_planes(struct weston_output *output_base, void *repaint_data);
bool
drm_plane_is_available(struct drm_plane *plane, struct drm_output *output);
This diff is collapsed.
......@@ -25,6 +25,7 @@ srcs_drm = [
'modes.c',
'kms.c',
'state-helpers.c',
'state-propose.c',
linux_dmabuf_unstable_v1_protocol_c,
linux_dmabuf_unstable_v1_server_protocol_h,
presentation_time_server_protocol_h,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment