int display::get_fd() const { return wl_display_get_fd(this->d.get()); }
+int display::get_error() { return wl_display_get_error(this->d.get()); }
+
// _ _
// _ __ ___ __ _(_)___| |_ _ __ _ _
// | '__/ _ \/ _` | / __| __| '__| | | |
l->orientation = orientation;
}
-void controller::layer_screen(struct layer *l, struct wl_output *screen) {
+void controller::layer_screen(struct layer * /*l*/, struct wl_output *screen) {
logdebug("genivi::layer %s @ %p s %p", __func__, this->proxy.get(), screen);
-
}
void controller::layer_destroyed(struct layer *l) {
s->orientation = orientation;
}
-void controller::surface_pixelformat(struct surface *s, int32_t pixelformat) {
+void controller::surface_pixelformat(struct surface * /*s*/,
+ int32_t pixelformat) {
logdebug("genivi::surface %s @ %p f %i", __func__, this->proxy.get(),
pixelformat);
}
-void controller::surface_layer(struct surface *s,
+void controller::surface_layer(struct surface * /*s*/,
struct ivi_controller_layer *layer) {
logdebug("genivi::surface %s @ %p l %u @ %p", __func__, this->proxy.get(),
this->layer_proxy_to_id[uintptr_t(layer)], layer);
}
-void controller::surface_stats(struct surface *s, uint32_t redraw_count,
+void controller::surface_stats(struct surface * /*s*/, uint32_t redraw_count,
uint32_t frame_count, uint32_t update_count,
uint32_t pid, const char *process_name) {
logdebug("genivi::surface %s @ %p r %u f %u u %u pid %u p %s", __func__,
for (auto const &i : this->surfaces) {
auto const &r = i.second->dst_rect;
auto const &s = i.second->size;
- printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h,
- r.x, r.y);
+ printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, r.x,
+ r.y);
}
puts("\b\b ");
}
for (auto const &i : this->layers) {
auto const &r = i.second->dst_rect;
auto const &s = i.second->size;
- printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h,
- r.x, r.y);
+ printf("%d [%ux%u] (%ux%u@%dx%d), ", i.first, s.w, s.h, r.w, r.h, r.x,
+ r.y);
}
puts("\b\b ");
}
}
+
//
// ___ ___ _ __ ___ ___ _ __
// / __|/ __| '__/ _ \/ _ \ '_ \