forked from enlightenment/efl
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
This commit is contained in:
parent
b8d6923782
commit
54a877981c
|
@ -1991,7 +1991,7 @@ EAPI void *ecore_wl2_surface_data_get(Ecore_Wl2_Surface *surface, int *w, int *h
|
|||
EAPI int ecore_wl2_surface_assign(Ecore_Wl2_Surface *surface);
|
||||
EAPI void ecore_wl2_surface_post(Ecore_Wl2_Surface *surface, Eina_Rectangle *rects, unsigned int count);
|
||||
EAPI void ecore_wl2_surface_flush(Ecore_Wl2_Surface *surface, Eina_Bool purge);
|
||||
EAPI void ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window);
|
||||
EAPI void ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window, Eina_Bool purge);
|
||||
EAPI Ecore_Wl2_Buffer *ecore_wl2_surface_buffer_create(Ecore_Wl2_Surface *surface);
|
||||
EAPI int ecore_wl2_surface_manager_add(Ecore_Wl2_Surface_Interface *intf);
|
||||
EAPI void ecore_wl2_surface_manager_del(Ecore_Wl2_Surface_Interface *intf);
|
||||
|
|
|
@ -1764,10 +1764,10 @@ ecore_wl2_window_damage(Ecore_Wl2_Window *window, Eina_Rectangle *rects, unsigne
|
|||
}
|
||||
|
||||
EAPI void
|
||||
ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window)
|
||||
ecore_wl2_window_surface_flush(Ecore_Wl2_Window *window, Eina_Bool purge)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||
|
||||
if (!window->wl2_surface) return;
|
||||
ecore_wl2_surface_flush(window->wl2_surface, EINA_FALSE);
|
||||
ecore_wl2_surface_flush(window->wl2_surface, purge);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue