-void controller::layer_destination_rectangle(uint32_t id, int32_t x, int32_t y,
- int32_t width, int32_t height) {
- logdebug("genivi::layer %s @ %p x %i y %i w %i h %i", __func__, this->proxy,
- x, y, width, height);
- this->layers[id]->dst_rect = rect{uint32_t(width), uint32_t(height), x, y};
+void controller::layer_destination_rectangle(struct layer *l, int32_t x,
+ int32_t y, int32_t width,
+ int32_t height) {
+ logdebug("genivi::layer %s @ %p x %i y %i w %i h %i", __func__,
+ this->proxy.get(), x, y, width, height);
+ l->dst_rect = rect{uint32_t(width), uint32_t(height), x, y};