summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-11-05 09:13:06 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-11-05 09:34:52 -0500
commit694df8f823cc8de5f444240096faa8a393f80c01 (patch)
tree61df10cadd96c01e32ca96d7754849f36d3818ed
parent480390d8626cd7b33d611c9a3db1fe0a4e773009 (diff)
ecore-wl2: Move ecore_wl2_buffer_unmap 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
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h1
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_internal.h1
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 a5293add48..996d955f63 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_unmap(Ecore_Wl2_Buffer *buf);
2009EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf); 2008EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
2010EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b); 2009EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b);
2011EAPI void ecore_wl2_buffer_unlock(Ecore_Wl2_Buffer *b); 2010EAPI void ecore_wl2_buffer_unlock(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 f5742beb4d..c7880384a9 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -46,6 +46,7 @@ EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, in
46EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b); 46EAPI 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);
49 50
50# undef EAPI 51# undef EAPI
51# define EAPI 52# define EAPI