aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_output.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-10 09:45:18 -0500
committerGitHub <noreply@github.com>2018-02-10 09:45:18 -0500
commit07856580c446607fa55888db8ae75491e0447c20 (patch)
treefe1ab648a792adfd9d66f3975ff093f2ed5a4844 /include/wlr/interfaces/wlr_output.h
parent039f112c31eea17e45c121db9b470fa36bbf9af9 (diff)
parentbf6d24540000339029a30715f1f72b5b95a45018 (diff)
Merge pull request #619 from emersion/swap-with-damage
Swap buffers with damage
Diffstat (limited to 'include/wlr/interfaces/wlr_output.h')
-rw-r--r--include/wlr/interfaces/wlr_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 652be45e..a01f8901 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -19,7 +19,7 @@ struct wlr_output_impl {
bool (*move_cursor)(struct wlr_output *output, int x, int y);
void (*destroy)(struct wlr_output *output);
bool (*make_current)(struct wlr_output *output, int *buffer_age);
- bool (*swap_buffers)(struct wlr_output *output);
+ bool (*swap_buffers)(struct wlr_output *output, pixman_region32_t *damage);
void (*set_gamma)(struct wlr_output *output,
uint32_t size, uint16_t *r, uint16_t *g, uint16_t *b);
uint32_t (*get_gamma_size)(struct wlr_output *output);