Re: [PATCH weston 0/3] Pointer locking revisited

2014-09-17 Thread Axel Davy
g the lock, and what should be the cursor position when a lock is ended ? Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: Xwayland/glamor broken after glamor-next merge

2014-09-01 Thread Axel Davy
e seeing this? No: https://bugs.freedesktop.org/show_bug.cgi?id=81800 I think Axel Davy (Cc'd) tracked down the problem at some point. Thanks, I need to work on my bug report searching skills... ;-) Boyan Ding in the bug report tracked it down to commit 45ebc4e3fac7f1a8516

Re: [PATCH wayland v2] protocol: try to clarify frame callback semantics

2014-02-22 Thread Axel Davy
amage) with a frame+commit (even with the old buffer not released), to be sure to get current behaviour. I don't think having to do an attach with the old buffer is a good idea, and I favor Pekka's proposition. Axel Davy On 22/02/2014, Jason Ekstrand wrote : Pekka, Sorry this e-ma

Re: [PATCH] xwayland: Destroy wl_buffers only after they are released

2014-02-20 Thread Axel Davy
tation, since my XWayland Present patches are incompatible with yours. Axel Davy On 20/02/2014, Rui Matos wrote : Destroying a wl_buffer that is still attached to a wl_surface is undefined behavior according to the wayland protocol. We should delay the destruction until we get the release event

Re: Core protocol change; [RFC v2] Wayland presentation extension

2014-02-18 Thread Axel Davy
hout an attach, damage, or any other state changes. The frequency at which the frame callbacks are called by the compositor is not defined, but the client can expect it to be similar to the refresh rate if the surface is focused and visible on the screen. Axel Davy ___

Re: [RFC v4] Fullscreen shell protocol

2014-02-14 Thread Axel Davy
/sprite (and should take into account there could be several cursors). Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH] xwayland: Destroy wl_buffers only after they are released

2014-02-11 Thread Axel Davy
-dri3-present Thanks. Axel Davy On 11/02/2014, Rui Matos wrote : Destroying a wl_buffer that is still attached to a wl_surface is undefined behavior according to the wayland protocol. We should delay the destruction until we get the release event. --- So, I'm not sure why there was this co

Re: [RFC v2] Wayland presentation extension (video protocol)

2014-02-10 Thread Axel Davy
; > from the wish to handle resizing better, preferably without > > clearing the buffer queue. > > > > All the changed details are probably too much to describe here, > > so it is maybe better to look at this as a new proposal. It > &

Re: [RFC v2] Wayland presentation extension (video protocol)

2014-02-08 Thread Axel Davy
On 08/02/2014, Axel Davy wrote : Hi, On 08/02/2014, Jason Ekstrand wrote : For each surface with queued content updates and matching main output, the compositor picks the update with the highest timestamp no later than a half frame period after the predicted

Re: [RFC v2] Wayland presentation extension (video protocol)

2014-02-08 Thread Axel Davy
y really want to work that way, why not doing this queue client side? It doesn't need to be done in the compositor. Hope that helps, --Jason Ekstrand Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Fwd: Re: Help compiling mesa/gallium from git!

2014-02-07 Thread Axel Davy
The new mesa you built has no egl_gallium.so (since you have --disable-gallium-egl), but you have not removed the old egl_gallium.so, and it tries to load it, since it is here. Axel Davy Le 07/02/2014 18:30, Bill Spitzak a écrit : In order to try to compile the new xserver for wayland, I

Re: Xserver errors

2014-02-05 Thread Axel Davy
Your bug is likely to be coming from the combination old XWayland/ recent Weston. Try with main xwayland branch and xf86-video-wayland (forget about the outdated things you built) Xwayland is divided in two parts: the Xwayland window manager (weston) and ... Xwayland (in the Xserver) Axel

[PATCH 2/2] Update configure and Makefile to support Present XWayland

