From d17a0090627e4e477220dc5a846ff021e297ade5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 12 Jul 2021 17:52:44 +0200 Subject: [PATCH] backend/noop: drop attach_render/rollback_render We no longer require wlr_output_impl.{attach,rollback}_render to be populated. --- backend/noop/output.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/backend/noop/output.c b/backend/noop/output.c index 1e927feb..bde80820 100644 --- a/backend/noop/output.c +++ b/backend/noop/output.c @@ -16,15 +16,6 @@ static struct wlr_noop_output *noop_output_from_output( return (struct wlr_noop_output *)wlr_output; } -static bool output_attach_render(struct wlr_output *wlr_output, - int *buffer_age) { - return false; -} - -static void output_rollback_render(struct wlr_output *wlr_output) { - // This space is intentionally left blank -} - static bool output_commit(struct wlr_output *wlr_output) { uint32_t unsupported = wlr_output->pending.committed & ~SUPPORTED_OUTPUT_STATE; @@ -60,8 +51,6 @@ static void output_destroy(struct wlr_output *wlr_output) { static const struct wlr_output_impl output_impl = { .destroy = output_destroy, - .attach_render = output_attach_render, - .rollback_render = output_rollback_render, .commit = output_commit, };