Re: RFC: multitouch support v2

2011-12-21 Thread Chase Douglas
On 12/21/2011 09:34 AM, Tiago Vignatti wrote: > From: Tiago Vignatti > > Hi, > > Following Kristian suggestions, I updated the patchset with the following: > - driver now accumulates input coordinates to send along touch_down > - updated the protocol touch_down event with surface field, meaning

[PATCH 6/6] clients: image: add touch handler support for resizing

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Signed-off-by: Tiago Vignatti --- clients/image.c | 102 +++ 1 files changed, 102 insertions(+), 0 deletions(-) diff --git a/clients/image.c b/clients/image.c index a1920db..c545e86 100644 --- a/clients/image.c +++ b/cli

[PATCH 5/6] clients: image: use cairo for getting image

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti It caches the image using load_jpeg at initialization and the draw handler does the repaint with the correct size. I set nearest-neighbor filtering on cairo which gives a better effect when resizing. Images now are scaled-up correctly without ugly black background. Signed-o

[PATCH 4/6] clients: image: pick random image when no arguments are passed

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Signed-off-by: Tiago Vignatti --- clients/image.c | 52 ++-- 1 files changed, 50 insertions(+), 2 deletions(-) diff --git a/clients/image.c b/clients/image.c index 13115d2..b12a360 100644 --- a/clients/image.c +++ b/clients

[PATCH 3/6] toytoolkit: add multitouch support with sample gesture mechanism

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Save touch point information, get pinch and zoom gesture and send over to client that register a touch_handler. Signed-off-by: Tiago Vignatti --- clients/window.c | 259 ++ clients/window.h |8 ++ 2 files changed, 26

[PATCH 2/6] compositor: notifies touched surfaces accordingly

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Signed-off-by: Tiago Vignatti --- compositor/compositor.c | 86 +++ compositor/compositor.h |4 ++ 2 files changed, 90 insertions(+), 0 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index 5f549

[PATCH 1/6] evdev: add ABS_MT_* support for direct touch devices

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti This adds support to ABS_MT_* support for direct touch devices and notifies the compositor. The compositor has a stub for now. Signed-off-by: Tiago Vignatti --- As suggested by Kristian, I didn't merge evdev_process_touch with evdev_process_touch_motion because later we'll

[PATCH protocol] protocol: update touch_down with focus surface

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Signed-off-by: Tiago Vignatti --- protocol/wayland.xml |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 0f245e3..2592877 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -466,6 +466,7 @

RFC: multitouch support v2

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti Hi, Following Kristian suggestions, I updated the patchset with the following: - driver now accumulates input coordinates to send along touch_down - updated the protocol touch_down event with surface field, meaning the focus surface of a touch device - compositor now uses