summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-06-15 13:18:52 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-06-15 13:18:53 -0500
commit54a877981c1b46e9482ed7eaf7af7024dd33c9d9 (patch)
treeb3ed36842779d3ea0a1fa9bf0aa4fe315b356447 /src/lib/ecore_wl2
parentb8d6923782468af22583db99a86cc03e500e3af8 (diff)
ecore_wl2: Add purge to ecore_wl2_window_surface_flush
Summary: It's convenient to be able to pass this through this api too. @betabreak Depends on D6280 Reviewers: devilhorns, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6281
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h2
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 813fa042de..4f628f3424 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1991,7 +1991,7 @@ EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h
1991EAPI int ecore_wl2_surface_assign(Ecore_Wl2_Surface *surface); 1991EAPI int ecore_wl2_surface_assign(Ecore_Wl2_Surface *surface);
1992EAPI void ecore_wl2_surface_post(Ecore_Wl2_Surface *surface, Eina_Rectangle *rects, unsigned int count); 1992EAPI void ecore_wl2_surface_post(Ecore_Wl2_Surface *surface, Eina_Rectangle *rects, unsigned int count);
1993EAPI void ecore_wl2_surface_flush(Ecore_Wl2_Surface *surface, Eina_Bool purge); 1993EAPI void ecore_wl2_surface_flush(Ecore_Wl2_Surface *surface, Eina_Bool purge);
1994EAPI void ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window); 1994EAPI void ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window, Eina_Bool purge);
1995EAPI Ecore_Wl2_Buffer *ecore_wl2_surface_buffer_create(Ecore_Wl2_Surface *surface); 1995EAPI Ecore_Wl2_Buffer *ecore_wl2_surface_buffer_create(Ecore_Wl2_Surface *surface);
1996EAPI int ecore_wl2_surface_manager_add(Ecore_Wl2_Surface_Interface *intf); 1996EAPI int ecore_wl2_surface_manager_add(Ecore_Wl2_Surface_Interface *intf);
1997EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf); 1997EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf);
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index a889b3a56d..cc75d6ce87 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1764,10 +1764,10 @@ ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigne
1764} 1764}
1765 1765
1766EAPI void 1766EAPI void
1767ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window) 1767ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window, Eina_Bool purge)
1768{ 1768{
1769 EINA_SAFETY_ON_NULL_RETURN(window); 1769 EINA_SAFETY_ON_NULL_RETURN(window);
1770 1770
1771 if (!window->wl2_surface) return; 1771 if (!window->wl2_surface) return;
1772 ecore_wl2_surface_flush(window->wl2_surface, EINA_FALSE); 1772 ecore_wl2_surface_flush(window->wl2_surface, purge);
1773} 1773}