Sorry I CC'ed wayland-devel-request. I have to resend the mail.
I tried this morning. Midori crashed on start. Both midori and
libunique are latest git version.
Backtrace:
Launching command: '/usr/bin/gdb' --batch -ex 'set print thread-events
off' -ex run -ex 'set logging on /run/user/1000/midori
I just noticed the bug for preliminary wayland support was just closed. I
haven't tried it.
http://twotoasts.de/index.php/midori/
http://en.wikipedia.org/wiki/Midori_%28web_browser%29
Bug: https://bugs.launchpad.net/midori/+bug/975355
It's based on WebKitGTK+, so maybe that should work now as w
Pekka Paalanen wrote:
If you wanted this to work also on transformed surfaces, I think you
would need to transform all four corners, and then operate on the
bounding box. When returning the result, account for the boundingbox's
effect on the coordinates.
I do not believe that will result in an
Pekka Paalanen wrote:
To which surface are these values relative to, the parent, or the
hypothetical popup?
The implementation shows the parent surface. Also seems a lot easier for
a client to handle that.
"Distance to the edge" is a bit vague, I'm not sure how to use that
based on this de
Pekka Paalanen wrote:
Triple-buffering is especially for sub-surfaces, where the compositor
may have one wl_buffer busy on screen, and another wl_buffer busy in the
sub-surface cached state due to the synchronized commit mode. To be
able to forcibly repaint at that situation for e.g. resize, we
Vincent Povirk wrote:
When the client receives a mouse-down event, it knows it is in this mode.
The mode is exited when all the mouse buttons are released.
Um, wouldn't this mean that in order to get "normal" cursor behavior
while a button is held down, all clients have to echo the mouse even
Hi Pekka
On Thu, Apr 25, 2013 at 12:57 PM, Pekka Paalanen wrote:
> Add protocol for sub-surfaces, wl_subcompositor as the global interface,
> and wl_subsurface as the per-surface interface extension.
>
> This patch is meant to be reverted, once sub-surfaces are moved into
> Wayland core.
>
> Chan
On Thu, 18 Apr 2013 13:18:05 +0100
Rob Bradford wrote:
> From: Rob Bradford
>
> Implement a basic implementation for returning the visible area in response
> to a
> probe_area request.
>
> v2: Return an object that the event is fired on rather than firing on the
> surface (review from Kristia
Hi Rob,
nice to get back to this. :-)
On Thu, 18 Apr 2013 13:17:47 +0100
Rob Bradford wrote:
> From: Rob Bradford
>
> Add a probe_area request to the wl_shell_surface interface along with a
> visible_area event to communicate the result of the probe.
>
> The intention of this request and eve
On Wed, 24 Apr 2013 10:03:35 -0500
Jason Ekstrand wrote:
> On Wed, Apr 24, 2013 at 9:41 AM, Todd Showalter
> wrote:
>
> > On Wed, Apr 24, 2013 at 2:26 AM, David Herrmann
> > wrote:
> >
> > > I'm currently looking into an interface that provides
> > > file-descriptors for wl_keyboard/wl_mouse fo
On 2013-04-25, at 5:38 AM, Henri Tuhola wrote:
> On Thu, Apr 25, 2013 at 1:29 AM, Todd Showalter wrote:
>>
>> Yes, definitely. Which also leads to the whole device naming
>> question; ie: if someone unplugs a controller and plugs it back in,
>> how do you make sure player 2 stays player 2?
Aids for debugging and inspecting the algorithms.
Signed-off-by: Pekka Paalanen
---
This patch is not essential, but probably useful if anyone needs to
debug that stuff.
---
clients/window.c | 94 ++--
1 file changed, 91 insertions(+), 3 delet
In case a toytoolkit application manages to schedule resizes constantly,
throttle them to the main surface display.
When resizing, all surfaces are updated synchronously, so it also makes
sense to synchronize on the main surface's frame callback particularly.
Rendering any faster will not make sen
Mesa's eglSwapBuffers() waits for the frame event from the previous
swapBuffers, before it returns. Apparently eglSwapInterval(), which
should be able to disable the wait, is unimplemented for now.
When a sub-surface contains an EGL widget, and the commit mode is
synchronized, the frame events wil
Add a demo program with:
- a main surface (green)
- a Cairo-image sub-surface (red)
- a raw GLESv2 widget (triangle)
Sub-surface input region is set empty to avoid problems in toytoolkit.
If Cairo links to libGL, then we will end up with also libGLESv2 linked
to subsurfaces program, and both libs
Add redraw_needed flag to all surfaces, in addition to having one in
window. The window redraw_needed flag is changed to force a redraw of
the whole window, regardless of frame events.
widget_schedule_redraw() now schedules the redraw only for the surface,
where the widget is on. window_schedule_r
The new application API window_add_subsurface() will create a plain
widget that is on a new sub-surface.
The sub-surface position is taken from the surface's root widget
allocation. This way widget allocations are always in the main surface
(i.e. window) coordinates. However, Cairo drawing coordin
Increase the maximum number of shm "leaves" to three, and rewrite the
leaf release and pick algorithms. The new algorithms hopefully improve
on buffer re-use while freeing unused buffers.
The goal of the new release algorithm is to always leave one free leaf
with storage allocated, so that the nex
From: Giulio Camuffo
We must calculate the bounding box of the surface + subsurfaces set and use
that when maximizing the window or going fullscreen.
Signed-off-by: Pekka Paalanen
---
src/shell.c | 89 ++---
1 file changed, 68 insertions(
From: Giulio Camuffo
[pq: changed to weston_surface_get_main_surface(), and used a temporary
variable to clean up the expressions.]
Signed-off-by: Pekka Paalanen
---
src/shell.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/shell.c b/src/shell.c
inde
The shell needs to redirect some actions to the parent surface, when
they originally target a sub-surface. This patch implements the
following:
- Move, resize, and rotate bindings always target the parent surface.
- Opacity (full-surface alpha) binding targets the parent surface. This
is broken
For testing the protocol behaviour only:
- linking a surface to a parent does not fail
- position and placement requests do not fail
- bad linking and arguments do fail
- passing a surface as a sibling from a different set fails
- different destruction sequences do not crash
- setting a surface as
Implement the basic protocol for sub-surfaces:
- expose wl_subcompositor global interface
- error checking on protocol calls
- associate a parent wl_surface to a sub-surface
- introduce the sub-surface role, which is exclusive
- an implementation of the wl_subsurface interface
- allow nesting of su
Add protocol for sub-surfaces, wl_subcompositor as the global interface,
and wl_subsurface as the per-surface interface extension.
This patch is meant to be reverted, once sub-surfaces are moved into
Wayland core.
Changes in v2:
- Rewrite wl_subcompositor.get_subsurface description, and move map
Hi all,
this is the v3 of the sub-surfaces patch series, and it is no longer
an RFC. This means that I consider this series ready for merging into
Weston. The server side sub-surface protocol implementation is feature
complete. Once the protocol is deemed stable, we will move it into
Wayland core.
On Thu, Apr 25, 2013 at 1:29 AM, Todd Showalter wrote:
> On Wed, Apr 24, 2013 at 5:03 PM, Rick Yorgason wrote:
>
> > One thing I would expect a joystick abstraction to do that I don't
> expect a
> > mouse abstraction to do is, if I plug two mice into a system I expect
> them
> > both to control t
On Wed, 24 Apr 2013 23:22:50 -0500
Vincent Povirk wrote:
> I think that for any mouse input "filtering" system to work correctly
> (including pq's proposal), a client needs to inform the compositor
> when ending the grab of the last event that it was interested in
> (normally a mouse up), so the
27 matches
Mail list logo