aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/wlr_renderer.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-26 11:34:49 +0200
committerGitHub <noreply@github.com>2018-04-26 11:34:49 +0200
commitfecb971518675254c26757c279ff971985cd2d2d (patch)
tree895833a5b0bf14b391d1c216afde4cbe095ed807 /include/wlr/render/wlr_renderer.h
parent25dddc0094f5607c40f2ec502c5c2543b4e96163 (diff)
parent449f06556aa9550540c37af0cae0d6902b29f204 (diff)
Merge pull request #902 from emersion/various-memory-leaks
Various memory leaks
Diffstat (limited to 'include/wlr/render/wlr_renderer.h')
-rw-r--r--include/wlr/render/wlr_renderer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index eb365762..21f9c16c 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -6,9 +6,15 @@
#include <wlr/render/wlr_texture.h>
#include <wlr/types/wlr_box.h>
-struct wlr_output;
+struct wlr_renderer_impl;
-struct wlr_renderer;
+struct wlr_renderer {
+ const struct wlr_renderer_impl *impl;
+
+ struct {
+ struct wl_signal destroy;
+ } events;
+};
void wlr_renderer_begin(struct wlr_renderer *r, int width, int height);
void wlr_renderer_end(struct wlr_renderer *r);