Re: [PATCH weston] compositor: add a masking mechanism to weston_view

2013-12-04 Thread Giulio Camuffo
2013/12/4 Pekka Paalanen : > On Tue, 3 Dec 2013 14:29:21 +0100 > Giulio Camuffo wrote: > >> This adds a 'mask' pixman_region32 to weston_view and to >> weston_view::geometry. A user, a shell probably, can set a view's >> mask to some region (e.g. the workspace area) and the view, and all >> its t

Re: [PATCH weston] compositor: add a masking mechanism to weston_view

2013-12-03 Thread Pekka Paalanen
On Tue, 3 Dec 2013 14:29:21 +0100 Giulio Camuffo wrote: > This adds a 'mask' pixman_region32 to weston_view and to > weston_view::geometry. A user, a shell probably, can set a view's > mask to some region (e.g. the workspace area) and the view, and all > its transform children, will be clipped t

[PATCH weston] compositor: add a masking mechanism to weston_view

2013-12-03 Thread Giulio Camuffo
This adds a 'mask' pixman_region32 to weston_view and to weston_view::geometry. A user, a shell probably, can set a view's mask to some region (e.g. the workspace area) and the view, and all its transform children, will be clipped to that region. weston_view::geometry.mask is the intersection of th