aboutsummaryrefslogtreecommitdiff
path: root/backend/noop/output.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-12 17:52:44 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-29 09:48:33 -0400
commitd17a0090627e4e477220dc5a846ff021e297ade5 (patch)
tree1fedcc6042df1a6efddb78c8202a93fe171574db /backend/noop/output.c
parent55ac7e335aa0ec2c77980fcbc8509a4e71880dcc (diff)
backend/noop: drop attach_render/rollback_render
We no longer require wlr_output_impl.{attach,rollback}_render to be populated.
Diffstat (limited to 'backend/noop/output.c')
-rw-r--r--backend/noop/output.c11
1 files changed, 0 insertions, 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,
};