ivi-shell: support surface screen shot of ivi_layout by using weston_surface_copy_content

The reason why the result is not output in the method is that it avoids
to have dependency on CAIRO. If user want to output it to file, user
shall link CAIRO on its controller.

ivi_layout_surface_get_size is also supported here because user needs
stride to call ivi_layout_surafce_dump.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index 8848fb1..4b4328c 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -768,6 +768,18 @@
 				       uint32_t is_fade_in,
 				       double start_alpha, double end_alpha);
 
+	/**
+	 * surface content dumping for debugging
+	 */
+	int32_t (*surface_get_size)(struct ivi_layout_surface *ivisurf,
+				    int32_t *width, int32_t *height,
+				    int32_t *stride);
+
+	int32_t (*surface_dump)(struct weston_surface *surface,
+				void *target, size_t size,
+				int32_t x, int32_t y,
+				int32_t width, int32_t height);
+
 };
 
 #ifdef __cplusplus