summaryrefslogtreecommitdiff
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
parent3b8648257b7278dc037c101a3da732439fac63e8 (diff)
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
-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
2050EAPI void ecore_wl2_window_frame_callback_del(Ecore_Wl2_Frame_Cb_Handle *handle); 2050EAPI void ecore_wl2_window_frame_callback_del(Ecore_Wl2_Frame_Cb_Handle *handle);
2051 2051
2052/** 2052/**
2053 * Attach a buffer to a window
2054 *
2055 * Note that the GL stack my attach buffers to a surface - we should call this
2056 * function at that time (with a NULL buffer) to track whether a surface
2057 * has a valid buffer. That is, call with implicit true and buffer NULL at
2058 * the time of glSwapBuffers.
2059 *
2060 * @param window The target window
2061 * @param buffer The buffer to attach
2062 * @param x X offset from corner
2063 * @param y Y offset from corner
2064 * @param implicit True if an external library is doing the actual attaching
2065 *
2066 * @since 1.21
2067 */
2068EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
2069
2070/**
2071 * Push buffered wayland protocol to compositor 2053 * Push buffered wayland protocol to compositor
2072 * 2054 *
2073 * Wayland protocol is only actually sent when a flush occurs, 2055 * 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);
71EAPI Ecore_Wl2_Window *ecore_wl2_surface_window_get(Ecore_Wl2_Surface *surface); 71EAPI Ecore_Wl2_Window *ecore_wl2_surface_window_get(Ecore_Wl2_Surface *surface);
72EAPI Eina_Bool ecore_wl2_surface_alpha_get(Ecore_Wl2_Surface *surface); 72EAPI Eina_Bool ecore_wl2_surface_alpha_get(Ecore_Wl2_Surface *surface);
73 73
74/**
75 * Attach a buffer to a window
76 *
77 * Note that the GL stack my attach buffers to a surface - we should call this
78 * function at that time (with a NULL buffer) to track whether a surface
79 * has a valid buffer. That is, call with implicit true and buffer NULL at
80 * the time of glSwapBuffers.
81 *
82 * @param window The target window
83 * @param buffer The buffer to attach
84 * @param x X offset from corner
85 * @param y Y offset from corner
86 * @param implicit True if an external library is doing the actual attaching
87 *
88 * @since 1.21
89 */
90EAPI void ecore_wl2_window_buffer_attach(Ecore_Wl2_Window *win, void *buffer, int x, int y, Eina_Bool implicit);
91
74# undef EAPI 92# undef EAPI
75# define EAPI 93# define EAPI
76 94