X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland.cpp;h=276ec7a1c19f955d3dbd78511c5acf77b0776782;hb=fc5950be006125db759b253d0a141953a7908bd3;hp=e7ba1573d16d533407fcd59986009aed7848e865;hpb=18cc724bb76a6b2b6e9607ce6658cb9cc8f7ec0d;p=staging%2Fwindowmanager.git diff --git a/src/wayland.cpp b/src/wayland.cpp index e7ba157..276ec7a 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -423,9 +423,8 @@ void controller::layer_orientation(struct layer *l, int32_t orientation) { l->orientation = orientation; } -void controller::layer_screen(struct layer *l, struct wl_output *screen) { +void controller::layer_screen(struct layer * /*l*/, struct wl_output *screen) { logdebug("genivi::layer %s @ %p s %p", __func__, this->proxy.get(), screen); - } void controller::layer_destroyed(struct layer *l) { @@ -636,18 +635,19 @@ void controller::surface_orientation(struct surface *s, int32_t orientation) { s->orientation = orientation; } -void controller::surface_pixelformat(struct surface *s, int32_t pixelformat) { +void controller::surface_pixelformat(struct surface * /*s*/, + int32_t pixelformat) { logdebug("genivi::surface %s @ %p f %i", __func__, this->proxy.get(), pixelformat); } -void controller::surface_layer(struct surface *s, +void controller::surface_layer(struct surface * /*s*/, struct ivi_controller_layer *layer) { logdebug("genivi::surface %s @ %p l %u @ %p", __func__, this->proxy.get(), this->layer_proxy_to_id[uintptr_t(layer)], layer); } -void controller::surface_stats(struct surface *s, uint32_t redraw_count, +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 @ %p r %u f %u u %u pid %u p %s", __func__, @@ -724,8 +724,8 @@ void controller::debug_dump_current_status() { for (auto const &i : this->surfaces) { auto const &r = i.second->dst_rect; auto const &s = i.second->size; - printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, - r.x, r.y); + printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, r.x, + r.y); } puts("\b\b "); } @@ -735,12 +735,13 @@ void controller::debug_dump_current_status() { for (auto const &i : this->layers) { auto const &r = i.second->dst_rect; auto const &s = i.second->size; - printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, - r.x, r.y); + printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, r.x, + r.y); } puts("\b\b "); } } + // // ___ ___ _ __ ___ ___ _ __ // / __|/ __| '__/ _ \/ _ \ '_ \