[PATCH weston 00/11] Split geometry information from

Jason Ekstrand jason at jlekstrand.net
Fri Sep 13 19:44:50 PDT 2013


This patch series implements a concept called "views".  A view is an
element in the scenegraph and is backed by a surface.  The surface contains
all of the buffer information whild the view contains all of the geometry
information (position, rotation, etc.) While every view has one surface, a
single surface may have multiple views in the scenegraph.  This makes the
weston scenegraph far more powerful for shells that wish to use it.

Most of the core of weston works with this patch.  The remaining issues are:

 1. Text input panels (see the shell.c patch)
 2. Tablet shell (It doesn't build)
 3. RPI backend (It doesn't build and mayu need quite a bit of work for
    views to work).
 4. We don't have anything that uses multiple views for a single surface
    so, while it works in theory, that's a bit untested.

Hopefully, we can get this merged in shortly after 1.3 so that Hawaii and
Orbital have pleanty of time to switch to the new API and so that we have
pleanty of time before 1.4 to get the kinks worked out.

Kristian,
Let me know if it doesn't easily apply on 1.3 and I'll rebase and resend.
However, it would be good to get review started now.  I'm going to try and
address the above four issues before 1.3 as well.

Jason Ekstrand (11):
  Split the geometry information from weston_surface out into
    weston_view
  Update the DRM backend to handle views
  Update the OpenGL renderer to handle views
  Update the Pixman renderer to handle views
  Update the input code to handle views
  Update drag-and-drop to handle views
  Animate views instead of surfaces
  Remove support for text cursor position based output zooming
  Update the xwayland interface to handle views
  Update the shell plugin to work with views.
  Update the unit tests to use views

 src/animation.c               | 120 +++----
 src/compositor-drm.c          | 160 +++++----
 src/compositor.c              | 813 +++++++++++++++++++++++++++---------------
 src/compositor.h              | 209 ++++++-----
 src/data-device.c             |  90 +++--
 src/gl-renderer.c             | 101 +++---
 src/input.c                   | 158 ++++----
 src/pixman-renderer.c         |  86 ++---
 src/shell.c                   | 805 +++++++++++++++++++++++------------------
 src/spring-tool.c             |   4 +-
 src/xwayland/window-manager.c |  26 +-
 src/zoom.c                    | 165 +--------
 tests/surface-global-test.c   |  22 +-
 tests/surface-test.c          |  14 +-
 tests/weston-test.c           |  38 +-
 15 files changed, 1552 insertions(+), 1259 deletions(-)

-- 
1.8.3.1



More information about the wayland-devel mailing list