From 83b9b4e86d1193d820dfd67a3c0e1cbe0c29bb17 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 12 Sep 2017 11:29:35 +0200 Subject: app/binding: implement crude syndraw/enddraw/flushdraw sequence Signed-off-by: Marcus Fritzsch --- src/app.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app.hpp') 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 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); -- cgit 1.2.3-korg