native_shm.c | 51 struct wl_shm *wl_shm; member in struct:wayland_shm_display 109 pool = wl_shm_create_pool(shmdpy->wl_shm, wsh.fd, wsh.size); 118 shm_handle_format(void *data, struct wl_shm *shm, uint32_t format) 142 if (strcmp(interface, "wl_shm") == 0) { 143 shmdpy->wl_shm = wl_registry_bind(registry, name, &wl_shm_interface, 1); 144 wl_shm_add_listener(shmdpy->wl_shm, &shm_listener, shmdpy); 163 if (wayland_roundtrip(&shmdpy->base) < 0 || shmdpy->wl_shm == NULL)
|