diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-01-25 15:59:34 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-01-26 15:53:59 -0600 |
commit | ebcce5aefaef99e843e8324caf863b31f3b653d9 (patch) | |
tree | 3f67fcff48effc54b0059ff321f6447305cd637c /src/lib/ecore_wl2/ecore_wl2_surface.c | |
parent | e3a3e020421cc571dc4a063a2dad5271e2606005 (diff) |
ecore_wl2: Add API for setting buffer busy status and use it
Since surfaces will be managed by plug-ins, we need to make sure they
don't rely on internal structures.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c index ff561c2edf..257f12c2fa 100644 --- a/src/lib/ecore_wl2/ecore_wl2_surface.c +++ b/src/lib/ecore_wl2/ecore_wl2_surface.c | |||
@@ -146,7 +146,7 @@ _evas_dmabuf_surface_post(Ecore_Wl2_Surface *s, Eina_Rectangle *rects, unsigned | |||
146 | ecore_wl2_buffer_unlock(b); | 146 | ecore_wl2_buffer_unlock(b); |
147 | 147 | ||
148 | s->current = NULL; | 148 | s->current = NULL; |
149 | b->busy = EINA_TRUE; | 149 | ecore_wl2_buffer_busy_set(b); |
150 | b->age = 0; | 150 | b->age = 0; |
151 | 151 | ||
152 | ecore_wl2_window_buffer_attach(s->wl2_win, b->wl_buffer, 0, 0, EINA_FALSE); | 152 | ecore_wl2_window_buffer_attach(s->wl2_win, b->wl_buffer, 0, 0, EINA_FALSE); |