Re: [RFC weston 13/16] compositor: Add a function to test if images transformed by a matrix should be bilinearly filtered

2014-09-30 Thread Bill Spitzak
On 09/30/2014 12:35 PM, Derek Foreman wrote: Argh - thanks. Why isn't Z scale relevant? I'm worried about making assumptions about the transformations these matrices represent and having those assumptions violated in the future... For Z not to matter are we assuming projection will always be

Re: [RFC weston 13/16] compositor: Add a function to test if images transformed by a matrix should be bilinearly filtered

2014-09-30 Thread Derek Foreman
Thanks for taking a look! On 26/09/14 05:48 PM, Bill Spitzak wrote: > 90 degree rotation about x or y will require filtering. Yup, you're right. > You test y scale twice, must be a typo. I think you intended to test z, > but in fact z scale is not relevant so you should not test it at all. Argh

Re: [PATCH libinput 0/8] Add libinput_device_suspend() to disable devices

2014-09-30 Thread Bill Spitzak
On 09/11/2014 07:34 AM, Bastien Nocera wrote: I don't like the "Smart disable" as a name because the consumer of the API might only see one device for both the trackpoint and the touchpad in which case you want to disable one-half of it. Or the trackpoint and touchpad are independent but the t

Re: Wayland For Very Large Wall of Screens

2014-09-30 Thread Daniel Stone
Hi, On 30 September 2014 16:44, Jasper St. Pierre wrote: > It's a great question, with a complicated answer. Part of this is the > fault of the DRM kernel interface, which is being improved. Part of it is > the fault of GL/EGL, which really doesn't have proper multi-GPU support. > EGL_EXT_devic

Re: PATCH] Fix new_id(n) arg parse from va list

2014-09-30 Thread Jason Ekstrand
While that looks correct, I'm sure it breaks something. As the person who wrote that code, that choice was very intentional. Even though the protocol type is uint32_t, new_id arguments are always passed into libwayland as either a wl_proxy or wl_resource and that's what this code is designed to h

Re: [PATCH] build: honor results obtained by pkg-config libinput

2014-09-30 Thread sardemff7+wayland
On 2014-09-08 15:03, Jan Engelhardt wrote: The error was: src/libinput-seat.c:30:22: fatal error: libinput.h: No such file or directory --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b2d6893..7f3e5d3 100644 --- a/Makefile.a

Re: PATCH] Fix new_id(n) arg parse from va list

2014-09-30 Thread Jasper St. Pierre
What is this trying to solve? On Mon, Aug 18, 2014 at 11:12 AM, Maks Naumov wrote: > Signed-off-by: Maks Naumov > --- > src/connection.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/connection.c b/src/connection.c > index f292853..13e3a3e 100644 > --- a/src/conn

Re: Wayland For Very Large Wall of Screens

2014-09-30 Thread Jasper St. Pierre
It's a great question, with a complicated answer. Part of this is the fault of the DRM kernel interface, which is being improved. Part of it is the fault of GL/EGL, which really doesn't have proper multi-GPU support. GPUs are exposed through the kernel as /dev/dri/card* devices, with the first GPU

Wayland For Very Large Wall of Screens

2014-09-30 Thread Linux Luser
Xorg has been notorious for it's lack of multi-monitor support. Xinerama was of course shimmed into place to help make one xscreen out of many. Xinerama has had several drawbacks, however, one being performance, which is usually compensated for in the industry by purchasing beefier graphics cards.

HW key event grabbing on Tizen Wayland

2014-09-30 Thread Wang, Yan
Hi, All, Today I checked HW key event grabbing on Tizen. In Tizen X (mobile), libslp-utilx package could do this. (E.g. KEY_MENU/POWER/VOLUME_UP/VOLLUME_DOWN/CAMERA...) But how about in Wayland? In Wayland/Weston upstream, I think libinput could do it because I could see KEY_VOLUME_UP/DOWN,

[PATCH 3/3] doc: Translate doxygen tags to spaces

