Re: [PATCH weston 00/18] Raspberry Pi: a new renderer and demos

2013-05-24 Thread Pekka Paalanen
On Wed, 22 May 2013 18:03:03 +0300
ppaala...@gmail.com wrote:

 From: Pekka Paalanen pekka.paala...@collabora.co.uk
 
 Hi all,
 
 this patch series consists of several independent features, which all come
 together in demonstrating the capabilities of Raspberry Pi for running a
 desktop.
 
 We add a new rpi-renderer, that replaces the gl-renderer + weston_planes
 on RPi. Since it is not as flexible as the gl-renderer, we add some
 capability bits to disable incompatible features in Weston.
 
 Weston-desktop-shell gets new features. The major new feature is
 exposay, a window overview mode with animated transitions. Another new
 feature is optional keyboard-focus animation, which dims unfocused
 surfaces. Smaller enhancements include a new wallpaper scaling mode, and
 ensuring weston-desktop-shell has finished starting up before the
 compositor fades in.
 
 Then there are various smaller fixes and enhancements.
 
 This work is joint effort of the Raspberry Pi foundation and Collabora. I
 will later (tomorrow) reply with an email with links to all the related
 announcements and blog posts. More details behind those links, and the
 individual commits.
 
 Beware of the rough edges, there are some bugs we didn't have time to fix
 yet. Most of them need a little effort to discover, though, that's why we
 didn't see them earlier. ;-)
 
 This series is also available as a branch:
 
 git://git.collabora.co.uk/git/user/pq/weston.git raspberrypi-dispmanx
 http://cgit.collabora.com/git/user/pq/weston.git/log/?h=raspberrypi-dispmanx
 
 There is also a patch for the RPi building guide on the Wayland website.

Hi all,

the Raspberry Pi specific commits are merged upstream, and the demo
candy patches are still waiting for review. I have a WIP branch (i.e.
throw-away) with the pending patches at:
http://cgit.collabora.com/git/user/pq/weston.git/log/?h=raspberrypi-dispmanx-wip

Now that we finally got all the PR out, here's the collection of links
to announcements etc.

Raspberry Pi Foundation News, Wayland preview
http://www.raspberrypi.org/archives/4053

Daniel Stone's blog, Weston on Raspberry Pi, answers why?
http://fooishbar.org/tell-me-about/wayland-on-raspberry-pi/

My blog, Weston on Raspberry Pi Accelerated, answers how?
http://ppaalanen.blogspot.fi/2013/05/weston-on-raspberry-pi-accelerated.html

Collabora's press release
http://www.collabora.com/press/2013/05/collabora-brings-wayland-and-x11-graphics-performance-to-raspberry-pi.html

Collabora's Raspberry Pi case study, with the video
http://www.collabora.com/services/case-studies/raspberrypi

Collabora's Wayland promotion
http://www.collabora.com/projects/graphics/

Pre-built Raspbian packages
http://raspberrypi.collabora.com/


Thanks,
pq
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH weston 00/18] Raspberry Pi: a new renderer and demos

2013-05-22 Thread ppaalanen
From: Pekka Paalanen pekka.paala...@collabora.co.uk

Hi all,

this patch series consists of several independent features, which all come
together in demonstrating the capabilities of Raspberry Pi for running a
desktop.

We add a new rpi-renderer, that replaces the gl-renderer + weston_planes
on RPi. Since it is not as flexible as the gl-renderer, we add some
capability bits to disable incompatible features in Weston.

Weston-desktop-shell gets new features. The major new feature is
exposay, a window overview mode with animated transitions. Another new
feature is optional keyboard-focus animation, which dims unfocused
surfaces. Smaller enhancements include a new wallpaper scaling mode, and
ensuring weston-desktop-shell has finished starting up before the
compositor fades in.

Then there are various smaller fixes and enhancements.

This work is joint effort of the Raspberry Pi foundation and Collabora. I
will later (tomorrow) reply with an email with links to all the related
announcements and blog posts. More details behind those links, and the
individual commits.

Beware of the rough edges, there are some bugs we didn't have time to fix
yet. Most of them need a little effort to discover, though, that's why we
didn't see them earlier. ;-)

This series is also available as a branch:

