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 /src | |
parent | a40dabd9e0289869c2c8b7f792fc8dc07e4fae10 (diff) |
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
Diffstat (limited to 'src')
-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 de56f8b..e47c416 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); | |||
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 | ||
2008 | 2008 | ||
2009 | EAPI Ecore_Wl2_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha); | ||
2010 | EAPI void ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface); | 2009 | EAPI void ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface); |
2011 | EAPI void ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha); | 2010 | EAPI void ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha); |
2012 | EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h); | 2011 | 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 f8105d7..4667edc 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); | |||
57 | EAPI void ecore_wl2_buffer_age_set(Ecore_Wl2_Buffer *buffer, int age); | 57 | EAPI void ecore_wl2_buffer_age_set(Ecore_Wl2_Buffer *buffer, int age); |
58 | EAPI void ecore_wl2_buffer_age_inc(Ecore_Wl2_Buffer *buffer); | 58 | EAPI void ecore_wl2_buffer_age_inc(Ecore_Wl2_Buffer *buffer); |
59 | 59 | ||
60 | EAPI Ecore_Wl2_Surface *ecore_wl2_surface_create(Ecore_Wl2_Window *win, Eina_Bool alpha); | ||
61 | |||
60 | # undef EAPI | 62 | # undef EAPI |
61 | # define EAPI | 63 | # define EAPI |
62 | 64 | ||