Change-Id: I444f2ef708026f42fe25f7ae1dec5994d9ad4f5f
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
return TPL_ERROR_NONE;
}
+int
+twe_surface_get_rotation(twe_surface_h twe_surface)
+{
+ twe_wl_surf_source *source = (twe_wl_surf_source *)twe_surface;
+ if (!source) {
+ TPL_ERR("Invalid parameter. twe_surface(%p)", twe_surface);
+ return -1;
+ }
+
+ return source->rotation;
+}
+
#ifdef WORKER_TEST_ONLY
static void reg_global(void *data,
struct wl_registry *wl_registry,
tbm_surface_queue_h
twe_surface_get_tbm_queue(twe_surface_h twe_surface);
+int
+twe_surface_get_rotation(twe_surface_h twe_surface);
+