git://git.collabora.co.uk/git/user/pq/weston.git raspberrypi-dispmanx
http://cgit.collabora.com/git/user/pq/weston.git/log/?h=raspberrypi-dispmanx

There is also a patch for the RPi building guide on the Wayland website.


Daniel Stone (4):
  Add modifier-only binding
  Add move/scale animation
  Shell: Add Exposay
  configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS

Louis-Francis Ratté-Boulianne (3):
  animation: Make zoom animation renders better and smoother
  compositor, shell: Add animation to measure desktop fps
  xwayland: Fix the race condition when mapping a surface

Louis-Francis Ratté-Boulianne (3):
  toytoolkit: Make the window resizing optimization optional
  animation, shell: add kbd focus change animation
  shell: Fix calculation of center point in surface rotation

Pekka Paalanen (8):
  compositor: add capability flag for arbitrary surface rotation
  compositor: add capability CAPTURE_YFLIP
  rpi: add a Dispmanx renderer
  rpi: switch to rpi-renderer
  rpi: remove weston_plane support
  shell: wait for desktop-shell init before fade in
  desktop-shell: new wallpaper mode scale-crop
  screenshooter: print info to log

 clients/desktop-shell.c   |   73 ++-
 clients/window.c  |6 +-
 configure.ac  |   13 +-
 man/weston.ini.man|9 +-
 protocol/desktop-shell.xml|   13 +-
 shared/cairo-util.c   |2 +-
 shared/config-parser.c|3 +-
 shared/image-loader.c |2 +-
 shared/matrix.c   |2 +
 shared/option-parser.c|2 +
 shared/os-compatibility.c |2 +-
 src/Makefile.am   |2 +
 src/animation.c   |  128 +++-
 src/bindings.c|   60 ++
 src/clipboard.c   |2 +-
 src/cms-helper.c  |4 +-
 src/cms-static.c  |5 +-
 src/compositor-drm.c  |6 +-
 src/compositor-fbdev.c|2 +-
 src/compositor-headless.c |4 +-
 src/compositor-rdp.c  |4 +-
 src/compositor-rpi.c  |  898 +++
 src/compositor-wayland.c  |5 +-
 src/compositor-x11.c  |4 +-
 src/compositor.c  |   71 ++-
 src/compositor.h  |   48 ++
 src/evdev-touchpad.c  |2 +
 src/evdev.c   |2 +
 src/filter.c  |2 +
 src/gl-renderer.c |4 +-
 src/gl-renderer.h |7 +-
 src/input.c   |   38 ++
 src/launcher-util.c   |2 +
 src/libbacklight.c|2 +-
 src/log.c |2 +
 src/noop-renderer.c   |2 +-
 src/pixman-renderer.c |4 +-
 src/rpi-bcm-stubs.h   |   39 ++
 src/rpi-renderer.c| 1370 +
 src/rpi-renderer.h|   48 ++
 src/screenshooter.c   |  103 +++-
 src/shell.c   | 1078 ++--
 src/tablet-shell.c|2 +
 src/text-backend.c|2 +
 src/tty.c |2 +
 src/udev-seat.c   |2 +
 src/weston-launch.c   |2 -
 src/xwayland/launcher.c   |2 +-
 src/xwayland/selection.c  |2 +-
 src/xwayland/window-manager.c |   20 +-
 src/zoom.c|2 +
 51 files changed, 3166 insertions(+), 945 deletions(-)
 create mode 100644 src/rpi-renderer.c
 create mode 100644 src/rpi-renderer.h

-- 
1.8.1.5


Thanks,
pq

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH weston 00/18] Raspberry Pi: a new renderer and demos

2013-05-22 Thread Kristian Høgsberg
On Wed, May 22, 2013 at 06:03:03PM +0300, ppaala...@gmail.com wrote:
 From: Pekka Paalanen pekka.paala...@collabora.co.uk
 
 Hi all,
 
 this patch series consists of several independent features, which all come
 together in demonstrating the capabilities of Raspberry Pi for running a
 desktop.

Hi Pekka,

Thanks, happy to see this go out.  The new renderer is a cool
demonstration of a fast, non-gl renderer.  Patches 1-9 all looked good
and I've applied and pushed them (minor conflicts with Alexs scale
patches).  From 10 and onwards I have some comments, but I'll try to
send those out tomorrow.

