Re: [PATCH xserver] tests: Fix declaration warning in simple-xinit.c

2017-01-03 Thread Peter Hutterer
On Wed, Jan 04, 2017 at 12:08:14PM +0500, Mihail Konev wrote: > Signed-off-by: Mihail Konev > --- > test/simple-xinit.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/test/simple-xinit.c b/test/simple-xinit.c > index 89189a609c19..92a38d4b5319 100644 > --- a/test/simple-xinit.c >

[PATCH xserver] tests: Fix declaration warning in simple-xinit.c

2017-01-03 Thread Mihail Konev
Signed-off-by: Mihail Konev --- test/simple-xinit.c | 5 + 1 file changed, 5 insertions(+) diff --git a/test/simple-xinit.c b/test/simple-xinit.c index 89189a609c19..92a38d4b5319 100644 --- a/test/simple-xinit.c +++ b/test/simple-xinit.c @@ -25,6 +25,11 @@ #include #endif +/* for asprin

[no subject]

2017-01-03 Thread Mihail Konev
Does not use shell script wrappers as v1 did. Fixes protocol-xgetselectedevents crash by cancelling wraps. configure.ac | 2 - test/.gitignore | 12 +-- test/Makefile.am | 157 +-- test/fix

Timings

2017-01-03 Thread Mihail Konev
In mesurements below, caches were warm (i.e. configure; make; make; touch; time make). Speedups are not purely linking ones, as they include non-recursifying the make. CCLD libxservertest.la real0m2.192s user0m1.367s sys 0m0.758s CCLD protocol-xchangedevicecontrol real

[PATCH xserver 4/6] tests: Convert test/ to single binary

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev --- test/.gitignore | 12 +--- test/Makefile.am | 54 ++- test/fixes.c | 4 +++-

[PATCH xserver 6/6] tests: Remove obsolete libxservertest.la

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuilt slightly faster and less verbose. Prevents 'make -j' from not linking test/tests until it links test/libxserver.la In makefile, remove OS_LIB and DIX_LIB to avoid double-inclusion. Also move the libxorgos.la to satisfy li

[PATCH xserver 5/6] tests: Move test/{xi1,xi2}/tests to test/

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Prevents 'make -j' from waiting until last job in xi*/ compeletes. Signed-off-by: Mihail Konev --- configure.ac | 2 -- test/Makefile.am | 62 ++

[PATCH xserver 1/6] tests: Refactor wraps into protocol-common.c

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Prepares for joining test/xi2/protocol-* into a single binary. Signed-off-by: Mihail Konev --- test/xi1/Makefile.am | 3 ++- test/xi1/protocol-xchangedevicecontrol.

[PATCH xserver 3/6] tests: Convert test/xi2/ to single binary

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev --- test/tests.h| 19 test/xi2/.gitignore | 12 + test/xi2/Makefile.am| 84 ++

[PATCH xserver 2/6] tests: Convert test/xi1/ to single binary

2017-01-03 Thread Mihail Konev
Part of refactoring the tests into a single binary, to make partial rebuild slightly faster and less verbose. Signed-off-by: Mihail Konev --- test/tests-common.c | 33 test/tests-common.h | 9 test/tests.h

[PATCH v2 xf86-input-libinput] Add tablet tool area ratio property

2017-01-03 Thread Peter Hutterer
By default, the X server maps the tablet axes to the available screen area. When a tablet is mapped to the screen but has a different aspect ratio than the screen, input data is skewed. Expose an area ratio property to map the a subsection of the available tablet area into the desired ratio. Diffe

Re: [RFC] Visual Class for On-Screen HDR Drawables

