weston/libweston/backend-drm
Leandro Ribeiro 2984f36c72 backend-drm: set plane format to gbm_format at the appropriate time
In the absence of universal planes support,
drm_output_find_special_plane() sets the plane format to zero as a
placeholder. Then in drm_output_init_planes() it sets the format to
output->gbm_format.

As output->gbm_format is already set by the time we call
drm_output_find_special_plane(), simply set the plane format to it
directly in this function. This makes the code clearer, as there is no
reason to use the placeholder.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2021-04-27 19:56:38 +00:00
..
drm-gbm.c drm: Introduce drm_plane_reset_state() helper function 2020-08-17 09:44:45 +00:00
drm-internal.h Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
drm-virtual.c drm-backend: move CRTC data from struct drm_output to new struct drm_crtc 2020-09-07 12:39:10 -03:00
drm.c backend-drm: set plane format to gbm_format at the appropriate time 2021-04-27 19:56:38 +00:00
fb.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
kms.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
libbacklight.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build libweston/backend/drm: might need EGL 2020-10-26 15:44:34 +01:00
modes.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-helpers.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-propose.c backend-drm/state-propose: Check the surface buffer dimensions for cursor case 2021-04-10 23:03:23 +00:00
vaapi-recorder.c backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00