Kristian

 We add a new rpi-renderer, that replaces the gl-renderer + weston_planes
 on RPi. Since it is not as flexible as the gl-renderer, we add some
 capability bits to disable incompatible features in Weston.
 
 Weston-desktop-shell gets new features. The major new feature is
 exposay, a window overview mode with animated transitions. Another new
 feature is optional keyboard-focus animation, which dims unfocused
 surfaces. Smaller enhancements include a new wallpaper scaling mode, and
 ensuring weston-desktop-shell has finished starting up before the
 compositor fades in.
 
 Then there are various smaller fixes and enhancements.
 
 This work is joint effort of the Raspberry Pi foundation and Collabora. I
 will later (tomorrow) reply with an email with links to all the related
 announcements and blog posts. More details behind those links, and the
 individual commits.
 
 Beware of the rough edges, there are some bugs we didn't have time to fix
 yet. Most of them need a little effort to discover, though, that's why we
 didn't see them earlier. ;-)
 
 This series is also available as a branch:
 
 git://git.collabora.co.uk/git/user/pq/weston.git raspberrypi-dispmanx
 http://cgit.collabora.com/git/user/pq/weston.git/log/?h=raspberrypi-dispmanx
 
 There is also a patch for the RPi building guide on the Wayland website.
 
 
 Daniel Stone (4):
   Add modifier-only binding
   Add move/scale animation
   Shell: Add Exposay
   configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS
 
 Louis-Francis Ratté-Boulianne (3):
   animation: Make zoom animation renders better and smoother
   compositor, shell: Add animation to measure desktop fps
   xwayland: Fix the race condition when mapping a surface
 
 Louis-Francis Ratté-Boulianne (3):
   toytoolkit: Make the window resizing optimization optional
   animation, shell: add kbd focus change animation
   shell: Fix calculation of center point in surface rotation
 
 Pekka Paalanen (8):
   compositor: add capability flag for arbitrary surface rotation
   compositor: add capability CAPTURE_YFLIP
   rpi: add a Dispmanx renderer
   rpi: switch to rpi-renderer
   rpi: remove weston_plane support
   shell: wait for desktop-shell init before fade in
   desktop-shell: new wallpaper mode scale-crop
   screenshooter: print info to log
 
  clients/desktop-shell.c   |   73 ++-
  clients/window.c  |6 +-
  configure.ac  |   13 +-
  man/weston.ini.man|9 +-
  protocol/desktop-shell.xml|   13 +-
  shared/cairo-util.c   |2 +-
  shared/config-parser.c|3 +-
  shared/image-loader.c |2 +-
  shared/matrix.c   |2 +
  shared/option-parser.c|2 +
  shared/os-compatibility.c |2 +-
  src/Makefile.am   |2 +
  src/animation.c   |  128 +++-
  src/bindings.c|   60 ++
  src/clipboard.c   |2 +-
  src/cms-helper.c  |4 +-
  src/cms-static.c  |5 +-
  src/compositor-drm.c  |6 +-
  src/compositor-fbdev.c|2 +-
  src/compositor-headless.c |4 +-
  src/compositor-rdp.c  |4 +-
  src/compositor-rpi.c  |  898 +++
  src/compositor-wayland.c  |5 +-
  src/compositor-x11.c  |4 +-
  src/compositor.c  |   71 ++-
  src/compositor.h  |   48 ++
  src/evdev-touchpad.c  |2 +
  src/evdev.c   |2 +
  src/filter.c  |2 +
  src/gl-renderer.c |4 +-
  src/gl-renderer.h |7 +-
  src/input.c   |   38 ++
  src/launcher-util.c   |2 +
  src/libbacklight.c|2 +-
  src/log.c |2 +
  src/noop-renderer.c   |2 +-
  src/pixman-renderer.c |4 +-
  src/rpi-bcm-stubs.h   |   39 ++
  src/rpi-renderer.c| 1370 
 +
  src/rpi-renderer.h|   48 ++
  src/screenshooter.c   |  103 +++-
  src/shell.c   | 1078 ++--
  src/tablet-shell.c|2 +
  src/text-backend.c|2 +
  src/tty.c |2 +
  src/udev-seat.c   |2 +
  src/weston-launch.c   |2 -
  src/xwayland/launcher.c   |