e_hwc_planes: Add e_hwc_planes header and makes e_hwc_planes_end to E_API 77/305177/1
authorJunseok Kim <juns.kim@samsung.com>
Mon, 29 Jan 2024 05:45:35 +0000 (14:45 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Mon, 29 Jan 2024 11:52:58 +0000 (20:52 +0900)
Change-Id: I872484e57fcef973ded223f26f257fe66c50ddbc

src/bin/Makefile.mk
src/bin/e_hwc_planes.c
src/bin/e_hwc_planes_intern.h
src/include/e_hwc_planes.h [new file with mode: 0644]
src/include/e_includes.h

index 3b67e47..851d087 100644 (file)
@@ -69,6 +69,7 @@ src/include/e_comp_wl.h \
 src/include/e_hwc.h \
 src/include/e_hwc_windows.h \
 src/include/e_hwc_window.h \
+src/include/e_hwc_planes.h \
 src/include/e_explicit_sync.h \
 src/include/e_egl_sync.h \
 src/include/e_info_server_input.h \
index 2a33df2..0a0fcfb 100644 (file)
@@ -645,7 +645,7 @@ e_hwc_planes_multi_plane_get(E_Hwc *hwc)
    return hwc->hwc_use_multi_plane;
 }
 
-EINTERN void
+E_API void
 e_hwc_planes_end(E_Hwc *hwc, const char *location)
 {
    E_Hwc_Mode new_mode = E_HWC_MODE_NONE;
index 12b4d99..16c31a7 100644 (file)
@@ -2,12 +2,12 @@
 #define E_HWC_PLANES_INTERN_H
 
 #include "e_intern.h"
+#include "e_hwc_planes.h"
 
 /* used by e_hwc */
 EINTERN Eina_Bool  e_hwc_planes_init(void);
 EINTERN void       e_hwc_planes_deinit(void);
 
-EINTERN void       e_hwc_planes_end(E_Hwc *hwc, const char *location);
 EINTERN void       e_hwc_planes_client_end(E_Hwc *hwc, E_Client *ec, const char *location);
 EINTERN void       e_hwc_planes_apply(E_Hwc *hwc);
 
diff --git a/src/include/e_hwc_planes.h b/src/include/e_hwc_planes.h
new file mode 100644 (file)
index 0000000..a5952ca
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef E_HWC_PLANES_H
+#define E_HWC_PLANES_H
+
+E_API void       e_hwc_planes_end(E_Hwc *hwc, const char *location);
+
+#endif
index 96607f1..dd59eac 100644 (file)
@@ -31,6 +31,7 @@
 #include "e_plane.h"
 #include "e_plane_renderer.h"
 #include "e_output.h"
+#include "e_hwc_planes.h"
 #include "e_hwc_windows.h"
 #include "e_hwc_window.h"
 #include "e_hwc.h"