path: root/src/lib/ecore_wl2
diff options
authorChristopher Michael <>2019-11-05 09:13:46 -0500
committerChristopher Michael <>2019-11-05 09:34:59 -0500
commitad692d2cbd38f4835050113a2afdaf7bf1cf9e81 (patch)
tree26631f06cd7f54c217714a94805f4aecbd66709b /src/lib/ecore_wl2
parent694df8f823cc8de5f444240096faa8a393f80c01 (diff)
ecore-wl2: Move ecore_wl2_buffer_discard function to be internal
As this function is only used in 1 place and will likely never be used outside of the modular dmabuf engine, we can move it to be internal only. ref T8013
Diffstat (limited to '')
2 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 996d955f63..c760d09735 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -2005,7 +2005,6 @@ EAPI void ecore_wl2_window_update_begin(Ecore_Wl2_Window *window);
2005 2005
2006/* TODO: doxygen if we are keeping any of the below functions public */ 2006/* TODO: doxygen if we are keeping any of the below functions public */
2007 2007
2008EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
2009EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b); 2008EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b);
2010EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b); 2009EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b);
2011EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b); 2010EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h
index c7880384a9..ea0f3e97ba 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -47,6 +47,7 @@ EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b);
47EAPI struct wl_buffer *ecore_wl2_buffer_wl_buffer_get(Ecore_Wl2_Buffer *buf); 47EAPI struct wl_buffer *ecore_wl2_buffer_wl_buffer_get(Ecore_Wl2_Buffer *buf);
48EAPI void *ecore_wl2_buffer_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride); 48EAPI void *ecore_wl2_buffer_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride);
49EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf); 49EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf);
50EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
50 51
51# undef EAPI 52# undef EAPI
52# define EAPI 53# define EAPI