[PATCH weston 06/11] pixman-renderer: Use output->matrix for region transformations and enable output zoom

2015-11-18 Thread Derek Foreman
From: Jason Ekstrand --- This fixes zoom, but it also changes how pixman's region_global_to_output works... src/pixman-renderer.c | 70 +++ 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman-rendere

[PATCH weston v2 06/20] pixman-renderer: Use output->matrix for region transformations and enable output zoom

2014-10-16 Thread Derek Foreman
From: Jason Ekstrand --- src/pixman-renderer.c | 70 +++ 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 18b6476..d3650d1 100644 --- a/src/pixman-renderer.c +++ b/src/pixman-render

[RFC weston 06/16] pixman-renderer: Use output->matrix for region transformations and enable output zoom

2014-09-26 Thread Derek Foreman
From: Jason Ekstrand --- src/pixman-renderer.c | 70 +++ 1 file changed, 60 insertions(+), 10 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 18b6476..d3650d1 100644 --- a/src/pixman-renderer.c +++ b/src/pixman-render

Re: [PATCH weston 2/4 v2] Restructure output zoom.

2012-05-22 Thread Kristian Høgsberg
On Mon, May 21, 2012 at 03:21:25PM -0600, Scott Moreau wrote: > A quick clean-up of zoom to prepare for the other patches in this series. Committed. Kristian > --- > > Rebased against master, 380deee3c7b18574d66511287bb01dde51027fbf > > src/compositor.c | 20 ++-- > src/compo

[PATCH weston 2/4 v3] Restructure output zoom.

2012-05-21 Thread Scott Moreau
A quick clean-up of zoom to prepare for the other patches in this series. --- Rebased on top of patch 1 in this series. src/compositor.c | 20 ++-- src/compositor.h |1 - src/shell.c | 13 - 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a

[PATCH weston 2/4 v2] Restructure output zoom.

2012-05-21 Thread Scott Moreau
A quick clean-up of zoom to prepare for the other patches in this series. --- Rebased against master, 380deee3c7b18574d66511287bb01dde51027fbf src/compositor.c | 20 ++-- src/compositor.h |1 - src/shell.c | 13 - 3 files changed, 18 insertions(+), 16 del

[PATCH weston 2/4 v1] Restructure output zoom.

2012-05-20 Thread Scott Moreau
A quick clean-up of zoom to prepare for the other patches in this series. --- src/compositor.c | 20 ++-- src/compositor.h |1 - src/shell.c | 13 - 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0

Re: [PATCH] Restructure output zoom key handling.

2012-02-26 Thread Kristian Hoegsberg
On Thu, Feb 23, 2012 at 10:28:37PM -0700, Scott Moreau wrote: > This effectively eats the keybinding events, as we don't want them sent to > clients. Thanks, as discussed in irc, this is the right fix. PS: Keep commit message lines under 78 characters. Kristian > --- > src/shell.c | 60

Re: [PATCH] Restructure output zoom key handling.

2012-02-24 Thread Kristian Høgsberg
On Fri, Feb 24, 2012 at 12:28 AM, Scott Moreau wrote: > This effectively eats the keybinding events, as we don't want them sent to > clients. That looks much better. But shouldn't we feed the initial up/down key to the zoom_key handler? It looks like we just throw that away now. Kristian > -

[PATCH] Restructure output zoom key handling.

2012-02-23 Thread Scott Moreau
This effectively eats the keybinding events, as we don't want them sent to clients. --- src/shell.c | 60 +++--- 1 files changed, 40 insertions(+), 20 deletions(-) diff --git a/src/shell.c b/src/shell.c index ee71dcc..d949d0c 100644 --- a/src

Re: [RFC v4] Introduce output zoom.

2012-02-23 Thread Scott Moreau
On Thu, Feb 23, 2012 at 3:54 PM, Kristian Hoegsberg wrote: > On Wed, Feb 22, 2012 at 02:21:41PM -0700, Scott Moreau wrote: > > Ideally, we would want to use +Scroll binding but that will > have > > to wait for axis events. For now we just use keybindings. Zoom in/out > with > > Super+Up/Down. > >

Re: [RFC v4] Introduce output zoom.

2012-02-23 Thread Kristian Hoegsberg
On Wed, Feb 22, 2012 at 02:21:41PM -0700, Scott Moreau wrote: > Ideally, we would want to use +Scroll binding but that will have > to wait for axis events. For now we just use keybindings. Zoom in/out with > Super+Up/Down. Applied with a minor edit to really fix the code-before-declaration thing.

[RFC v4] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 68 ++ src/compositor.h | 14 +++ src/shell.c | 4

Output zoom

2012-02-22 Thread Scott Moreau
Fixed the declaration-before-code style error. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[RFC v3] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 66 + src/compositor.h | 14 +++ src/shell.c | 48

Output zoom

2012-02-22 Thread Scott Moreau
Sorry, the last patch had a couple of flaws. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[RFC v2] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 69 ++ src/compositor.h | 14 +++ src/shell.c | 4

Output zoom

2012-02-22 Thread Scott Moreau
Moving pointer near right and bottom edges is choppy due to a bug in the pointer position clipping code, for which I will submit a patch. So far as integer scaling goes, I imagine this wont be necessary once we use +Scroll when we have the means to do so. Nonetheless, it should be easy to implement

Re: [RFC] Introduce output zoom.

2012-02-21 Thread Scott Moreau
2012/2/21 Kristian Høgsberg > On Mon, Feb 20, 2012 at 11:56 PM, Scott Moreau wrote: > > Implement a camera/modelview matrix for transforms to simulate camera > movement. > > Ideally, we would want to use +Scroll but that will have to > wait > > for axis events. For now we use keyboard grabs. Zoo

Re: [RFC] Introduce output zoom.

2012-02-21 Thread Kristian Høgsberg
On Mon, Feb 20, 2012 at 11:56 PM, Scott Moreau wrote: > Implement a camera/modelview matrix for transforms to simulate camera > movement. > Ideally, we would want to use +Scroll but that will have to wait > for axis events. For now we use keyboard grabs. Zoom in/out with > Super+Up/Down. > Zoom

[RFC] Introduce output zoom.

2012-02-20 Thread Scott Moreau
Implement a camera/modelview matrix for transforms to simulate camera movement. Ideally, we would want to use +Scroll but that will have to wait for axis events. For now we use keyboard grabs. Zoom in/out with Super+Up/Down. Zoom area follows mouse pointer. --- src/compositor.c | 41