aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-23 16:05:37 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-11-30 14:44:46 +0000
commitf935ff0ef6e9ed95eb33fdc5dfec39d53a6d7134 (patch)
tree0a4b03a60206c07268fa7ea12465db6e8c63f036 /include/backend
parent260dbdf7040a01d9cdb40f2e1e8069786027db4f (diff)
backend/drm: move drm_plane_finish_surface() to drm.c
This function touches queued_fb/current_fb, which the renderer has nothing to do with.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/renderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index c39d4c15..0bd26572 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -31,12 +31,12 @@ void finish_drm_renderer(struct wlr_drm_renderer *renderer);
bool init_drm_surface(struct wlr_drm_surface *surf,
struct wlr_drm_renderer *renderer, int width, int height,
const struct wlr_drm_format *drm_format);
+void finish_drm_surface(struct wlr_drm_surface *surf);
struct wlr_buffer *drm_surface_blit(struct wlr_drm_surface *surf,
struct wlr_buffer *buffer);
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