diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-04 19:24:44 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-11 18:24:43 +0200 |
commit | 90d08f8f1c40e2a302d62052435ff2abdb08a854 (patch) | |
tree | a3accd6bbb593af732b5f1207e92bd407470992b /include/backend/drm | |
parent | 340700cb7085aff743f929845604ef95feb5820e (diff) |
wlr_drm_format: Rework wlr_drm_format_intersect
Now it takes a reference to a destination format
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/renderer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 5851d228..07fcf28a 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -50,8 +50,8 @@ struct wlr_drm_fb *drm_fb_lock(struct wlr_drm_fb *fb); struct wlr_buffer *drm_surface_blit(struct wlr_drm_surface *surf, struct wlr_buffer *buffer); -struct wlr_drm_format *drm_plane_pick_render_format( - struct wlr_drm_plane *plane, struct wlr_drm_renderer *renderer); +bool drm_plane_pick_render_format(struct wlr_drm_plane *plane, + struct wlr_drm_format *fmt, struct wlr_drm_renderer *renderer); void drm_plane_finish_surface(struct wlr_drm_plane *plane); #endif |