[PATCH] weston: Optimalize wl_fixed_to_double()

2012-05-11 Thread Martin Minarik
According to my test, using multiplication is nearly 4 times faster. Dump of assembler code for function wl_fixed_to_double_old: 0x080483b4 <+0>: push %ebp 0x080483b5 <+1>: mov%esp,%ebp 0x080483b7 <+3>: fildl 0x8(%ebp) 0x080483ba <+6>: fldl 0x80484e0 0x08048

Re: Code sharing between compositors and some anti-FUD (Re: [PATCH weston 0/5] Touchpad support)

2012-05-11 Thread Christopher James Halse Rogers
On Fri, 2012-05-11 at 10:41 +0300, Pekka Paalanen wrote: > On Thu, 10 May 2012 09:45:44 -0700 > Christopher James Halse Rogers > wrote: > > > This brings up something that I've been wondering: what (if anything) is > > the long-term plan for input in Weston - and Wayland compositors in > > genera

[PATCH weston] build: Add glib-2.0 flags when building clients

2012-05-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- It seems pkg-config MAY include glib-2.0 flags for cairo so add a check for it to configure.ac in case it's not. configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9a029f1..c299f81 100644 --- a/con

Code sharing between compositors and some anti-FUD (Re: [PATCH weston 0/5] Touchpad support)

2012-05-11 Thread Pekka Paalanen
On Thu, 10 May 2012 09:45:44 -0700 Christopher James Halse Rogers wrote: > This brings up something that I've been wondering: what (if anything) is > the long-term plan for input in Weston - and Wayland compositors in > general? > > Is Weston going to essentially fold in all the interesting bits