diff options
author | nyorain <nyorain@gmail.com> | 2017-06-19 17:49:26 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-06-19 17:49:26 +0200 |
commit | 41a477375cf5fc2cfafc97fb6d98e4e3457dfa62 (patch) | |
tree | 93e318287fb70b21dd0f5d7f90551810fa85a7dd /include/wlr/render | |
parent | 904739c40596cb4e9e9d48c89b1d864051237441 (diff) | |
parent | 7e038a6110501a51e7f3d3366e8bc54a02766f22 (diff) |
Merge branch 'libinput' into wayland-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); }; |