diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-18 12:29:04 +0100 |
---|---|---|
committer | Ilia Bozhinov <ammen99@gmail.com> | 2020-12-30 11:17:43 +0100 |
commit | bec1e6b149eb6a5eb470dd4eee6ba0aa57f1b590 (patch) | |
tree | ca279520e2f823ed34a34a905dcc008d3de32972 /include/backend | |
parent | 92a0fc0435a86396de4f9b010e22036a933cf9d0 (diff) |
backend/drm: remove special linear case for cursor plane
We now properly mark the cursor plane's formats as linear-only, and we
now have a version of wlr_drm_format_intersect that handles the case of
linear-only formats and implicit modifiers.
We can remove the special drm_plane_init_surface flag we had for cursor
planes. This also allows us to use a non-linear layout for cursor planes
on drivers that support it.
Tested on amdgpu GFX9.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/renderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 4a86e46e..bafc4ad0 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -60,7 +60,7 @@ bool drm_surface_render_black_frame(struct wlr_drm_surface *surf); bool drm_plane_init_surface(struct wlr_drm_plane *plane, struct wlr_drm_backend *drm, int32_t width, uint32_t height, - uint32_t format, bool force_linear, bool with_modifiers); + uint32_t format, bool with_modifiers); void drm_plane_finish_surface(struct wlr_drm_plane *plane); #endif |