diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-19 15:16:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 15:16:40 -0400 |
commit | fa4a04da223aadcc1feba7fe133b0f44ac01e95a (patch) | |
tree | c5b5a57ddf085993a16a5c9f29076b90f3baccf1 /include/wlr/render | |
parent | 325a331425c1771d16fa90d099fa33f3ab8772f3 (diff) | |
parent | 632a04f1b7dea35f46a2fa478bf53869854a1b5e (diff) |
Merge pull request #11 from SirCmpwn/libinput
[WIP] libinput backend
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 80471ac8..a934f49e 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -19,6 +19,10 @@ struct wlr_renderer_impl { struct wlr_surface *(*surface_init)(struct wlr_renderer_state *state); bool (*render_with_matrix)(struct wlr_renderer_state *state, struct wlr_surface *surface, const float (*matrix)[16]); + void (*render_quad)(struct wlr_renderer_state *state, + const float (*color)[4], const float (*matrix)[16]); + void (*render_ellipse)(struct wlr_renderer_state *state, + const float (*color)[4], const float (*matrix)[16]); void (*destroy)(struct wlr_renderer_state *state); }; |