mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 08:58:08 +02:00
backend-drm: do not disable underlay planes based on b->format
Since commit "backend-drm: improve code that chooses output->format", we changed how b->format (the GBM format from the config file) is used. There are config options in weston.ini that allow us to ignore the GBM format set. So what matters to us is which output->format is being used, and we compute that in drm_output_pick_format_egl() and drm_output_pick_format_pixman(). So remove these checks that disable underlay planes based on b->format, keeping only the ones that depend on the output->format selection. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
56c27ea248
commit
6f969623eb
1 changed files with 0 additions and 8 deletions
|
|
@ -1510,14 +1510,6 @@ create_sprites(struct drm_device *device)
|
|||
|
||||
}
|
||||
|
||||
if (b->has_underlay && !b->format->opaque_substitute) {
|
||||
weston_log("WARNING: Unable to use hardware underlay "
|
||||
"planes as the output format is opaque. In "
|
||||
"order to make use of hardware overlay planes "
|
||||
"adjust the output format.\n");
|
||||
b->has_underlay = false;
|
||||
}
|
||||
|
||||
drmModeFreePlaneResources(kplane_res);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue