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

2011-12-16 Thread Bill Spitzak
On 12/16/2011 07:59 AM, Tiago Vignatti wrote: From: Tiago Vignatti I set nearest-neighbor filtering on cairo which gives a better effect when resizing. Images now are scaled-up correctly without ugly black background. Any chance you could report this to Cairo in some more forceful way? I do

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

2011-12-16 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 3/6] toytoolkit: add multitouch support with sample gesture mechanism

2011-12-16 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 | 253 ++ clients/window.h |8 ++ 2 files changed, 26

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

2011-12-16 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 4/6] clients: image: pick random image when no arguments are passed

2011-12-16 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 2/6] compositor: emulates button touches and notifies surfaces accordingly

2011-12-16 Thread Tiago Vignatti
From: Tiago Vignatti Signed-off-by: Tiago Vignatti --- compositor/compositor.c | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index 2c461d8..f9b4575 100644 --- a/compositor

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

2011-12-16 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 --- compositor/compositor.c | 12 compositor/compositor.h |4 + compositor/evdev.c | 158 ++

RFC: multitouch support

2011-12-16 Thread Tiago Vignatti
From: Tiago Vignatti Hi, The RFC comprehends four parts: - evdev multitouch support for direct devices - compositor multitouch events notification - libtoytoolkit gesture recognizer for pinch and zoom - app cairo image example The compositor doesn't keep any touch information and just forwards

[PATCH] Increase closure buffer size and fail gracefully for too big closures.

2011-12-16 Thread Laszlo Agocs
>From 77da041b28c44a8ed19f69e35829722f444e493e Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 16 Dec 2011 10:29:36 +0200 Subject: [PATCH] Increase closure buffer size and fail gracefully for too big closures. Buffer size changed from 256 to 1024 bytes. Marshalling will now stop if the bu

[PATCH] Increase closure buffer size and fail gracefully for too big closures.

2011-12-16 Thread Laszlo Agocs
>From c7f566225ac055a3fc30b1b9a97eef5481a516c0 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 16 Dec 2011 10:29:36 +0200 Subject: [PATCH] Increase closure buffer size and fail gracefully for too big closures. Buffer size changed from 256 to 1024 bytes. Marshalling will now calculate the