Re: Fwd: [GSoC2014] Call for projects ideas and mentors

2014-02-06 Thread Alexander E. Patrakov
Martin Peres wrote: Re-send to include the wayland and mesa mailing lists. Sorry for the noise Original Message Subject: [GSoC2014] Call for projects ideas and mentors Date: Thu, 06 Feb 2014 01:03:05 +0100 From: Martin Peres martin.pe...@free.fr

Re: Xserver errors

2014-02-06 Thread Bill Spitzak
Got it a little further, but now wayland does not run at all. I was able to compile mesa with the following (adding --with-dri-drivers= --disable-dri3): ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl \ --with-egl-platforms=wayland,x11,drm --enable-gbm \

[PATCH weston 5/6] tests: use the headless backend to run the test suite

2014-02-06 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk Other backends can be used by passing BACKEND=some-backend.so, e.g. $ make check BACKEND=x11-backend.so Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- tests/weston-tests-env | 10 -- 1 file

[PATCH weston 1/6] compositor-headless: create input devices

2014-02-06 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk Fixes a segfault when using compositor-headless for the test suite as many tests assume there are input devices and try to use them through the wl_test interface. Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk ---

[PATCH weston 6/6] tests: Properly report skipped tests

2014-02-06 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk We were calling exit(0) when tests were skipped, which counted them as passed instead of skipped. Fix this by properly exiting with 77 (which is what automake expects for skipped tests) from the tests themselves, then returning 77 again

Re: [PATCH weston 3/6] noop-renderer: Read the shm buffer contents on attach

2014-02-06 Thread Pekka Paalanen
On Thu, 6 Feb 2014 12:30:33 +0100 Emilio Pozuelo Monfort poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk The noop-renderer doesn't read buffer contents, which means bad buffers go undetected. Thus, read the buffer contents just for the purpose of

[PATCH mesa 3/3] Adapt the EGL_WL_create_wayland_buffer_from_image extension for YUV

2014-02-06 Thread Neil Roberts
The eglCreateWaylandBufferFromImageWL function in the extension is modified so that instead of just taking a single image it can now take a set of images. Each EGLImage will represent a plane from a planar image. The overall format for the combined set of images isn't stored in the EGLImages so

[PATCH mesa 1/3] wayland: Keep track of the formats in a sorted array instead of flags

2014-02-06 Thread Neil Roberts
In order to support YUV formats in CreateWaylandBufferFromImageWL we need to be able to check whether the compositor supports a larger number of formats so storing them in flags is a bit awkard. Instead all of the formats are now stored in a sorted array using wl_array. A binary search is used to

Re: [PATCH weston 0/6] Make the headless backend useful again

2014-02-06 Thread Pekka Paalanen
On Thu, 6 Feb 2014 12:30:30 +0100 Emilio Pozuelo Monfort poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk This fixes a few bugs in the headless backend, to the point where it can run the test suite, except for two issues: - the buffer-count is skipped

Re: [PATCH weston 6/6] tests: Properly report skipped tests

2014-02-06 Thread Emilio Pozuelo Monfort
On 06/02/14 12:30, Emilio Pozuelo Monfort wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk We were calling exit(0) when tests were skipped, which counted them as passed instead of skipped. Fix this by properly exiting with 77 (which is what automake expects for skipped

Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-06 Thread Yann E. MORIN
Emilio, All, On 2014-02-03 16:57 +0100, poch...@gmail.com spake thusly: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk The input initialization code assumes the outputs have already been initialized; thus create the outputs first. This fixes a segfault upon startup. It is also

Re: [PATCH libinput 1/6] Store the backend type in the interface

2014-02-06 Thread Jonas Ådahl
On Thu, Feb 06, 2014 at 02:13:05PM +1000, Peter Hutterer wrote: This enables us to prevent callers from calling backend-specific functions on mismatching backends. This can be done instead by comparing the backend interface pointer in struct libinput to the one defined in either path.c or

Re: [PATCH v2 libinput 2/4] Move opening and closing the device fd into evdev.c

2014-02-06 Thread Jonas Ådahl
On Thu, Feb 06, 2014 at 09:20:15AM +1000, Peter Hutterer wrote: evdev_device_remove() already calls close(device-fd). Move the close_restricted call there to avoid one privileged call in the backend and one in the device. And move the open_restricted() into the evdev device too to reduce the

Re: [PATCH libinput 0/6] Add dynamic devices to the path backend

2014-02-06 Thread Jonas Ådahl
On Thu, Feb 06, 2014 at 02:13:04PM +1000, Peter Hutterer wrote: This patchset revamps the path backend to allow for more than one path-based device per context. I thought the initial approach of having one context per device is sufficient but there are a few use-cases that can really only be

[PATCH libinput] Make touch event slots seat wide

2014-02-06 Thread Jonas Ådahl
Since a Wayland compositor have to represent all touch devices of a seat as one virtual device, lets make that easier by making the slots of touch events seat wide unique. Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/evdev.c| 24 +--- src/evdev.h

Re: [PATCH libinput 1/6] Store the backend type in the interface

2014-02-06 Thread Peter Hutterer
On Thu, Feb 06, 2014 at 10:11:34PM +0100, Jonas Ådahl wrote: On Thu, Feb 06, 2014 at 02:13:05PM +1000, Peter Hutterer wrote: This enables us to prevent callers from calling backend-specific functions on mismatching backends. This can be done instead by comparing the backend interface

Re: [PATCH libinput 0/6] Add dynamic devices to the path backend

2014-02-06 Thread Peter Hutterer
On Thu, Feb 06, 2014 at 10:23:57PM +0100, Jonas Ådahl wrote: On Thu, Feb 06, 2014 at 02:13:04PM +1000, Peter Hutterer wrote: This patchset revamps the path backend to allow for more than one path-based device per context. I thought the initial approach of having one context per device is

Re: [RFC] libinput configuration interface

2014-02-06 Thread Eugen Friedrich
Hi together, i would like to put some input from the embedded/ automotive perspective. you can think about huge amount of different configurations for different device types. A lot of configuration in the initial post deals with behavior of buttons and scrolling areas of the touch panels. The