From 2796f54cf0b80ce180542198de2b2465f9d98d95 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 24 Jul 2018 09:20:54 +0900 Subject: Remove useless functions These functions are not used anymore because of upgrade of wayland-ivi-extension * layer_configuration * layer_orientation * layer_screen Change-Id: I794fa13a3203b929c8fc49d6fb96b14004aa0fcc Signed-off-by: Kazumasa Mitsunari --- src/wayland_ivi_wm.cpp | 20 -------------------- src/wayland_ivi_wm.hpp | 3 --- 2 files changed, 23 deletions(-) diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp index e0c395c..dd6fbf8 100644 --- a/src/wayland_ivi_wm.cpp +++ b/src/wayland_ivi_wm.cpp @@ -675,26 +675,6 @@ void controller::layer_destination_rectangle_changed(struct layer *l, uint32_t l this->lprops[layer_id].dst_rect = rect{width, height, x, y}; } -void controller::layer_configuration(struct layer *l, int32_t width, - int32_t height) -{ - HMI_DEBUG("wm", "compositor::layer %s @ %d w %i h %i", __func__, l->id, - width, height); - this->lprops[l->id].size = size{uint32_t(width), uint32_t(height)}; -} - -void controller::layer_orientation(struct layer *l, int32_t orientation) -{ - HMI_DEBUG("wm", "compositor::layer %s @ %d o %i", __func__, l->id, - orientation); - this->lprops[l->id].orientation = orientation; -} - -void controller::layer_screen(struct layer *l, struct wl_output *screen) -{ - HMI_DEBUG("wm", "compositor::layer %s @ %d s %p", __func__, l->id, screen); -} - void controller::layer_destroyed(struct layer *l, uint32_t layer_id) { HMI_DEBUG("wm", "compositor::layer %s @ %d", __func__, layer_id); diff --git a/src/wayland_ivi_wm.hpp b/src/wayland_ivi_wm.hpp index 06c1e1b..ac9a7fc 100644 --- a/src/wayland_ivi_wm.hpp +++ b/src/wayland_ivi_wm.hpp @@ -317,9 +317,6 @@ struct controller : public wayland_proxy void layer_destroyed(struct layer *l, uint32_t layer_id); void layer_error_detected(uint32_t object_id, uint32_t error_code, char const *error_text); - void layer_configuration(struct layer *l, int32_t width, int32_t height); - void layer_orientation(struct layer *l, int32_t orientation); - void layer_screen(struct layer *l, struct wl_output *screen); }; } // namespace compositor -- cgit 1.2.3-korg