[PATCH weston 00/11] Wayland backend improvements

Kristian Høgsberg hoegsberg at gmail.com
Thu Nov 7 16:40:24 PST 2013


On Sun, Oct 27, 2013 at 10:24:52PM -0500, Jason Ekstrand wrote:
> This patch series substantially extends the wayland backend to add a number
> of improvements.  Currently, the X backend is the only backend capable of
> easily testing various scenarios without having to hotplug/rotate physical
> monitors.  As much fun as it is to run X inside of Weston inside of Weston
> inside of X inside of Weston, I think we'd all rather be using the Wayland
> backend for these sorts of things when running on top of a Wayland
> compositor.  As Wayland compositors become common-place and we all start
> using one for our day-to-day development, the wayland backend will become
> increasingly important for development.

Hi Jason,

I pushed this series.  I like the clean-ups to the gl-renderer
interface, and reusing the frame code for the wayland backend is very
nice.

Kristian

> This patch set adds the following to the wayland backend:
>  * A proper frame with a close button
>  * Pixman/SHM fallback mode (also enabled via the --use-pixman option)
>  * Config parsing of [output] sections
>  * Output transform support
>  * Output scale support
> 
> This patch set also introduces a variety of performance improvements and
> code cleanups.  
> 
> The one substantial thing remaining to bring the wayland backend up to par
> with the X backend is to implement fullscreen support.  However, I think we
> can go ahead and apply this series and leave fullscreen support for a
> seperate series.
> 
> Jason Ekstrand (11):
>   compositor-wayland: Rename structure members and make things more
>     consistant
>   gl-renderer: Add support for per-output multi-texture borders.
>   compositor-wayland: Add an actual frame around the compositor window
>   gl-renderer: Remove the renderer-global border support
>   compositor-wayland: Flush the display on commit
>   compositor-wayland: Add pixman/SHM fallback mode
>   Remove the concept of a border from weston_output.
>   Make weston_output_transform_coordinate more sane
>   Move region transformation code to weston_transformed_region
>   compositor-wayland: Parse [output] config sections and more options
>   cairo-util: Rework frame button handling
> 
>  configure.ac             |    2 +-
>  shared/cairo-util.h      |    8 +-
>  shared/frame.c           |  156 +++++--
>  src/compositor-wayland.c | 1040 ++++++++++++++++++++++++++++++++++++++--------
>  src/compositor-x11.c     |  104 ++---
>  src/compositor.c         |  139 +++++--
>  src/compositor.h         |   14 +-
>  src/evdev.c              |   16 +-
>  src/gl-renderer.c        |  272 ++++++------
>  src/gl-renderer.h        |   41 +-
>  src/pixman-renderer.c    |  106 +----
>  11 files changed, 1299 insertions(+), 599 deletions(-)
> 
> -- 
> 1.8.3.1
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list