2014-01-25 Thread Axel Davy
Signed-off-by: Axel Davy --- configure.ac| 11 +-- hw/xfree86/xwayland/Makefile.am | 2 +- present/Makefile.am | 24 +++- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 052a557

[PATCH 1/2] Initial Present Wayland support

2014-01-25 Thread Axel Davy
Signed-off-by: Axel Davy --- present/present.c | 77 +++ present/present_priv.h| 37 +++ present/present_wayland.c | 240 ++ 3 files changed, 333 insertions(+), 21 deletions(-) create mode 100644 present/present_wayland.c

[PATCH 4/4 v4] Add XWayland API with Present support in mind.

2014-01-25 Thread Axel Davy
The API enables to use the frame event and the buffer event. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/Makefile.am| 1 + hw/xfree86/xwayland/xwayland-events.c | 220 + hw/xfree86/xwayland/xwayland-private.h | 9 ++ hw/xfree86/xwayland/xwayland

[PATCH 1/2] XWAYLAND Present support

2014-01-25 Thread Axel Davy
ile a flip had been done, and it needed a change to the XWayland API change I proposed, that's why I post a new one that is more adapted. Don't hesitate to give comments. Axel Davy (3): Add XWayland API with Present support in mind. Initial Present Wayland support Update configu

[PATCH 4/4 v3] Add XWayland API with Present support in mind.

2014-01-22 Thread Axel Davy
The API enables to use the frame event and the buffer event. Signed-off-by: Axel Davy --- v3: remove the reversal of the frame_todo list, but instead fill it it reverse order. The code has been tested with an experimental XWayland Present support. v2: fix indentation + move a call from patch 1

[PATCH 3/4 v2] Add function to get new fd of the graphic device

2014-01-16 Thread Axel Davy
neccessary for dri3 Signed-off-by: Axel Davy --- v2: fix indentation hw/xfree86/xwayland/xwayland-drm.c | 56 -- hw/xfree86/xwayland/xwayland.h | 3 ++ 2 files changed, 38 insertions(+), 21 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-drm.c b

[PATCH 1/4 v2] Move the wl_buffer from xwl_window to xwl_pixmap

2014-01-16 Thread Axel Davy
This change enables to change the window pixmap, and have xwayland send the correct buffer to the Wayland compositor. Signed-off-by: Axel Davy --- v2: fix indentation and remove a call that had to be in patch 4 hw/xfree86/xwayland/xwayland-drm.c | 10 +++- hw/xfree86/xwayland/xwayland

[PATCH 2/4 v2] Add support to render-nodes.

2014-01-16 Thread Axel Davy
And allows to create wl_buffers from fds instead of gem names. Signed-off-by: Axel Davy --- v2: fix indentation hw/xfree86/xwayland/drm.xml| 45 +- hw/xfree86/xwayland/xwayland-drm.c | 108 + hw/xfree86/xwayland/xwayland-private.h

[PATCH 4/4 v2] Add XWayland API with Present support in mind.

2014-01-16 Thread Axel Davy
The API enables to use the frame event and the buffer event. Signed-off-by: Axel Davy --- v2: fix indentation + move a call from patch 1 to here + add a missing call hw/xfree86/xwayland/Makefile.am| 1 + hw/xfree86/xwayland/xwayland-events.c | 216

[PATCH 2/4] Add support to render-nodes.

2014-01-15 Thread Axel Davy
And allows to create wl_buffers from fds instead of gem names. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/drm.xml| 45 +- hw/xfree86/xwayland/xwayland-drm.c | 106 + hw/xfree86/xwayland/xwayland-private.h | 1 + hw/xfree86

[PATCH 3/4] Add function to get new fd of the graphic device

2014-01-15 Thread Axel Davy
neccessary for dri3 Signed-off-by: Axel Davy --- hw/xfree86/xwayland/xwayland-drm.c | 56 -- hw/xfree86/xwayland/xwayland.h | 3 ++ 2 files changed, 38 insertions(+), 21 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-drm.c b/hw/xfree86/xwayland

