X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland.cpp;h=05e155f4d1e72de27ea8f7db644a3cf4e393d97a;hb=78571bc2aa3dd5e826262a14eceffcdcf1f7ee50;hp=fb183864e603f19f0d8df2c2b993c4c4e00d5a27;hpb=b154238b7b9e0d21b60c08a1bec23920bff40e36;p=staging%2Fwindowmanager.git diff --git a/src/wayland.cpp b/src/wayland.cpp index fb18386..05e155f 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -570,7 +570,7 @@ constexpr struct ivi_controller_surface_listener surface_listener = { surface::surface(uint32_t i, struct controller *c) : wayland_proxy(ivi_controller_surface_create(c->proxy.get(), i), [c, i](ivi_controller_surface *s) { - logdebug("~surface surface %i @ %d", i, s); + logdebug("~surface surface %i @ %p", i, s); c->remove_proxy_to_id_mapping(s); ivi_controller_surface_destroy(s, 1); }), @@ -624,6 +624,7 @@ void controller::surface_visibility(struct surface *s, int32_t visibility) { logdebug("genivi::surface %s @ %d v %i", __func__, s->id, visibility); this->sprops[s->id].visibility = visibility; + this->chooks->surface_visibility(s->id, visibility); } void controller::surface_opacity(struct surface *s, float opacity) { @@ -646,6 +647,7 @@ void controller::surface_destination_rectangle(struct surface *s, int32_t x, logdebug("genivi::surface %s @ %d x %i y %i w %i h %i", __func__, s->id, x, y, width, height); this->sprops[s->id].dst_rect = rect{width, height, x, y}; + this->chooks->surface_destination_rectangle(s->id, x, y, width, height); } void controller::surface_configuration(struct surface *s, int32_t width, @@ -677,7 +679,7 @@ void controller::surface_stats(struct surface *s, uint32_t redraw_count, uint32_t frame_count, uint32_t update_count, uint32_t pid, const char *process_name) { logdebug("genivi::surface %s @ %d r %u f %u u %u pid %u p %s", __func__, - this->proxy.get(), redraw_count, frame_count, update_count, pid, + s->id, redraw_count, frame_count, update_count, pid, process_name); }