!wl_egl_surface->surface_sync)
#endif
{
- wl_buffer_add_listener((struct wl_buffer *)wl_egl_buffer->wl_buffer,
- &wl_buffer_release_listener,
- wl_egl_buffer);
+ wl_buffer_add_listener((struct wl_buffer *)wl_egl_buffer->wl_buffer,
+ &wl_buffer_release_listener,
+ wl_egl_buffer);
}
}
}
(struct wl_proxy *)wayland_tbm_client_create_buffer(
wl_egl_display->wl_tbm_client,
wl_egl_buffer->tbm_surface);
+
+ TPL_CHECK_ON_FALSE_ASSERT_FAIL(wl_egl_buffer->wl_buffer != NULL,
+ "[FATAL] Failed to create wl_buffer");
+
TPL_INFO("[WL_BUFFER_CREATE]",
"wl_egl_buffer(%p) wl_buffer(%p) tbm_surface(%p)",
wl_egl_buffer, wl_egl_buffer->wl_buffer,
wl_egl_buffer->tbm_surface);
-
+
#if TIZEN_FEATURE_ENABLE
if (!wl_egl_display->use_explicit_sync ||
!wl_egl_surface->surface_sync)
wl_egl_buffer);
}
}
- TPL_CHECK_ON_FALSE_ASSERT_FAIL(wl_egl_buffer->wl_buffer != NULL,
- "[FATAL] Failed to create wl_buffer");
version = wl_proxy_get_version((struct wl_proxy *)wl_surface);