2014-09-30 Thread Benjamin Herr
Doxygen represents all spacing in code blocks with tags, so these need to be turned back into spaces. Signed-off-by: Benjamin Herr --- doc/publican/doxygen-to-publican.xsl | 4 1 file changed, 4 insertions(+) diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-pub

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 12:57 PM, Giulio Camuffo wrote: > 2014-08-11 13:29 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: >> >>> 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: (top-posting fixed) > 20

[PATCH] build: symbol ck_assert_ptr_ne requires check-0.9.10

2014-09-30 Thread Jan Engelhardt
openSUSE 12.3 ships with check-0.9.9 and subsequently fails to build the tests. Change the call to look for check >= 0.9.10 where that symbol is available. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bb702c0..b3d2446 100644

There is a bad documentation in the website

2014-09-30 Thread Googol
Hi, when I start download the pdf in your website, I found a pdf file can not read any more. I think it is important to the others, though we can still use the html. My system is Windows 7 x64, with Adobe Reader. Here is the address: http://wayland.freedesktop.org/docs/pdf/Documentation-1.1-Wayla

[PATCH 2/3] doc: Mostly use apply-templates over value-of

2014-09-30 Thread Benjamin Herr
xsl:value-of would strip all the nested markup of the selected doxygen elements, so that \ref, \sa and \code formatting didn't actually work. Signed-off-by: Benjamin Herr --- doc/publican/doxygen-to-publican.xsl | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(

Re: [PATCH 2/2] build: use symbol versioning

2014-09-30 Thread Jan Engelhardt
On Thursday 2014-09-11 23:28, Peter Hutterer wrote: >> >> This sounds like a good idea. I have not pushed it yet though because >> I'd want to avoid adding the symbols that will be deprecated in the >> coming release (libinput_device_get_keys and libinput_device_calibrate). > >can we run the symbo

Re: [PATCH 2/2] build: use symbol versioning

2014-09-30 Thread Jan Engelhardt
On Thursday 2014-09-11 22:55, Jonas Ådahl wrote: >On Wed, Sep 10, 2014 at 01:32:25AM +0200, Jan Engelhardt wrote: >> Symbol versions provide a means by which ELF utilities can determine >> whether a program is incompatible with a too-old library version so >> that package management tools can auto

[PATCH] build: use symbol versioning

2014-09-30 Thread Jan Engelhardt
Symbol versions provide a means by which ELF utilities can determine whether a program is incompatible with a too-old library version so that package management tools can autodetect version-based dependencies and suggest upgrade paths. Signed-off-by: Jan Engelhardt --- The name chosen for symbols

libinput: build system, symbol versions

2014-09-30 Thread Jan Engelhardt
The following changes since commit 0647574c46e5e930063ace7b35385213dca33dc1: litest-alps-semi-mt: Fix compiler warnings (2014-09-03 13:33:20 +1000) are available in the git repository at: git://git.inai.de/libinput HEAD for you to fetch changes up to aaa0272d0f2f54b1b6dc9f0596a6ec627540877

Re: [PATCH libinput 0/8] Add libinput_device_suspend() to disable devices

2014-09-30 Thread Bastien Nocera
On Thu, 2014-08-21 at 16:18 +1000, Peter Hutterer wrote: > replying to myself, now that I've had a bit of a think about this all. > > On Wed, Aug 20, 2014 at 01:18:48PM +1000, Peter Hutterer wrote: > > This patchset adds two new API hooks, libinput_device_suspend() and > > libinput_device_resume()

[PATCH 2/2] build: use symbol versioning

2014-09-30 Thread Jan Engelhardt
Symbol versions provide a means by which ELF utilities can determine whether a program is incompatible with a too-old library version so that package management tools can autodetect version-based dependencies and suggest upgrade paths. Signed-off-by: Jan Engelhardt --- src/Makefile.am | 3 +-

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: > 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: >> (top-posting fixed) >>> 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : Dear all, My app has a mainwindow and a QDialog which i

[PATCH libinput] evdev: allow weird multitouch device without slots