[PATCH 1/4] Move the wl_buffer from xwl_window to xwl_pixmap

2014-01-15 Thread Axel Davy
This change enables to change the window pixmap, and have xwayland send the correct buffer to the Wayland compositor. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/xwayland-drm.c | 10 +++- hw/xfree86/xwayland/xwayland-private.h | 10 +++- hw/xfree86/xwayland/xwayland-window.c | 87

[PATCH 0/4][XWayland] New API to support dri3/present

2014-01-15 Thread Axel Davy
to improve DRI2 support. Now they are designed to work for Present support. The code to support Present for XWayland (using this API) is not finished yet. Axel Davy (4): Move the wl_buffer from xwl_window to xwl_pixmap Add support to render-nodes. Add function to get new fd of the graphic

[PATCH 4/4] Add XWayland API with Present support in mind.

2014-01-15 Thread Axel Davy
The API enables to use the frame event and the buffer event. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/Makefile.am| 1 + hw/xfree86/xwayland/xwayland-events.c | 210 + hw/xfree86/xwayland/xwayland-private.h | 8 ++ hw/xfree86/xwayland/xwayland

[PATCH 2/2] Fix XWayland crashes when opening popups

2014-01-12 Thread Axel Davy
Signed-off-by: Axel Davy --- xwayland/window-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index d475e36..1bb9825 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -2214,7 +2214,7

[PATCH 1/2] Fix XWayland transient window location.

2014-01-12 Thread Axel Davy
This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73517 Signed-off-by: Axel Davy --- xwayland/window-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 70c8cf7..d475e36 100644 --- a/xwayland/window

Re: [PATCH weston] compositor: update the transform when attaching a new buffer

2013-12-10 Thread Axel Davy
urface_schedule_repaint(surface); + + surface->pending.newly_attached = 0; } static void Reviewed-by: Axel Davy It would probably need similarly to call weston_view_update_transform and weston_surface_schedule_repaint in weston_view_create in case a buffer is already attache

Re: [PATCH] Add wl_dmabuf protocol

2013-12-03 Thread Axel Davy
to what the server can do. For example you could advertise if the server supports mmap, etc. Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] Flush the wl_display at the end of SwapBuffers

2013-12-03 Thread Axel Davy
We would like the compositor to receive the commited buffer as soon as possible, so it has the time to treat it, and release old ones. We shouldn't rely on the client to flush the queue for us. Signed-off-by: Axel Davy --- We flush the wl_display after we flush the drawable. src/egl/dr

[PATCH Mesa] Enable throttling in SwapBuffers

2013-12-03 Thread Axel Davy
flush_with_flags, when available, allows the driver to throttle. Using this suppress input lag issues that can be observed in heavy rendering situations on non-intel cards. Signed-off-by: Axel Davy --- We must fight input lag, since we can have situations where the sent buffer hasn't

[PATCH v2] Wayland backend: set the opaque region when starting fullscreen

2013-11-17 Thread Axel Davy
The opaque region is not set when we start the nested compositor fullscreen. This patch fixes this. Signed-off-by: Axel Davy --- Jason Ekstrand prefer we use wayland_output_set_fullscreen, which will -besides other things- set the opaque region. src/compositor-wayland.c | 1 + 1 file changed

[PATCH] Wayland backend: set the opaque region when starting fullscreen

2013-11-17 Thread Axel Davy
The opaque region is not set when we start the nested compositor fullscreen. This patch fixes this. Signed-off-by: Axel Davy --- src/compositor-wayland.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index ed3923b..08741d9 100644

Re: [PATCH mesa v5 2/2] wayland: Add support for eglSwapInterval

2013-11-15 Thread Axel Davy
r solution: for example poll a first time with 1ms instead of 10ms, and then if no buffers are free, try again with a poll of 10ms. Why not doing directly another roundtrip? Axel Davy Le 15/11/2013 14:50, Neil Roberts a écrit : The Wayland EGL platform now respects the eglSwapInterval value. Th

