@ -440,10 +440,6 @@ weston_view_create(struct weston_surface *surface)
wl_list_init ( & view - > link ) ;
wl_list_init ( & view - > link ) ;
wl_list_init ( & view - > layer_link . link ) ;
wl_list_init ( & view - > layer_link . link ) ;
view - > plane = NULL ;
view - > layer_link . layer = NULL ;
view - > parent_view = NULL ;
pixman_region32_init ( & view - > clip ) ;
pixman_region32_init ( & view - > clip ) ;
pixman_region32_init ( & view - > transform . masked_boundingbox ) ;
pixman_region32_init ( & view - > transform . masked_boundingbox ) ;
pixman_region32_init ( & view - > transform . masked_opaque ) ;
pixman_region32_init ( & view - > transform . masked_opaque ) ;
@ -459,8 +455,6 @@ weston_view_create(struct weston_surface *surface)
pixman_region32_init ( & view - > transform . boundingbox ) ;
pixman_region32_init ( & view - > transform . boundingbox ) ;
view - > transform . dirty = 1 ;
view - > transform . dirty = 1 ;
view - > output = NULL ;
return view ;
return view ;
}
}
@ -617,8 +611,6 @@ weston_surface_create(struct weston_compositor *compositor)
wl_signal_init ( & surface - > destroy_signal ) ;
wl_signal_init ( & surface - > destroy_signal ) ;
surface - > resource = NULL ;
surface - > compositor = compositor ;
surface - > compositor = compositor ;
surface - > ref_count = 1 ;
surface - > ref_count = 1 ;
@ -629,10 +621,6 @@ weston_surface_create(struct weston_compositor *compositor)
weston_surface_state_init ( & surface - > pending ) ;
weston_surface_state_init ( & surface - > pending ) ;
surface - > output = NULL ;
surface - > viewport_resource = NULL ;
pixman_region32_init ( & surface - > damage ) ;
pixman_region32_init ( & surface - > damage ) ;
pixman_region32_init ( & surface - > opaque ) ;
pixman_region32_init ( & surface - > opaque ) ;
region_init_infinite ( & surface - > input ) ;
region_init_infinite ( & surface - > input ) ;