[PATCH 0/5] Scanning out buffers with transformed outputs

Kristian Høgsberg hoegsberg at gmail.com
Tue Nov 27 08:45:19 PST 2012


On Tue, Nov 27, 2012 at 05:03:39PM +0200, Ander Conselvan de Oliveira wrote:
> Hi,
> 
> This series adds support for scanning out a fullscreen client buffer
> when the output is rotated. A Wayland patch adds a request for setting
> the buffer transform, which the compositor handles by changing the
> texture coordinates when compositing. If possible, the drm compositor
> will scan out the client buffer.
> 
> The last patch adds a new client to Weston, based on simple-egl, that
> renders its contents according to the output transform. The image is a
> cross with the top colored red and the right colored green.

Thanks Ander, that's great.  All patches committed, and I see the
scanout from rotated surface working here.  As we discussed in IRC,
there are a few looses ends, I'll just list them here for the record:

 - We should be able to also use rotated buffers on drm sprites, if
   the surface rotation matches the output rotation.

 - This is the first patch that uses the versioning mechanism and
   we've discovered a couple of not-so-well-defined behaviors.
   Objects are supposed to be versioned either at bind time or
   implicitly by the version of the global they're created from
   (directly or transitively).  The problem is that some objects can
   be created from different interfaces, and in that case it's not
   clear what the version should be.  We need to figure this out before 1.1.

Kristian


More information about the wayland-devel mailing list