summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus.fritzsch@xse.de>2014-07-29 14:45:27 +0200
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>2014-08-12 22:15:13 +0900
commiteb3c5ce74e63285e3347665517473c6751664d57 (patch)
tree3c6d17531c12c831c09a1d52d37a50d95242e2f8
parentda164fa666205a0c58dd4ef627001be50d290272 (diff)
downloadwayland-ivi-extension-eb3c5ce74e63285e3347665517473c6751664d57.tar.gz
ilmControl: removed main controller_surface listener
Signed-off-by: Marcus Fritzsch <marcus.fritzsch@xse.de>
-rw-r--r--ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c172
1 files changed, 0 insertions, 172 deletions
diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
index f2a22bd..cf4b4b4 100644
--- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
+++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c
@@ -1009,178 +1009,6 @@ static struct ivi_controller_surface_listener controller_surface_listener=
};
static void
-controller_surface_listener_visibility_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t visibility)
-{
- (void)data;
- (void)controller;
- (void)visibility;
-}
-
-static void
-controller_surface_listener_opacity_main(void *data,
- struct ivi_controller_surface *controller,
- wl_fixed_t opacity)
-{
- (void)data;
- (void)controller;
- (void)opacity;
-}
-
-static void
-controller_surface_listener_source_rectangle_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t x,
- int32_t y,
- int32_t width,
- int32_t height)
-{
- (void)data;
- (void)controller;
- (void)x;
- (void)y;
- (void)width;
- (void)height;
-}
-
-static void
-controller_surface_listener_destination_rectangle_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t x,
- int32_t y,
- int32_t width,
- int32_t height)
-{
- (void)data;
- (void)controller;
- (void)x;
- (void)y;
- (void)width;
- (void)height;
-}
-
-static void
-controller_surface_listener_configuration_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t width,
- int32_t height)
-{
- (void)data;
- (void)controller;
- (void)width;
- (void)height;
-}
-
-static void
-controller_surface_listener_orientation_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t orientation)
-{
- (void)data;
- (void)controller;
- (void)orientation;
-}
-
-static void
-controller_surface_listener_pixelformat_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t pixelformat)
-{
- (void)data;
- (void)controller;
- (void)pixelformat;
-}
-
-static void
-controller_surface_listener_layer_main(void *data,
- struct ivi_controller_surface *controller,
- struct ivi_controller_layer *layer)
-{
- struct surface_context *ctx_surf = data;
-
- if (layer == NULL) {
- remove_ordersurface_from_layer(ctx_surf);
- } else {
- add_ordersurface_to_layer(ctx_surf, layer);
- }
-}
-
-static void
-controller_surface_listener_stats_main(void *data,
- struct ivi_controller_surface *controller,
- uint32_t redraw_count,
- uint32_t frame_count,
- uint32_t update_count,
- uint32_t pid,
- const char *process_name)
-{
- (void)data;
- (void)controller;
- (void)redraw_count;
- (void)frame_count;
- (void)update_count;
- (void)pid;
- (void)process_name;
-}
-
-static void
-controller_surface_listener_destroyed_main(void *data,
- struct ivi_controller_surface *controller)
-{
- struct surface_context *ctx_surf = data;
-
- wl_list_remove(&ctx_surf->link);
- free(ctx_surf);
-}
-
-static void
-controller_surface_listener_content_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t content_state)
-{
- // if client surface (=content) was removed with ilm_surfaceDestroy()
- // the expected behavior within ILM API mandates a full removal
- // of the surface from the scene. We must remove the controller
- // from scene, too.
- if (IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_REMOVED == content_state)
- {
- struct surface_context *ctx_surf = data;
-
- ivi_controller_surface_destroy(controller, 1);
-
- wl_list_remove(&ctx_surf->link);
- free(ctx_surf);
- }
-}
-
-static void
-controller_surface_listener_input_focus_main(void *data,
- struct ivi_controller_surface *controller,
- int32_t enabled)
-{
- (void)data;
- (void)controller;
- (void)enabled;
-}
-
-static struct ivi_controller_surface_listener controller_surface_listener_main =
-{
- controller_surface_listener_visibility_main,
- controller_surface_listener_opacity_main,
- controller_surface_listener_source_rectangle_main,
- controller_surface_listener_destination_rectangle_main,
- controller_surface_listener_configuration_main,
- controller_surface_listener_orientation_main,
- controller_surface_listener_pixelformat_main,
- controller_surface_listener_layer_main,
- controller_surface_listener_stats_main,
- controller_surface_listener_destroyed_main,
- controller_surface_listener_content_main,
- controller_surface_listener_input_focus_main
-};
-
-static void
controller_listener_screen_for_child(void *data,
struct ivi_controller *ivi_controller,
uint32_t id_screen,