Home
last modified time | relevance | path

Searched refs:server_state_ (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/libs/wayland/
Dwayland_server.cpp55 wl_display_terminate(server_state_->display_); in ~WaylandServer()
60 server_state_.reset(new internal::WaylandServerState()); in ServerLoop()
62 server_state_->display_ = wl_display_create(); in ServerLoop()
63 CHECK(server_state_->display_ != nullptr) in ServerLoop()
67 const char* socket = wl_display_add_socket_auto(server_state_->display_); in ServerLoop()
73 CHECK(wl_display_add_socket_fd(server_state_->display_, fd) == 0) in ServerLoop()
79 wl_display_init_shm(server_state_->display_); in ServerLoop()
81 BindCompositorInterface(server_state_->display_, &server_state_->surface_); in ServerLoop()
82 BindDmabufInterface(server_state_->display_); in ServerLoop()
83 BindSubcompositorInterface(server_state_->display_); in ServerLoop()
[all …]
Dwayland_server.h65 std::unique_ptr<internal::WaylandServerState> server_state_; variable