X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland.hpp;h=79dd7ae7725641a65d72b639f7c920a5b0b1ba64;hb=5a905147d566e62ceafd8f885143a49e2866947e;hp=9a5541d7242d47751aa0a9fbaa189582ef9fb242;hpb=d1cebefc3d280fa1960ac203d24edff31ed9e8de;p=staging%2Fwindowmanager.git diff --git a/src/wayland.hpp b/src/wayland.hpp index 9a5541d..79dd7ae 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -208,19 +208,9 @@ struct layer : public wayland_proxy, struct screen : public wayland_proxy, controller_child { screen(uint32_t i, struct controller *c, struct ivi_controller_screen *p); - - void clear() { ivi_controller_screen_clear(this->proxy); } - void add_layer(layer *l) { - ivi_controller_screen_add_layer(this->proxy, l->proxy); - } - void set_render_order(std::vector const &ro) { - struct wl_array wlro { - .size = ro.size() * sizeof(ro[0]), - .alloc = ro.capacity() * sizeof(ro[0]), - .data = const_cast(static_cast(ro.data())) - }; - ivi_controller_screen_set_render_order(this->proxy, &wlro); - } + void clear(); + void add_layer(layer *l); + void set_render_order(std::vector const &ro); }; // _ _ _