diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-11-05 09:11:56 -0500 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-11-05 09:34:36 -0500 |
commit | df15c774b86a40c4c654044a4aa90ec9737a7227 (patch) | |
tree | 1271f8e2fd3a4e6e483a0be71f3f58c6178cfb25 | |
parent | ffab0f77a47c617919c6216a1cf9381db68f89a8 (diff) | |
download | efl-df15c774b86a40c4c654044a4aa90ec9737a7227.tar.gz |
ecore-wl2: Move ecore_wl2_buffer_destroy 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.h | 1 | ||||
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_internal.h | 1 |
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 a0638fe791..e8867e47fe 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); /* TODO: doxygen if we are keeping any of the below functions public */ -EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b); EAPI struct wl_buffer *ecore_wl2_buffer_wl_buffer_get(Ecore_Wl2_Buffer *buf); EAPI void *ecore_wl2_buffer_map(Ecore_Wl2_Buffer *buf, int *w, int *h, int *stride); EAPI void ecore_wl2_buffer_unmap(Ecore_Wl2_Buffer *buf); diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h index e60bcf6fab..5b3cb68295 100644 --- a/src/lib/ecore_wl2/ecore_wl2_internal.h +++ b/src/lib/ecore_wl2/ecore_wl2_internal.h @@ -43,6 +43,7 @@ EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h); EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count); EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Type types); EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha); +EAPI void ecore_wl2_buffer_destroy(Ecore_Wl2_Buffer *b); # undef EAPI # define EAPI |