Re: [PATCH xwayland 2/3] Check for frame being NULL before setting/unsetting flags

2013-11-15 Thread Axel Davy
I've posted a patch, which prevents wm->focus_window to be a window without frame. This solves the same bug than this patch, but looks better to me. http://lists.freedesktop.org/archives/wayland-devel/2013-November/012008.html Axel Davy Le 15/11/2013 11:25, Axel Davy a écrit : Th

[PATCH] XWayland: do not set wm->focus_window to a window with no frame

2013-11-15 Thread Axel Davy
An unmapped window shouldn't be the input focus. This solves some remaining Weston crashes with XWayland, because we assume wm->focus_window has a frame. Signed-off-by: Axel Davy --- src/xwayland/window-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xwaylan

Re: [PATCH xwayland 2/3] Check for frame being NULL before setting/unsetting flags

2013-11-15 Thread Axel Davy
This patch (Again, I had the same), solves the last bugs for XWayland, but for this one, I'm not sure it is the correct fix. In fact it would mean than focus_window would be an unmapped windows, which looks strange to me. Axel Davy Le 15/11/2013 11:01, Dima Ryazanov a écrit : Fixes a cra

Re: [PATCH xwayland 3/3] Check if the frame exists before reading its size

2013-11-15 Thread Axel Davy
ze and weston_wm_window_get_child_position are called on an unmapped window. In these cases, the decorations are not yet drawn, so we must behave as if there was no decoration. " Correct the commit message ("I don't know if this correct" shouldn't be in), and this is Reviewed-by: Ax

Re: [PATCH xwayland] Set the view to NULL when unmapping an X11 window

2013-11-15 Thread Axel Davy
I've looked deeply in the code to find the remaining xwayland bugs. I'll publish later a fix for these. The remaining bugs are due to accessing to the frame field on unmapped windows. Your patch solves all the issues with the view field. Your patch is tested and Reviewed-by: Axel D

Re: [PATCH xwayland] Set the view to NULL when unmapping an X11 window

2013-11-15 Thread Axel Davy
I have tested your patch, but it doesn't solve all the bugs occuring in XWayland because of views (take vlc, go to the menu, crash). It appears ok to me to set view to NULL at these locations, but there's probably something more to do. Axel Davy On 15/11/2013, Dima Ryazanov wro

Re: [PATCH] xdg-shell - yet another proposal (this time for real).

2013-11-14 Thread Axel Davy
ggest too to be able to change that after creation (ie be able to send a new request to tell to the compositor the client wants to change of mode, and the client would get the back the same event than before, telling him what the compositor wants him to use). Axel Davy Le 07/11/2013 10:32, R

Re: [RFC v.2] Extend wl_surface protocol

2013-11-11 Thread Axel Davy
On 11/11/2013, Pekka Paalanen wrote : Hi Axel On Fri, 08 Nov 2013 23:49:25 +0100 Axel Davy wrote: Hello, I've read carefully your new protocol proposition, but I think it doesn't meet the requirements to implement the X Present extension for XWayland. The problem is that I need

Re: [RFC v.2] Extend wl_surface protocol

2013-11-08 Thread Axel Davy
esentation time, I'll have to use a queue of length one with a requested time of 0. Your spec says it should behave correctly. I'm adding a few comments behind. Axel Davy On 08/11/2013,  Frederic Plourde wrote : Hi,

[PATCH] Do not set output->current_mode in compositor.c

2013-11-08 Thread Axel Davy
The field is already set - correctly - in the backend switch_mode. setting output->current_mode to mode in compositor.c leads to bugs, since mode can be freed by the shell. For example, the shell allocates it on the stack for WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER --- src/compositor.c | 1 - 1

Re: [PATCH] Do not release buffer when it is going to be used again.

2013-11-08 Thread Axel Davy
be the application I tested used WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER, and it seems to be buggy. Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] Do not set output->current_mode in compositor.c

