This patch is a temporary one. This patch will be reverted later.
Change-Id: I50ae1145465ffbdf8b5a347531811651076d0dcf
if (!pepper_virtual_terminal_setup(tty))
goto cleanup;
- compositor = pepper_compositor_create("wayland-0");
+ compositor = pepper_compositor_create("wayland-0", NULL);
if (!compositor)
goto cleanup;
if (!pepper_virtual_terminal_setup(tty))
goto cleanup;
- compositor = pepper_compositor_create("wayland-0");
+ compositor = pepper_compositor_create("wayland-0", NULL);
if (!compositor)
goto cleanup;
if (!socket_name)
socket_name = "wayland-0";
- compositor = pepper_compositor_create(socket_name);
+ compositor = pepper_compositor_create(socket_name, NULL);
if (!compositor)
return -1;
init_signals();
- compositor = pepper_compositor_create("wayland-0");
+ compositor = pepper_compositor_create("wayland-0", NULL);
if (!compositor)
goto cleanup;
pepper_output_t *output;
struct wl_display *display;
- compositor = pepper_compositor_create("wayland-1");
+ compositor = pepper_compositor_create("wayland-1", NULL);
PEPPER_ASSERT(compositor);
conn = pepper_wayland_connect(compositor, "wayland-0");
if (argc > 2)
renderer = argv[2];
- compositor = pepper_compositor_create(socket);
+ compositor = pepper_compositor_create(socket, NULL);
PEPPER_ASSERT(compositor);
conn = pepper_x11_connect(compositor, NULL);
setenv("XDG_RUNTIME_DIR", "/run", 1);
/* create pepper compositor */
- compositor = pepper_compositor_create(socket_name);
+ compositor = pepper_compositor_create(socket_name, NULL);
PEPPER_CHECK(compositor, return EXIT_FAILURE, "Failed to create compositor !\n");
/* init tbm buffer manager */
* @see pepper_compositor_create()
*/
PEPPER_API pepper_compositor_t *
-pepper_compositor_create_fd(const char *socket_name, int fd)
+pepper_compositor_create_fd(const char *socket_name, int fd, char *name)
{
int ret;
pepper_compositor_t *compositor;
* @see pepper_compositor_destroy()
*/
PEPPER_API pepper_compositor_t *
-pepper_compositor_create(const char *socket_name)
+pepper_compositor_create(const char *socket_name, char *name)
{
- return pepper_compositor_create_fd(socket_name, -1);
+ return pepper_compositor_create_fd(socket_name, -1, name);
}
/**
pepper_object_from_id(uint32_t id);
PEPPER_API pepper_compositor_t *
-pepper_compositor_create(const char *socket_name);
+pepper_compositor_create(const char *socket_name, char *name);
PEPPER_API pepper_compositor_t *
-pepper_compositor_create_fd(const char *socket_name, int fd);
+pepper_compositor_create_fd(const char *socket_name, int fd, char *name);
PEPPER_API void
pepper_compositor_destroy(pepper_compositor_t *compositor);