2014-09-30 Thread Leonid Borisenko
HID device 'USB HID v1.11 Mouse' provided by Microsoft Wireless Optical Desktop® 2.20 (connected to USB and identified as vendor 0x45e, product 0xe3, version 0x111) is reported as supporting EV_ABS event with ABS_MT_SLOT code, but nevertheless libevdev_get_num_slots returns -1. Furthermore, all co

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: (top-posting fixed) > 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : >> Dear all, >> >> My app has a mainwindow and a QDialog which is a child of mainwindow. And I >> want to set the app to the position 0,0. >> >> I use both setGeometry and move to

[PATCH 1/3] doc: Mark up some code examples

2014-09-30 Thread Benjamin Herr
These blocks were misformatted in normal paragraph style in the generated docs. Also, added \comment{} for comments within one code example. Signed-off-by: Benjamin Herr --- src/wayland-util.h | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/

PATCH] Fix new_id(n) arg parse from va list

2014-09-30 Thread Maks Naumov
Signed-off-by: Maks Naumov --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index f292853..13e3a3e 100644 --- a/src/connection.c +++ b/src/connection.c @@ -492,7 +492,7 @@ wl_argument_from_va_list(const char *signature, u

Re: Xwayland/glamor broken after glamor-next merge

2014-09-30 Thread Markus Wick
Am 2014-09-01 12:10, schrieb Axel Davy: I found a way to fix it, and I remember Markus Wick had written a proper patch. I'm really surprised it is not already merged. I guess you're talking about this one: http://markus.members.selfnet.de/xorg/xwayland.patch iirc it's a bug in mesa as shared

[PATCH] build: honor results obtained by pkg-config libinput

2014-09-30 Thread Jan Engelhardt
The error was: src/libinput-seat.c:30:22: fatal error: libinput.h: No such file or directory --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b2d6893..7f3e5d3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,8 @@ AM_CPPFLA

[PATCH 1/2] build: symbol ck_assert_ptr_ne requires check-0.9.10

2014-09-30 Thread Jan Engelhardt
openSUSE 12.3 ships with check-0.9.9 and subsequently fails to build the tests. Change the call to look for check >= 0.9.10 where that symbol is available. Signed-off-by: Jan Engelhardt --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.

[PATCH] connection: Leave fd open in wl_connection_destroy

2014-09-30 Thread Benjamin Herr
Calling close() on the same file descriptor that a previous call to close() already closed is wrong, and racy if another thread received that same file descriptor as a eg. new socket or actual file. There are two situations where wl_connection_destroy() would close its file descriptor and then ano

Re: Unable to get events from my touchscreen in Weston using libinput

2014-09-30 Thread Pekka Paalanen
On Tue, 30 Sep 2014 11:57:31 +0100 Aurelien Bouin wrote: > Hello, > > Thank you for your answer !! > It was exactly that ! The only way I had to understand what was wrong with > the touch was to add weston_log into src/input.c ... > I feel like weston-calibrator is not really usefull ... Oh ye

Re: Unable to get events from my touchscreen in Weston using libinput

2014-09-30 Thread Aurelien Bouin
Hello, Thank you for your answer !! It was exactly that ! The only way I had to understand what was wrong with the touch was to add weston_log into src/input.c ... I feel like weston-calibrator is not really usefull ... What I actually did to solve my problem was to add a rule to udev into /etc

Re: Unable to get events from my touchscreen in Weston using libinput

2014-09-30 Thread Pekka Paalanen
On Wed, 24 Sep 2014 16:59:44 +0100 Aurelien Bouin wrote: > Hello, > > I am using weston-1.6.0 with wayland-1.6.0 libinput-0.6.0 compiled for ARM > with yocto > When I start weston I can see that the touch is detected in the logs : > """[13:28:20.166] input device 'ADS7846 Touchscreen', /dev/in

Re: [PATCH 8/8] clients: add presentation-shm demo

2014-09-30 Thread Pekka Paalanen
On Tue, 23 Sep 2014 22:08:49 -0400 Louis-Francis Ratté-Boulianne wrote: > From: Pekka Paalanen > > This started as a copy of simple-shm.c before it was converted to > xdg_shell. > > This demo excercises the presentation feedback interface in five > different modes: > > - A continuous repaint