2013-11-08 Thread Axel Davy
The field is already set - correctly - in the backend switch_mode. setting output->current_mode to mode in compositor.c leads to bugs, since mode can be freed by the shell. For example, the shell allocates it on the stack for WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER Signed-off-by: Axel D

[PATCH] Do not release buffer when it is going to be used again.

2013-11-06 Thread Axel Davy
Solve a bug for some fullscreen clients which wouldn't show up. Signed-off-by: Axel Davy --- src/compositor-drm.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 4f015d1..6a2500b 100644 --- a/src/compositor-drm.c

Re: [PATCH] Extend wl_surface protocol [reminder]

2013-11-03 Thread Axel Davy
Thanks for this. I've just realized that using 32 bits ints won't be sufficient. Is there a way in the protocol to have requests with 64 bits int args, and callback with 64 bits int args too? Axel Davy Jiergir Ogoerg wrote : Just a reminder on how clocks differ (on LInux) from o

Re: [PATCH] Extend wl_surface protocol

2013-11-03 Thread Axel Davy
James Courtier-Dutton wrote : Just one question. Which clock is being used. Ideally a monotony one, or even better, a configurable one. We would normally not want these timestamps affected by the user changing the system time. James X calculates ust time with the function GetTickCount.

[PATCH] Extend wl_surface protocol

2013-11-02 Thread Axel Davy
so if you feel some sentence are incorrect, please help me to correct them. Axel Davy (1): Add presentation_time and hit requests to wl_surface. protocol/wayland.xml | 70 +--- 1 file changed, 67 insertions(+), 3 delet

[PATCH] Add presentation_time and hit requests to wl_surface.

2013-11-02 Thread Axel Davy
These two new requests are designed to help video players to synchronize what is displayed on the screen and the audio, and to implement the X Present extension in XWayland. --- protocol/wayland.xml | 70 +--- 1 file changed, 67 insertions(+), 3 dele

Re: [RFC] wl_surface video protocol extension

2013-10-28 Thread Axel Davy
On 28/10/2013, Daniel Stone wrote : For programers having to cope with X and Wayland, and to better support the Present extension, I reiterate my suggestion to do something similar to the X Present extension. Anything in particular? I'm well aware of Present, but am not entirely sure what you'r

Re: [RFC] wl_surface video protocol extension

2013-10-28 Thread Axel Davy
On 28/10/2013, Frederic Plourde wrote : I don't know about current/future driver support for this new GSYNC technology... but you know what, I definitely agree with Pekka as we should get this protocol and basic buffer queuing implementation reviewd and working for the general case for now and

Re: [RFC] wl_surface video protocol extension

2013-10-28 Thread Axel Davy
On Mon, 28 Oct 2013, Pekka Paalanen wrote: The only immediate effect I could see for the protocol proposal is to replace the frequency field in a "monitor refresh rate changed" event with a min and max duration, or whatever that could actually describe how GSYNC affects timings. I don't under

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_fo

Re: [RFC] clients: add simple-dmabuf

2013-10-27 Thread Axel Davy
On 22/10/2013 17:23, David Herrmann wrote : Btw., I got this working with i915 by allowing GEM_OPEN/GEM_FLINK on the render-node. So if someone else tests this, you might need the same hacks. I will try to find the code in mesa that requires this. David This comes from 'intel_region_alloc_for_

Re: Buffer release events (was: Add support for eglSwapInterval)

2013-10-24 Thread Axel Davy
On Wed, 23 Oct 2013, Jason Ekstrand wrote: There may also be a way that we can sidestep the whole issue.  (I suggested this to Axel Davy [mannerov] and it worked for him in his wlglamor DDX.)  The solution is to send a wl_display.sync request immediately after the commit.  This will force

Re: [RFC] wl_surface video protocol extension

2013-10-21 Thread Axel Davy
to suspend, and will resume when it gets the feedbacks. Axel Davy Le 21/10/2013 16:33, James Courtier-Dutton a écrit : Hi, One last thing to consider, regarding the clock used and the timestamps. The video frames should pause during system suspend, and continue

