Re: [RFC] [PATCH weston v3] Implement output transformations.

2012-08-29 Thread Kristian Høgsberg
On Sun, Aug 19, 2012 at 01:33:26AM -0600, Scott Moreau wrote: > > > > @@ -1117,16 +1199,17 @@ x11_compositor_create(struct wl_display *display, > > - x += option_width ? option_width : o->width; > > + x += (container_of(c->base.output_list.prev, > > +

Re: [RFC] [PATCH weston v3] Implement output transformations.

2012-08-19 Thread Scott Moreau
> > @@ -1117,16 +1199,17 @@ x11_compositor_create(struct wl_display *display, > - x += option_width ? option_width : o->width; > + x += (container_of(c->base.output_list.prev, > + struct weston_output, > link))->region.extents.x2; > + >

[RFC] [PATCH weston v3] Implement output transformations.

2012-08-18 Thread Scott Moreau
This patch allows rotation and mirroring outputs for x11 and drm backends. A new 'transform' key can be set in the [output] section. From the protocol: "The flipped values correspond to an initial flip around a vertical axis followed by rotation." The transform key can be one of the following 8 s