wl_list_init(&view->layer_link.link);
pixman_region32_init(&view->clip);
- pixman_region32_init(&view->transform.masked_boundingbox);
view->alpha = 1.0;
pixman_region32_init(&view->transform.opaque);
pixman_region32_t damage;
pixman_region32_init(&damage);
- pixman_region32_subtract(&damage, &view->transform.masked_boundingbox,
+ pixman_region32_subtract(&damage, &view->transform.boundingbox,
&view->clip);
if (view->plane)
pixman_region32_union(&view->plane->damage,
layer = get_view_layer(view);
if (layer) {
pixman_region32_init_with_extents(&mask, &layer->mask);
- pixman_region32_intersect(&view->transform.masked_boundingbox,
- &view->transform.boundingbox, &mask);
+ pixman_region32_intersect(&view->transform.boundingbox,
+ &view->transform.boundingbox, &mask);
pixman_region32_intersect(&view->transform.opaque,
&view->transform.opaque, &mask);
pixman_region32_fini(&mask);
wl_list_for_each(view, &compositor->view_list, link) {
weston_view_from_global_fixed(view, x, y, vx, vy);
if (pixman_region32_contains_point(
- &view->transform.masked_boundingbox,
- ix, iy, NULL) &&
+ &view->transform.boundingbox, ix, iy, NULL) &&
pixman_region32_contains_point(&view->surface->input,
wl_fixed_to_int(*vx),
wl_fixed_to_int(*vy),
pixman_region32_fini(&view->clip);
pixman_region32_fini(&view->transform.boundingbox);
- pixman_region32_fini(&view->transform.masked_boundingbox);
pixman_region32_fini(&view->transform.opaque);
weston_view_set_transform_parent(view, NULL);
pixman_region32_init(&repaint);
pixman_region32_intersect(&repaint,
- &ev->transform.masked_boundingbox, damage);
+ &ev->transform.boundingbox, damage);
pixman_region32_subtract(&repaint, &repaint, &ev->clip);
if (!pixman_region32_not_empty(&repaint))
pixman_region32_init(&repaint);
pixman_region32_intersect(&repaint,
- &ev->transform.masked_boundingbox, damage);
+ &ev->transform.boundingbox, damage);
pixman_region32_subtract(&repaint, &repaint, &ev->clip);
if (!pixman_region32_not_empty(&repaint))