Re: Fwd: Re: [PATCH 0/2] Add New XWayland API

2013-10-19 Thread Axel Davy
a specific time, etc), I think we should start with my new API proposal, and replace it (and dri2 support in the DDX), when we have the materials Wayland side to implement the Present extension. Axel Davy Given the recent discussion on the xorg-devel mailing list, I think this new API shouldn'

Re: Fwd: Re: [PATCH 0/2] Add New XWayland API

2013-10-19 Thread Axel Davy
> On Sat, Oct 19, 2013 at 10:49:04AM +0200, Axel Davy wrote: >> I've tried benchmarking AsyncSwap with the phoronix-test-suite, >> and I was surprised to see a regression with Openarena and Xonotic. >> According to dri devs, it is because, since I do an exchange

Fwd: Re: [PATCH 0/2] Add New XWayland API

2013-10-19 Thread Axel Davy
, it should always be a gain. And since Gnome 3.10 doesn't bypass compositing yet, if I have well understood, then for them it'll always be a performance benefit. Axel Davy The current XWayland API has no functionality to help the DDXs implement ScheduleSwap. This new API proposal intro

Re: [PATCH 1/2] Patch to the Xserver to support AsyncSwap

2013-10-16 Thread Axel Davy
sts.x.org/archives/xorg-devel/2012-November/034446.html> http://lists.x.org/archives/xorg-devel/2013-September/037661.html_ Le 17/10/2013 00:16, Axel Davy a écrit : The patch is a modified version of a Chris Wilson patch of 2011. It makes the X server call AsyncSwap, defined by the DDX, when it

[PATCH 2/2] Add new XWayland API.

2013-10-16 Thread Axel Davy
The new API: .Allows to use the frame event. .Introduces a new object: xwl_buffer, that allow to manipulate the buffer sent to the Wayland compositor. .Allows to use the release event. Signed-off-by: Axel Davy --- hw/xfree86/xwayland/Makefile.am| 2 + hw/xfree86/xwayland/xwayland

[PATCH 1/2] Patch to the Xserver to support AsyncSwap

2013-10-16 Thread Axel Davy
The patch is a modified version of a Chris Wilson patch of 2011. It makes the X server call AsyncSwap, defined by the DDX, when it does a dri2 swap and swap_interval is 0. It allows the DDX to avoid the copy if possible, and reduce tearings. Signed-off-by: Axel Davy --- hw/xfree86/dri2/dri2.c

[PATCH 0/2] Add New XWayland API

2013-10-16 Thread Axel Davy
wl_display used by XWayland. The API introduces a new object: xwl_buffer, which is use to manipulate the buffers linked with Wayland and the buffer exposed by the windows shown to the Wayland compositor. Axel Davy (2): Patch to the Xserver to support AsyncSwap Add new XWayland API. hw

A new XWayland Glamor DDX

2013-09-30 Thread Axel Davy
ode can be found here: https://github.com/axeldavy/xf86-video-wlglamor Axel Davy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH 4/9] output gl repaint in clone mode

2013-09-19 Thread Axel Davy
How does this work if the primary output frequency is more than the clone output? I'm afraid the weston log might become very big after a while when running a such a configuration Axel Davy Le 18/09/2013 05:50, Xiong Zhang a écrit : Only repsone to primary output repaint request; Pr

Re: Absolute coordinates using "wl_shell_surface_set_transient"

2013-09-17 Thread Axel Davy
Yes: http://cgit.freedesktop.org/wayland/weston/commit/?id=ca43f0942e23356a0a0f3e08e4d20a8a31b4d629 Axel Davy On Tue, 17 Sep 2013, Tarnyko wrote: Great ! Do you by chance have the reference of the patch, and know if it's applied on the Wayland, Weston, Xorg... repository ? Regards Axel

[PATCH v3] Restoring alpha after the shell effects.

