project('agl-compositor',
- 'c','cpp',
- version: '0.0.18',
+ 'c', 'cpp',
+ version: '0.0.19',
default_options: [
'warning_level=3',
'c_std=gnu99',
)
config_h = configuration_data()
-agl_compositor_version = '0.0.18'
-libweston_version = 'libweston-8'
+agl_compositor_version = '0.0.19'
+libweston_version = 'libweston-9'
pkgconfig = import('pkgconfig')
cc = meson.get_compiler('c')
deps_libweston = [
dependency('wayland-server'),
libweston_dep,
- dependency('libweston-desktop-8'),
+ dependency('libweston-desktop-9'),
local_dep,
]
return EXIT_SUCCESS;
}
- log_ctx = weston_log_ctx_compositor_create();
+ log_ctx = weston_log_ctx_create();
if (!log_ctx) {
fprintf(stderr, "Failed to initialize weston debug framework.\n");
return ret;
}
- log_scope = weston_compositor_add_log_scope(log_ctx, "log",
- "agl-compositor log\n",
- NULL, NULL, NULL);
+ log_scope = weston_log_ctx_add_log_scope(log_ctx, "log",
+ "agl-compositor log\n",
+ NULL, NULL, NULL);
log_file_open(log);
weston_log_set_handler(vlog, vlog_continue);
wl_display_destroy_clients(display);
error_compositor:
- weston_compositor_tear_down(ivi.compositor);
+ weston_compositor_destroy(ivi.compositor);
- weston_compositor_log_scope_destroy(log_scope);
+ weston_log_scope_destroy(log_scope);
log_scope = NULL;
- weston_log_ctx_compositor_destroy(ivi.compositor);
- weston_compositor_destroy(ivi.compositor);
-
- weston_log_subscriber_destroy_log(logger);
+ weston_log_subscriber_destroy(logger);
+ weston_log_ctx_destroy(log_ctx);
ivi_policy_destroy(ivi.policy);