diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-11-05 09:17:40 -0500 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-11-05 09:35:33 -0500 |
commit | 262598773a952018c781dcd53880012a0160fda2 (patch) | |
tree | b69bf2e0b5e34dadbf5bb9ff01ebed7b4856d6fb | |
parent | a40dabd9e0289869c2c8b7f792fc8dc07e4fae10 (diff) | |
download | efl-262598773a952018c781dcd53880012a0160fda2.tar.gz |
ecore-wl2: Move ecore_wl2_surface_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
-rw-r--r-- | src/lib/ecore_wl2/Ecore_Wl2.h | 1 | ||||
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_internal.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h index de56f8b4fa..e47c4168c8 100644 --- a/src/lib/ecore_wl2/Ecore_Wl2.h +++ b/src/lib/ecore_wl2/Ecore_Wl2.h @@ -2006,7 +2006,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_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha); EAPI void ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface); EAPI void ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha); EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h); diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h index f8105d728a..4667edc3e8 100644 --- a/src/lib/ecore_wl2/ecore_wl2_internal.h +++ b/src/lib/ecore_wl2/ecore_wl2_internal.h @@ -57,6 +57,8 @@ EAPI int ecore_wl2_buffer_age_get(Ecore_Wl2_Buffer *buffer); EAPI void ecore_wl2_buffer_age_set(Ecore_Wl2_Buffer *buffer, int age); EAPI void ecore_wl2_buffer_age_inc(Ecore_Wl2_Buffer *buffer); +EAPI Ecore_Wl2_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha); + # undef EAPI # define EAPI |