2017-01-03 Thread Keith Packard
Fredrik Höglund writes: > The purpose of the masks would then be to describe this conversion, > while the actual memory format would be obtained through the > extension. Sure, although in practice, I'd imagine we'd only bother to expose them only as 8-bit components (so you'd see a 32 bpp depth

Re: [RFC] Visual Class for On-Screen HDR Drawables

2017-01-03 Thread Keith Packard
Adam Jackson writes: > Likewise X11 defines colors as 32-bit integers. For DeepColor visuals > we'd probably need to reinterpret those as if they were TrueColor > representations of the sRGB subset; which is a little weird, since for > all the other visual formats the "color" is the literal pixel

Re: [PATCH v7 xserver] xkb: Match key releases with an overlaid press

2017-01-03 Thread Peter Hutterer
On Wed, Jan 04, 2017 at 07:08:51AM +0500, Mihail Konev wrote: > Testcase: > > In ~/.xbindkeysrc: > "xterm &" >XF86LaunchA > > In ~/ov.xkb: > xkb_keymap { > xkb_keycodes { include "evdev" }; > xkb_types{ include "complete" }; > xkb_compat { include "complete" >

[PATCH v7 xserver] xkb: Match key releases with an overlaid press

2017-01-03 Thread Mihail Konev
Testcase: In ~/.xbindkeysrc: "xterm &" XF86LaunchA In ~/ov.xkb: xkb_keymap { xkb_keycodes { include "evdev" }; xkb_types{ include "complete" }; xkb_compat { include "complete" interpret Overlay1_Enable+AnyOfOrNone(all) { action= SetContro

Re: [PATCH xserver 2/2] xkb: Make overlay_perkey_state a bitfield

2017-01-03 Thread Peter Hutterer
On Mon, Jan 02, 2017 at 04:45:05AM +0500, Mihail Konev wrote: > Signed-off-by: Mihail Konev > --- > include/xkbsrv.h | 3 ++- > xkb/xkbPrKeyEv.c | 10 +++--- > 2 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/include/xkbsrv.h b/include/xkbsrv.h > index c766284d9cf3..7a3e3a4

Re: [PATCH fbdev] Fix shadow fb allocation size

2017-01-03 Thread Keith Packard
Adam Jackson writes: > ->bitsPerPixel is rather obviously eight times too large. Is there no stride value available anywhere? Or has virtualY already been padded out? -- -keith signature.asc Description: PGP signature ___ xorg-devel@lists.x.org: X.

Re: [PATCH fbdev] Fix shadow fb allocation size

2017-01-03 Thread Alex Deucher
On Tue, Jan 3, 2017 at 4:25 PM, Adam Jackson wrote: > ->bitsPerPixel is rather obviously eight times too large. > > Signed-off-by: Adam Jackson Reviewed-by: Alex Deucher > --- > src/fbdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/fbdev.c b/src/fbdev.c > in

[PATCH fbdev] Fix shadow fb allocation size

2017-01-03 Thread Adam Jackson
->bitsPerPixel is rather obviously eight times too large. Signed-off-by: Adam Jackson --- src/fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fbdev.c b/src/fbdev.c index 2c658fe..dbc09bf 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -828,7 +828,7 @@ FBDevScreenIni

[PATCH xserver] tests: Avoid libtool message

2017-01-03 Thread Mihail Konev
The "copying selected object files" message appears as some source files have the same name, and some objects are included twice. Signed-off-by: Mihail Konev --- hw/xfree86/os-support/linux/Makefile.am| 5 - hw/xfree86/ramdac/Makefile.am | 2 +- hw/xfree86/ra

Re: [PATCH xserver 00/10] tests: Use single binary

2017-01-03 Thread Adam Jackson
On Tue, 2017-01-03 at 14:15 +1000, Peter Hutterer wrote: > On Fri, Dec 30, 2016 at 01:30:51PM +0500, Mihail Konev wrote: > > As suggested, speedup partial rebuild by decreasing the number of test > > programs > > that have to be linked. > > aside from my comments in the patches themselves this lo

Re: [PATCH xserver v2 5/5] xwayland: use _XWAYLAND_ALLOW_COMMITS property

2017-01-03 Thread Daniel Stone
Hi, On 2 January 2017 at 22:17, Adam Jackson wrote: > On Fri, 2016-12-09 at 14:24 +0200, Pekka Paalanen wrote: >> The X11 window manager (XWM) of a Wayland compositor can use the >> _XWAYLAND_ALLOW_COMMITS property to control when Xwayland sends >> wl_surface.commit requests. If the property is n

Re: [PATCH xserver v2 5/5] xwayland: use _XWAYLAND_ALLOW_COMMITS property

2017-01-03 Thread Olivier Fourdan
Hi, - Original Message - > On Fri, 2016-12-09 at 14:24 +0200, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > The X11 window manager (XWM) of a Wayland compositor can use the > > _XWAYLAND_ALLOW_COMMITS property to control when Xwayland sends > > wl_surface.commit requests. If the