diff options
author | 2017-09-12 11:29:35 +0200 | |
---|---|---|
committer | 2017-09-12 11:29:35 +0200 | |
commit | 83b9b4e86d1193d820dfd67a3c0e1cbe0c29bb17 (patch) | |
tree | 65316d6130ca30b6019dbb9be10ddd8b40467e3b /src/app.hpp | |
parent | 616ac2c0016f3936c1e8634c134807044e7bba68 (diff) |
app/binding: implement crude syndraw/enddraw/flushdraw sequence
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index 2e5478b..e661794 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -138,6 +138,8 @@ struct App { x, false, std::memory_order_consume); } + std::vector<int> pending_end_draw; + explicit App(wl::display *d); ~App(); @@ -162,6 +164,8 @@ struct App { char const *activate_surface(char const *drawing_name); char const *deactivate_surface(char const *drawing_name); + char const *enddraw(char const *drawing_name); + // Events from the compositor we are interested in void surface_created(uint32_t surface_id); void surface_removed(uint32_t surface_id); |