e_comp_wl: Add video.global get/set E_API 83/324183/1
authorTaeHyeon Jeong <thyeon.jeong@samsung.com>
Tue, 13 May 2025 11:22:46 +0000 (20:22 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 14 May 2025 01:14:19 +0000 (10:14 +0900)
- used by e-mod-tizen-video-tv

Change-Id: I9f0096bde6ee2d3d8d31edcd58618759921334cc

src/bin/server/e_comp_wl.c
src/include/e_comp_wl.h

index 64a34ffc42deb0d6c809daa7c4368e2b196f88a0..0ae87432102962db40770a5ea262fa5227408842 100644 (file)
@@ -6186,3 +6186,23 @@ e_comp_wl_tbm_server_get(void)
 
    return comp_wl->tbm.server;
 }
+
+E_API void *
+e_comp_wl_video_global_get(void)
+{
+   E_Comp_Wl_Data *comp_wl;
+
+   if (!(comp_wl = e_comp_wl_get())) return NULL;
+
+   return comp_wl->video.global;
+}
+
+E_API void
+e_comp_wl_video_global_set(void *video_global)
+{
+   E_Comp_Wl_Data *comp_wl;
+
+   if (!(comp_wl = e_comp_wl_get())) return;
+
+   comp_wl->video.global = video_global;
+}
index 3a1db1344fd79302d3c82451be60ba3cf1848401..8aefd02650de73c40bf68d03746ff8f334f831d1 100644 (file)
@@ -644,6 +644,8 @@ E_API E_Client          *e_comp_wl_ptr_ec_get(void);
 E_API Ecore_Timer       *e_comp_wl_ptr_hide_tmr_get(void);
 E_API void               e_comp_wl_ptr_hide_tmr_set(Ecore_Timer *tmr);
 E_API void              *e_comp_wl_tbm_server_get(void);
+E_API void              *e_comp_wl_video_global_get(void);
+E_API void               e_comp_wl_video_global_set(void *video_global);
 
 
 //////////////////////////////////////////////////////////////////////////