summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-12-03 10:40:21 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-12-03 10:40:21 -0500
commit40b4c54467a7888c91e7f093621d863e4a96b0ac (patch)
tree00415893669f51212e5e43b55ce1eed5311ee4de /src/lib
parent3b8648257b7278dc037c101a3da732439fac63e8 (diff)
downloadefl-40b4c54467a7888c91e7f093621d863e4a96b0ac.tar.gz
ecore-wl2: Move ecore_wl2_window_buffer_attach to be internal
As this function is not used outside of EFL itself, it can be moved to be internal and not an exposed API function ref T8013
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h18
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_internal.h18
2 files changed, 18 insertions, 18 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index acca6d5f74..8db33119be 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -2050,24 +2050,6 @@ EAPI Ecore_Wl2_Frame_Cb_Handle *ecore_wl2_window_frame_callback_add(Ecore_Wl2_Wi
EAPI void ecore_wl2_window_frame_callback_del(Ecore_Wl2_Frame_Cb_Handle *handle);
/**
- * Attach a buffer to a window
- *
- * Note that the GL stack my attach buffers to a surface - we should call this
- * function at that time (with a NULL buffer) to track whether a surface
- * has a valid buffer. That is, call with implicit true and buffer NULL at
- * the time of glSwapBuffers.
- *
- * @param window The target window
- * @param buffer The buffer to attach
- * @param x X offset from corner
- * @param y Y offset from corner
- * @param implicit True if an external library is doing the actual attaching
- *
- * @since 1.21
- */
-EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
-
-/**
* Push buffered wayland protocol to compositor
*
* Wayland protocol is only actually sent when a flush occurs,
diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h
index 0dcdd571ac..d1faef36c2 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -71,6 +71,24 @@ EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf);
EAPI Ecore_Wl2_Window *ecore_wl2_surface_window_get(Ecore_Wl2_Surface *surface);
EAPI Eina_Bool ecore_wl2_surface_alpha_get(Ecore_Wl2_Surface *surface);
+/**
+ * Attach a buffer to a window
+ *
+ * Note that the GL stack my attach buffers to a surface - we should call this
+ * function at that time (with a NULL buffer) to track whether a surface
+ * has a valid buffer. That is, call with implicit true and buffer NULL at
+ * the time of glSwapBuffers.
+ *
+ * @param window The target window
+ * @param buffer The buffer to attach
+ * @param x X offset from corner
+ * @param y Y offset from corner
+ * @param implicit True if an external library is doing the actual attaching
+ *
+ * @since 1.21
+ */
+EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
+
# undef EAPI
# define EAPI