summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-11-05 09:09:14 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-11-05 09:34:12 -0500
commit8ffd0b7661453a1256f4ad831275d18dc7682dce (patch)
tree5e9cbf085516e9bb9375a41013785073d58be601
parentb6b7d2d61f484e49765a2d221359ff7a9b7ba78b (diff)
ecore-wl2: Move ecore_wl2_window_damage 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.h1
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_internal.h2
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 b706b4c9ed..fce758ccd9 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -2004,7 +2004,6 @@ EAPI Eina_Bool ecore_wl2_window_resizing_get(Ecore_Wl2_Window *window);
2004EAPI void ecore_wl2_window_update_begin(Ecore_Wl2_Window *window); 2004EAPI 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 */
2007EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count);
2008 2007
2009EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Type types); 2008EAPI Eina_Bool ecore_wl2_buffer_init(Ecore_Wl2_Display *ewd, Ecore_Wl2_Buffer_Type types);
2010EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha); 2009EAPI Ecore_Wl2_Buffer *ecore_wl2_buffer_create(Ecore_Wl2_Display *ewd, int w, int h, Eina_Bool alpha);
diff --git a/src/lib/ecore_wl2/ecore_wl2_internal.h b/src/lib/ecore_wl2/ecore_wl2_internal.h
index 460d5fcc8a..1eb5b0a20e 100644
--- a/src/lib/ecore_wl2/ecore_wl2_internal.h
+++ b/src/lib/ecore_wl2/ecore_wl2_internal.h
@@ -40,6 +40,8 @@ EAPI void ecore_wl2_window_rotation_change_done_send(Ecore_Wl2_Window *window, i
40EAPI void ecore_wl2_window_false_commit(Ecore_Wl2_Window *window); 40EAPI void ecore_wl2_window_false_commit(Ecore_Wl2_Window *window);
41EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h); 41EAPI Eina_Bool ecore_wl2_buffer_fit(Ecore_Wl2_Buffer *b, int w, int h);
42 42
43EAPI void ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigned int count);
44
43# undef EAPI 45# undef EAPI
44# define EAPI 46# define EAPI
45 47