e_egl_sync: make an internal header 10/305010/1
authorSooChan Lim <sc1.lim@samsung.com>
Sat, 20 Jan 2024 23:30:29 +0000 (08:30 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:21 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header

Change-Id: Ib82a82d845e63472f4eceaea49e91ba6c4b6de64

src/bin/e_comp_screen.c
src/bin/e_egl_sync.c
src/bin/e_egl_sync.h
src/bin/e_egl_sync_intern.h [new file with mode: 0644]
src/bin/e_explicit_sync.c
src/bin/e_hwc_windows.c

index b132455..f99591a 100644 (file)
@@ -16,6 +16,7 @@
 #include "e_hwc_intern.h"
 #include "e_hwc_window_intern.h"
 #include "e_hwc_windows_intern.h"
+#include "e_egl_sync_intern.h"
 
 #include "Eeze.h"
 #include <tizen-extension-server-protocol.h>
index bec75c7..e141c68 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_egl_sync_intern.h"
 #include "e_comp_intern.h"
 
 #include <EGL/egl.h>
index 25c5555..057f093 100644 (file)
@@ -6,15 +6,5 @@ typedef struct _E_Egl_Sync E_Egl_Sync;
 #ifndef E_EGL_SYNC_H
 #define E_EGL_SYNC_H
 
-EINTERN Eina_Bool    e_egl_sync_init(void);
-EINTERN void         e_egl_sync_deinit(void);
-EINTERN Eina_Bool    e_egl_sync_enabled_get(void);
-
-EINTERN E_Egl_Sync  *e_egl_sync_fence_create(void);
-EINTERN E_Egl_Sync  *e_egl_sync_fence_create_with_fd(int fd);
-EINTERN void         e_egl_sync_destroy(E_Egl_Sync *egl_sync);
-EINTERN Eina_Bool    e_egl_sync_wait(E_Egl_Sync *egl_sync);
-EINTERN int          e_egl_sync_fence_fd_dup(E_Egl_Sync *egl_sync);
-
 #endif // E_EGL_SYNC_H
 #endif
diff --git a/src/bin/e_egl_sync_intern.h b/src/bin/e_egl_sync_intern.h
new file mode 100644 (file)
index 0000000..5b235dc
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef E_EGL_SYNC_INTERN_H
+#define E_EGL_SYNC_INTERN_H
+
+EINTERN Eina_Bool    e_egl_sync_init(void);
+EINTERN void         e_egl_sync_deinit(void);
+
+EINTERN Eina_Bool    e_egl_sync_enabled_get(void);
+EINTERN E_Egl_Sync  *e_egl_sync_fence_create(void);
+EINTERN E_Egl_Sync  *e_egl_sync_fence_create_with_fd(int fd);
+EINTERN void         e_egl_sync_destroy(E_Egl_Sync *egl_sync);
+EINTERN Eina_Bool    e_egl_sync_wait(E_Egl_Sync *egl_sync);
+EINTERN int          e_egl_sync_fence_fd_dup(E_Egl_Sync *egl_sync);
+
+#endif
index 91e24a0..70ec99b 100644 (file)
@@ -2,6 +2,7 @@
 #include "e_explicit_sync_intern.h"
 #include "e_comp_screen_intern.h"
 #include "e_comp_intern.h"
+#include "e_egl_sync_intern.h"
 
 #include <linux-explicit-synchronization-unstable-v1-server-protocol.h>
 #include <tizen-extension-server-protocol.h>
index 4390af8..8e40c8f 100644 (file)
@@ -10,6 +10,7 @@
 #include "e_pixmap_intern.h"
 #include "e_presentation_time_intern.h"
 #include "e_output_intern.h"
+#include "e_egl_sync_intern.h"
 
 # include <Evas_Engine_GL_Tbm.h>
 # include <Evas_Engine_Software_Tbm.h>