From: Christopher Michael Date: Tue, 5 Nov 2019 14:11:35 +0000 (-0500) Subject: ecore-wl2: Move ecore_wl2_buffer_create function to be internal X-Git-Tag: submit/tizen/20191111.023126~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df8ed348a42bb2368b5e4f4dcd099144e8553bf4;p=platform%2Fupstream%2Fefl.git ecore-wl2: Move ecore_wl2_buffer_create 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 --- diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h index 277c082..885ef9f 100644 --- a/src/lib/ecore_wl2/Ecore_Wl2.h +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -2378,7 +2378,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 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); 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); diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h index d125f81..d208a47 100644 --- a/src/lib/ecore_wl2/ecore_wl2_internal.h +++ b/src/lib/ecore_wl2/ecore_wl2_internal.h @@ -32,6 +32,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); # undef EAPI # define EAPI