[PATCH weston] weston: Use float instead of GLfloat.

2012-09-29 Thread John Kåre Alsaker
--- src/compositor.c | 24 src/compositor.h | 18 +- src/matrix.c | 8 src/matrix.h | 10 +- src/shell.c | 26 +- src/util.c | 12 ++-- 6 files changed, 49 insertions(+), 49 deletions(-)

[PATCH v2] Add a new field for compositors to store the gamma encoding of wl_buffers.

2012-09-29 Thread John Kåre Alsaker
--- src/wayland-server.h | 1 + src/wayland-shm.c| 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wayland-server.h b/src/wayland-server.h index 45cc61c..9fa754f 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -180,6 +180,7 @@ struct wl_buffer {

Ubuntu Quantal PPA of daily builds

2012-09-29 Thread darxus
https://code.launchpad.net/~darxus/+archive/wayland-daily Source is pulled in from the wayland / weston git masters daily, the debian packaging (debian directory) from the packages in the ubuntu archives are copied in, and they're built, all automatically. When new packages are added to the offic

[PATCH] Add a new field for compositors to store the gamma encoding of wl_buffers.

2012-09-29 Thread John Kåre Alsaker
--- src/wayland-server.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wayland-server.h b/src/wayland-server.h index 45cc61c..f516289 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -180,6 +180,7 @@ struct wl_buffer { struct wl_resource resource; int32_t w

[PATCH] Fix spelling errors

2012-09-29 Thread Martin Olsson
--- clients/eventdemo.c |4 ++-- protocol/text.xml|2 +- src/compositor-drm.c |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/eventdemo.c b/clients/eventdemo.c index 569a8c1..e59b076 100644 --- a/clients/eventdemo.c +++ b/clients/eventdemo.c @@ -210,7

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Jonas Ådahl
On Sat, Sep 29, 2012 at 12:01 PM, Scott Moreau wrote: > >> >> Ok, so what I'm trying to do is to enable what people call "smooth >> scrolling" on an input level, meaning that scrolling is not based on >> discrete arbitrary "steps" but on a more fluid motion. These types of >> events makes most sen

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Scott Moreau
> > Ok, so what I'm trying to do is to enable what people call "smooth > scrolling" on an input level, meaning that scrolling is not based on > discrete arbitrary "steps" but on a more fluid motion. These types of > events makes most sense for certain types of step-less scroll wheels > and touchpad

Re: [PATCH weston v4] toytoolkit: Don't draw shadows for maximized windows.

2012-09-29 Thread Scott Moreau
On Sat, Sep 29, 2012 at 3:27 AM, David Herrmann wrote: > Hi Scott > > Only one nitpick below > > On Fri, Sep 28, 2012 at 10:45 AM, Scott Moreau wrote: > > Add THEME_FRAME_MAXIMIZED flag so the theming system can know not to draw > > shadows for maximized windows. This allows maximized surfaces' c

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Jonas Ådahl
On Fri, Sep 28, 2012 at 9:58 PM, Scott Moreau wrote: > > > On Fri, Sep 28, 2012 at 7:09 AM, Jonas Ådahl wrote: >> >> On Fri, Sep 28, 2012 at 2:47 PM, Pekka Paalanen >> wrote: >> > On Fri, 28 Sep 2012 14:30:18 +0200 >> > Jonas Ådahl wrote: >> > >> >> On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalan

Re: [PATCH weston v4] toytoolkit: Don't draw shadows for maximized windows.

2012-09-29 Thread David Herrmann
Hi Scott Only one nitpick below On Fri, Sep 28, 2012 at 10:45 AM, Scott Moreau wrote: > Add THEME_FRAME_MAXIMIZED flag so the theming system can know not to draw > shadows for maximized windows. This allows maximized surfaces' content to be > sized and placed in a more expectable fashion. > > --

Re: Gamma correct rendering with Wayland and Weston

2012-09-29 Thread John Kåre Alsaker
On Fri, Sep 28, 2012 at 5:52 PM, John Kåre Alsaker wrote: > - srgb_a: > Rendering in linear gamma: > Shader: Undo the alpha premultiplying, convert from sRGB to > linear > gamma and premultiply the alpha after. When rendering srgb_a in linear gamma, we can use sRGB hardwar

Re: [PATCH kmscon] wlterm: Add maximize toggle functionality.

2012-09-29 Thread David Herrmann
Hi Scott On Sat, Sep 29, 2012 at 9:10 AM, Scott Moreau wrote: > --- > src/wlt_theme.c | 1 + > src/wlt_toolkit.c | 20 > src/wlt_toolkit.h | 1 + > 3 files changed, 22 insertions(+) I just changed the commit-message prefix and added a short description. I actually like

Re: Gamma correct rendering with Wayland and Weston

2012-09-29 Thread John Kåre Alsaker
On Fri, Sep 28, 2012 at 10:51 PM, Bill Spitzak wrote: > Actual rendering of window contents is not done by Wayland so it should not > effect this. However wayland and the shells do some compositing, and gamma > changes how any partially-transparent pixels work. In current shells these > are: > > 1

[PATCH weston] toytoolkit: Take into account transform when sending output allocation.

2012-09-29 Thread Scott Moreau
--- It seems only wscreensaver and tablet-shell use output_get_allocation(). This fixes a problem when screensaver gets the wrong size for transformed outputs where width and height are swapped. clients/window.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --g

[PATCH kmscon] wlterm: Add maximize toggle functionality.

2012-09-29 Thread Scott Moreau
--- src/wlt_theme.c | 1 + src/wlt_toolkit.c | 20 src/wlt_toolkit.h | 1 + 3 files changed, 22 insertions(+) diff --git a/src/wlt_theme.c b/src/wlt_theme.c index c69d889..de54cc7 100644 --- a/src/wlt_theme.c +++ b/src/wlt_theme.c @@ -443,6 +443,7 @@ static void button_ac