Re: [PATCH weston v2] configure.ac: use PKG_CHECK_VAR for wayland-protocols

2017-07-07 Thread Olivier Blin
Le 06/07/2017 à 14:49, Olivier Blin a écrit : This allows to override the wayland-protocols pkgdatadir with the WAYLAND_PROTOCOLS_DATADIR environment variable. pkgconfig would return an absolute path in /usr/share/wayland-protocols for the pkgdatadir value, which is not suitable for cross

Re: [PATCH weston] configure.ac: use PKG_CHECK_VAR for wayland-protocols

2017-07-06 Thread Olivier Blin
Le 06/07/2017 à 14:46, Daniel Stone a écrit : Hi Olivier, On 6 July 2017 at 13:28, Olivier Blin wrote: > @@ -208,9 +208,7 @@ fi > PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0]) > PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES]) > > -PKG_CHECK_MODULES(WAYLAND_P

[PATCH weston v2] configure.ac: use PKG_CHECK_VAR for wayland-protocols

2017-07-06 Thread Olivier Blin
This allows to override the wayland-protocols pkgdatadir with the WAYLAND_PROTOCOLS_DATADIR environment variable. pkgconfig would return an absolute path in /usr/share/wayland-protocols for the pkgdatadir value, which is not suitable for cross-compiling. The pkgdatadir is not affected by the PKG_

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-06 Thread Olivier Blin
ink it's still a cleanup that could be merged. Thanks -- Olivier Blin - SoftAtHome ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH weston] configure.ac: use PKG_CHECK_VAR for wayland-protocols

2017-07-06 Thread Olivier Blin
This allows to override the wayland-protocols pkgdatadir with the WAYLAND_PROTOCOLS_DATADIR environment variable. pkgconfig would return an absolute path in /usr/share/wayland-protocols for the pkgdatadir value, which is not suitable for cross-compiling. The pkgdatadir is not affected by the PKG_

[PATCH 0/3] RDP: OpenGL hardware acceleration

2017-07-06 Thread Olivier Blin
-backend.so: OpenGL hardware acceleration Olivier Blin (2): compositor-rdp: fix leak of frame bitmap in raw mode gl-renderer: read PIXMAN_x8r8g8b8 as GL_BGRA_EXT compositor/main.c | 23 +++- configure.ac | 4 +- libweston/compositor-rdp.c | 323

[PATCH 1/3] compositor-rdp: fix leak of frame bitmap in raw mode

2017-07-06 Thread Olivier Blin
In rdp_peer_refresh_raw(), cmd->bitmapData was reallocated, but never freed. The cmd content (actually peer->update->surface_bits_command) was re-initialized to zero at the beginning of the function, losing the pointer to the previously allocated bitmap data. Move the bitmap data in the peer->con

[PATCH 3/3] rdp-backend.so: OpenGL hardware acceleration

2017-07-06 Thread Olivier Blin
From: DRC --- compositor/main.c | 23 +++- configure.ac | 4 +- libweston/compositor-rdp.c | 314 +++-- libweston/compositor-rdp.h | 24 4 files changed, 352 insertions(+), 13 deletions(-) diff --git a/compositor/main.c b/c

[PATCH 2/3] gl-renderer: read PIXMAN_x8r8g8b8 as GL_BGRA_EXT

2017-07-06 Thread Olivier Blin
This is needed by the RDP backend, which uses PIXMAN_x8r8g8b8 for its shadow buffers. --- libweston/gl-renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c index da29b072..b8b120a1 100644 --- a/libweston/gl-renderer.c +++ b/libweston/gl-r

Re: [PATCH libinput] gitignore: ignore compile script generated by automake >= 1.14

2016-01-21 Thread Olivier Blin
16 at 6:53 PM, Peter Hutterer mailto:peter.hutte...@who-t.net>> wrote: On Tue, Jan 19, 2016 at 03:10:21PM +0100, Olivier Blin wrote: > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index 8

[PATCH libinput] gitignore: ignore compile script generated by automake >= 1.14

2016-01-19 Thread Olivier Blin
--- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8893a5f..ba5d0f5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ Makefile Makefile.in aclocal.m4 autom4te.cache/ +compile config.guess config.h config.h.in -- 2.7.0 _

Re: Patchwork upgrade?

2015-09-24 Thread Olivier Blin
Le 24/09/2015 13:26, Damien Lespiau a écrit : On Wed, Sep 23, 2015 at 07:17:20PM +0200, Olivier Blin wrote: > Le 22/09/2015 19:27, Damien Lespiau a écrit : > >On Mon, Jul 27, 2015 at 11:01:43AM -0700, Bryce Harrington wrote: > >> On Mon, Jul 20, 2015 at 11:19:18AM +0100,

Re: Patchwork upgrade?

2015-09-23 Thread Olivier Blin
12/11. That's currently stored in my local Thunderbird folder, but I think I can make a mbox from it. Should I make this available somewhere online? Cheers -- Olivier Blin - SoftAtHome ___ wayland-devel mailing list wayland-deve

[PATCH] gitignore: adpat to scanner and protocol path changes

2014-10-22 Thread Olivier Blin
: Olivier Blin --- .gitignore | 2 +- src/.gitignore | 4 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d9d26ed..4e0f5d9 100644 --- a/.gitignore +++ b/.gitignore @@ -54,5 +54,5 @@ resources-test sanity-test signal-test socket-test -wayland

[PATCH 0/2] clients: crash fixes when interfaces are unavailable

2014-09-16 Thread Olivier Blin
Hello, These small patches fix crashes in clients when some compositor interfaces are not available. This can occur when running the clients together with another compositor than weston, for example QWaylandCompositor without the TextInputExtension flag enabled. Olivier Blin (2): keyboard: do

[PATCH 2/2] editor: do not crash when text input manager is not available

2014-09-16 Thread Olivier Blin
--- clients/editor.c | 5 + 1 file changed, 5 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index 66cba0b..03cf550 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -1359,6 +1359,11 @@ main(int argc, char *argv[]) display_set_user_data(editor.display, &editor);

[PATCH 1/2] keyboard: do not crash when input panel is not available

2014-09-16 Thread Olivier Blin
--- clients/keyboard.c | 5 + 1 file changed, 5 insertions(+) diff --git a/clients/keyboard.c b/clients/keyboard.c index 7c11cec..57f8568 100644 --- a/clients/keyboard.c +++ b/clients/keyboard.c @@ -995,6 +995,11 @@ main(int argc, char *argv[]) display_set_user_data(virtual_keyboard.d

Re: Threading in Wayland

2014-07-17 Thread Olivier Blin
About display_thread, its usage seems to have been removed in 3c7e8bfbb4745315b7bcbf69fa746c3d6718c305 as well (client: Add wl_display_prepare_read() API to relax thread model assumptions) Regards -- Olivier Blin - SoftAtHome -- This message and any attachments herein are confidential, int

[PATCH] client: drop unused event queue cond and list variables

2014-07-17 Thread Olivier Blin
The wl_event_queue cond variable has been replaced by the wl_display reader_cond variable (commit 3c7e8bfbb4745315b7bcbf69fa746c3d6718c305). This cond variable is never waited for anymore, just signaled/broadcasted, and thus can be safely removed. The wl_display event_queue_list can be removed as

Re: SIGBUS when writing to a wl_shm surface on a full tmpfs / ftruncate() vs fallocate()

2013-10-22 Thread Olivier Blin
On 21/10/2013 22:37, Kristian Høgsberg wrote: On Wed, Oct 16, 2013 at 07:29:47PM +0200, Olivier BLIN wrote: > Hi, > > When creating a wl_shm pool with os_create_anonymous_file(), the > underlying storage file is created on a tmpfs, and its size is set > with ftruncate(). > Thou

Re: SIGBUS when writing to a wl_shm surface on a full tmpfs / ftruncate() vs fallocate()

2013-10-17 Thread Olivier BLIN
On 17/10/2013 09:24, Pekka Paalanen wrote: On Wed, 16 Oct 2013 19:29:47 +0200 Olivier BLIN wrote: [...] > Having a small tmpfs is likely a common use in the embedded world, and > it would be nice to avoid such obscure crashes if possible. > What do you think of using falloca

SIGBUS when writing to a wl_shm surface on a full tmpfs / ftruncate() vs fallocate()

2013-10-16 Thread Olivier BLIN
do you think of using fallocate() when supported instead of ftruncate() in wayland/weston? Cheers -- Olivier Blin - SoftAtHome This message and any attachments herein are confidential, intended solely for the addressees and are SoftAtHome.s ownership. Any unauthorized use or dissemination

[PATCH 3/3] scanner: use printf format attributes for desc_dump

2012-10-14 Thread Olivier Blin
--- src/scanner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scanner.c b/src/scanner.c index c09a88f..58f5dc3 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -158,6 +158,9 @@ static const char *indent(int n) } static void +desc_dump(char *desc, const char *fmt, ...) __attrib

[PATCH 2/3] scanner: fix writing i586 descriptions

2012-10-14 Thread Olivier Blin
This moves desc as first argument of desc_dump(). Description writing was broken on i586 because desc_dump() used va_arg() after a vsnprintf() call to find the last argument. But after calling a function with a va_arg argument, this arguments is undefined. --- src/scanner.c | 39 ++

[PATCH 1/3] scanner: remove useless desc_dump arguments

2012-10-14 Thread Olivier Blin
This are remnant from the desc_dump generalization in commit 375cb418. --- src/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.c b/src/scanner.c index 0fc26e7..9696107 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -775,7 +775,7 @@ emit_structs(struct w

wayland scanner writes incorrect descriptions on i586

2012-10-14 Thread Olivier Blin
* @id: (none) +* bind - bind +* @name: name +* @interface: interface +* @version: version +* @id: id * * Binds a new, client-created object to the server using @name * as the identifier. -- Olivi

[PATCH 3/3] gears: add a warning about refresh rate limitation

2012-07-26 Thread Olivier Blin
--- clients/gears.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/gears.c b/clients/gears.c index 19165e7..aee0357 100644 --- a/clients/gears.c +++ b/clients/gears.c @@ -435,6 +435,7 @@ gears_create(struct display *display) gettimeofday(&tv, NULL); gears->last_fps =

Re: [PATCH 2/2] gears: show FPS count (as in glxgears from mesa/demos)

2012-07-25 Thread Olivier BLIN
me with a fullscreen 1080p gears, to check that llvmpipe was performing faster than DRI (using a software fallback on Intel Q35). But I agree that with better performing hardware or drivers, it would not be a good metric. Should I still rework the patch with a warning message? Thanks for the feedback

[PATCH 2/2] gears: show FPS count (as in glxgears from mesa/demos)

2012-07-25 Thread Olivier Blin
--- clients/gears.c | 29 + 1 file changed, 29 insertions(+) diff --git a/clients/gears.c b/clients/gears.c index 70ec86c..19165e7 100644 --- a/clients/gears.c +++ b/clients/gears.c @@ -59,6 +59,8 @@ struct gears { GLint gear_list[3]; int fullscreen;

[PATCH 1/2] gears: add fullscreen support

2012-07-25 Thread Olivier Blin
--- clients/gears.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/clients/gears.c b/clients/gears.c index 166e6a4..70ec86c 100644 --- a/clients/gears.c +++ b/clients/gears.c @@ -58,6 +58,7 @@ struct gears { int last_x, last_y; GLint gear_list[3]; + int fu

[PATCH 2/2] gears: show FPS count (as in glxgears from mesa/demos)

2012-07-25 Thread Olivier Blin
--- clients/gears.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/clients/gears.c b/clients/gears.c index 70ec86c..8e7d4df 100644 --- a/clients/gears.c +++ b/clients/gears.c @@ -59,6 +59,8 @@ struct gears { GLint gear_list[3]; int fullscreen