[RFC wayland] System compositor protocol

2013-08-23 Thread Jason Ekstrand
Hello All, I am in the process of picking back up the old idea of system compositors. I am not, at the moment, looking for a review of the code; simply a review of the concept and the proposed protocol. If you would like to look at my implementation or try it out, it can be found in the system-com

[PATCH weston 1.2] compositor.h: Don't include config.h

2013-08-23 Thread Pier Luigi Fiorini
Public headers should not include config.h. --- src/compositor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index 3eaac42..3437aea 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -28,8 +28,6 @@ extern "C" { #endif -#include "config.h" - #i

Re: [PATCH] .gitignore: Reflect recent client binary rename

2013-08-23 Thread Bryce W. Harrington
On Fri, Aug 23, 2013 at 01:52:33PM -0700, Bill Spitzak wrote: > Can you just ignore the entire bin directory? These are actually in the src directory; they get copied to the bin directory on install (which git doesn't look in), but the binaries remain in src/ so git still notices them. > Bryce W

Re: [PATCH] .gitignore: Reflect recent client binary rename

2013-08-23 Thread Bill Spitzak
Can you just ignore the entire bin directory? Bryce W. Harrington wrote: Commit 77ab1721 renamed the client binaries; this change updates .gitignore to follow this change. Signed-off-by: Bryce Harrington --- clients/.gitignore | 37 +++-- 1 file changed, 19 i

[PATCH] .gitignore: Reflect recent client binary rename

2013-08-23 Thread Bryce W. Harrington
Commit 77ab1721 renamed the client binaries; this change updates .gitignore to follow this change. Signed-off-by: Bryce Harrington --- clients/.gitignore | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/clients/.gitignore b/clients/.gi

[PATCH wayland-web] building: Recommend disabling setuid for non-root installs

2013-08-23 Thread Bryce W. Harrington
The build directions guide the user to build and install Wayland in a user directory without using superuser privs. However, the weston build process includes a `chown root` on weston-launcher done by default, which results in a failed build when running make install as non-superuser, unless we pa

[PATCH wayland-web] building: copyedits

2013-08-23 Thread Bryce W. Harrington
Add a space between two words and a missing 's'. Signed-off-by: Bryce Harrington --- building.html |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/building.html b/building.html index a47744e..9a1e9e8 100644 --- a/building.html +++ b/building.html @@ -170,7 +170,7 @@ It

[PATCH wayland-web] building: Update renamed client names

2013-08-23 Thread Bryce W. Harrington
These were renamed mid-July to add a weston- prefix. Signed-off-by: Bryce Harrington --- building.html | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/building.html b/building.html index 771c659..b7a1158 100644 --- a/building.html +++ b/building.html @@ -

Re: [RFC PATCH v2] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-23 Thread Stefan Schmidt
Hello. On 08/22/2013 10:43 PM, Lorn Potter wrote: Hi, I was told of this thread, perhaps I can make a few comments (sorry if it doesn't really follow the thread) [no knowing much about wayland protocol/api] first thoughts: * why no timestamp info? Arg, that is sitting uncommitted here and th

Re: [RFC PATCH v2] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-23 Thread Stefan Schmidt
Hello. On 08/22/2013 09:20 PM, Bill Spitzak wrote: Jason Ekstrand wrote: One thing I'm still missing is a way to handle more than one sensor per type for the future. Input devices like the wii-remote with nunchuk comes to mind. Having two separate accelerometers which still w

Re: [RFC PATCH v2] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-23 Thread Stefan Schmidt
Hello. On 08/22/2013 04:07 PM, Jason Ekstrand wrote: Stefan, Thanks for working on this! You can thank me once I get this into a state where it gets accepted. ;) As one general comment (protocol comments below), we need to make sure that "normal" values are somewhere around 1 to 1000. The w

Re: [RFC PATCH v2] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-23 Thread Stefan Schmidt
Hello. On 08/22/2013 11:45 PM, Bryce W. Harrington wrote: On Thu, Aug 22, 2013 at 09:46:28AM +0100, Stefan Schmidt wrote: Treating some specific sensors as input devices. In particular adding support for wl_compass, wl_gyroscope and wl_accelerometer here. Using these sensor as input for apps a

[RFC] compositor-drm: Add hardware accelerated capture of screen using libva

2013-08-23 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira This patch adds a feature to the DRM backend that uses libva for encoding the screen contents in H.264. Screen recording can be activated by pressing mod-shift-space q. A file named capture.h264 will be created in the current directory, which can be muxed into an

Weston wayland-scanner detection problem

2013-08-23 Thread Stefan Schmidt
Hello. I just rebased my changes to latest wayland and weston and I'm running into some trouble with wayland-scanner for weston. A clean weston master does now longer detect wayland-scanner for me. Still configure happily keeps going and make finally errors out with code or server-headers co