r(d.get()) {
}
-display::~display() = default;
-
bool display::ok() const { return d && wl_display_get_error(d.get()) == 0; }
void display::roundtrip() { wl_display_roundtrip(this->d.get()); }
}
}
-registry::~registry() {
- logdebug("wl::registry %s @ %p", __func__, this->proxy);
-}
-
void registry::add_global_handler(char const *iface, binder bind) {
this->bindings[iface] = std::move(bind);
}
ivi_controller_add_listener(this->proxy, &listener, this);
}
-controller::~controller() = default;
-
void controller::layer_create(uint32_t id, int32_t w, int32_t h) {
this->layers[id] = std::make_unique<layer>(id, w, h, this);
}