mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
backend/noop: drop attach_render/rollback_render
We no longer require wlr_output_impl.{attach,rollback}_render to be populated.
This commit is contained in:
parent
55ac7e335a
commit
d17a009062
1 changed files with 0 additions and 11 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue