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.cpp56 wl_display_terminate(server_state_->display_); in ~WaylandServer()
61 server_state_.reset(new internal::WaylandServerState()); in ServerLoop()
63 server_state_->surfaces_.SetFramesAreRGBA(frames_are_rgba); in ServerLoop()
65 server_state_->display_ = wl_display_create(); in ServerLoop()
66 CHECK(server_state_->display_ != nullptr) in ServerLoop()
70 const char* socket = wl_display_add_socket_auto(server_state_->display_); in ServerLoop()
76 CHECK(wl_display_add_socket_fd(server_state_->display_, fd) == 0) in ServerLoop()
82 wl_display_init_shm(server_state_->display_); in ServerLoop()
84 BindCompositorInterface(server_state_->display_, &server_state_->surfaces_); in ServerLoop()
85 BindVirtioGpuMetadataInterface(server_state_->display_, in ServerLoop()
[all …]
Dwayland_server.h67 std::unique_ptr<internal::WaylandServerState> server_state_; variable