summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-11-05 09:12:43 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-11-05 09:34:48 -0500
commit480390d8626cd7b33d611c9a3db1fe0a4e773009 (patch)
treebfbcb12924fe30c47a231e7b0dda4b3aef33ae13 /src/lib
parent5f3a67945e5ef6b408f2330a612bb10a7157db68 (diff)
ecore-wl2: Move ecore_wl2_buffer_map 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 'src/lib')
-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 d85156a369..a5293add48 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_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride);
2009EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf); 2008EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf);
2010EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf); 2009EAPI void ecore_wl2_buffer_discard(Ecore_Wl2_Buffer *buf);
2011EAPI void ecore_wl2_buffer_lock(Ecore_Wl2_Buffer *b); 2010EAPI void ecore_wl2_buffer_lock(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 a66bd3e44c..f5742beb4d 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -45,6 +45,7 @@ EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Ty
45EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha); 45EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha);
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);
48 49
49# undef EAPI 50# undef EAPI
50# define EAPI 51# define EAPI