2013-09-17 Thread Axel Davy
After the fade or zoom effects, alpha could not have been 1.0, preventing not redrawing behind opaque windows. This patch add a reset function in weston_surface_animation to reset some variables the effects affect. Signed-off-by: Axel Davy --- src/animation.c | 24 1

Re: Absolute coordinates using "wl_shell_surface_set_transient"

2013-09-17 Thread Axel Davy
Did you test with git master? There has been a patch recently about this. Axel Davy Le 17/09/2013 10:37, Tarnyko a écrit : Hi Giulio, Bill, We were originally investigating a problem happening when using X/GTK applications under XWayland ; most of the menus appeared badly positioned when

Re: [PATCH weston v2] xwm: set the shell_surface's title

2013-09-16 Thread Axel Davy
oving the mouse at the same time during a few minutes. If I remove the two calls to set_title in XWayland (removing only one doesn't remove the crash), it fixes the crash. Axel Davy On Mon, 16 Sep 2013, Giulio Camuffo wrote: How does it crash? And when doing what? Giulio 2013/9/15

Re: [PATCH weston v2] xwm: set the shell_surface's title

2013-09-15 Thread Axel Davy
This patch makes XWayland often crash for me. Axel Davy Le 11/09/2013 18:20, Giulio Camuffo a écrit : add a new function pointer to the weston_shell_interface struct that shells will set accordingly. --- src/compositor.h | 2 ++ src/shell.c | 11

Re: [PATCH v2] Restoring alpha after the shell effects.

2013-09-12 Thread Axel Davy
better, but I should add too to set surface->alpha to 1.0 for the shell_fade effect and the FADE_OUT parameter. Kristian, what do you like better? Axel Davy Le 12/09/2013 10:27, Giulio Camuffo a écrit : Shouldn't this set the alpha to the target alpha instead of 1? What if i fade fro

[PATCH v2] Restoring alpha after the shell effects.

2013-09-11 Thread Axel Davy
After the fade or zoom effects, alpha could not have been 1.0, preventing not redrawing behind opaque windows. Signed-off-by: Axel Davy --- src/animation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/animation.c b/src/animation.c index 0b2fa95..9603115 100644 --- a/src/animation.c

Re: [PATCH 1/2] wayland: Add support for eglSwapInterval

2013-09-11 Thread Axel Davy
sent is not released and waits for the next frame. If there is only 3 buffers, the client will be without free buffers and blocked in eglSwapBuffers. I may be wrong, but I think the number of back buffers should be set to 4. Axel Davy Le 11/09/2013 20:28, Neil Roberts a écrit : The Wayland

Re: [PATCH] wayland: Add an extension to create wl_buffers from EGLImages

2013-09-11 Thread Axel Davy
ed to check it. Axel Davy Le 09/09/2013 20:39, Neil Roberts a écrit : Is this problem specific to the extension or is it a general problem? Would there not be the same issue if the session compositor wasn't using the extension but was creating textures from the client surfaces instead? Presuma

Re: [PATCH] wayland: Add an extension to create wl_buffers from EGLImages

2013-09-11 Thread Axel Davy
e are on the dedicated card (max performance mode), we need a copy because the clients use tiling: your extension should fail (or do a copy). Axel Davy System compositor: set up wl_drm to import buffers on card A Session compositor: Detects it is on card B and not the card of wl_drm. Crea

Re: [PATCH] wayland: Add an extension to create wl_buffers from EGLImages

2013-09-09 Thread Axel Davy
tiling mode) clients in the session compositor: card B. buffer is created on B, when creating it, tiling was enabled. In this configuration, your function should fail or do a copy (because A won't recognize the tiling mode of B) Axel Davy > This adds an extensio

[PATCH weston] Restore alpha after fade or zoom effect.

2013-09-07 Thread Axel Davy
After these effects, alpha could not have been 1.0, preventing not redrawing behind opaque windows. Signed-off-by: Axel Davy --- src/shell.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index cd94aa5..d7e2d1e 100644 --- a/src