On Mon, 19 Nov 2012 15:56:23 -0500
Kristian Høgsberg wrote:
> On Mon, Nov 19, 2012 at 03:29:09PM +0200, Pekka Paalanen wrote:
> > Change simple-shm to properly process the wl_buffer.release event, and
> > not reuse a buffer until it is released by the server, as specified in
> > the protocol.
> >
On Tue, 20 Nov 2012 12:34:54 +0530
Abhijit Potnis wrote:
> Hello Henius,
>
>
> On Mon, Nov 19, 2012 at 3:34 PM, Henius Dong wrote:
>
> > Hello Abhijit
> >
> > I saw the topic "Wayland on Embedded" in wayland-devel mailing list. I'm
> > interested in this topic too. But, I'm naive in this topi
Hello Henius,
On Mon, Nov 19, 2012 at 3:34 PM, Henius Dong wrote:
> Hello Abhijit
>
> I saw the topic "Wayland on Embedded" in wayland-devel mailing list. I'm
> interested in this topic too. But, I'm naive in this topic now. So, I write
> a mail to you to see whether you could give me some hint
Compiling weston with --with-cairo-glesv2 makes no difference.
The following is printed by configure for weston:
checking for CAIRO_EGL... no
configure: WARNING: clients will use cairo image, cairo-egl not used
because No package 'cairo-egl' found
No package 'cairo-glesv2' found
Perhaps somet
Hi all,
I just uploaded tarballs and tagged 1.0.1 in the Weston and Wayland
repos. The 1.0.1 releases are maintenance releases and fixes a number
of bugs in 1.0.0. Available from http://wayland.freedesktop.org/releases:
51c3152c85cf0fdf2c555e0e738b0c76ebcc0837 wayland-1.0.1.tar.xz
500682
Hello Abhijit
I saw the topic "Wayland on Embedded" in wayland-devel mailing list. I'm
interested in this topic too. But, I'm naive in this topic now. So, I
write a mail to you to see whether you could give me some hints or not?
Now, I'm going to port the wayland onto freescale iMX6 board. It
On Mon, Nov 19, 2012 at 02:17:52PM -0700, Scott Moreau wrote:
> If simple-egl is toggled fullscreen, the opqaue region is set for the surface
> but never removed after exiting fullscreen. This patch resets the opaque
> region
> to 0 if the surface is not fullscreen and -o was not passed. This fixe
On Mon, Nov 19, 2012 at 10:32:57AM -0200, Tiago Vignatti wrote:
> This patch enables the docbook XML documentation to be built even in the
> absence of the Publican tool. Though, when lacking Publican, no pdf/html/etc
> conversion from XML is performed yet.
We dont want two different documentation
On Mon, Nov 19, 2012 at 1:39 PM, Kristian Høgsberg wrote:
> On Mon, Nov 19, 2012 at 12:10:09PM -0700, Scott Moreau wrote:
> > On Mon, Nov 19, 2012 at 11:36 AM, Bill Spitzak
> wrote:
> >
> > > Scott Moreau wrote:
> > >
> > > Because resize-from-center depends on knowing what edge was actually
> >
If simple-egl is toggled fullscreen, the opqaue region is set for the surface
but never removed after exiting fullscreen. This patch resets the opaque region
to 0 if the surface is not fullscreen and -o was not passed. This fixes the
problem introduced sometime since d7f282b84e, when this was last
On Mon, Nov 19, 2012 at 03:32:50PM +0200, Pekka Paalanen wrote:
> Struct surface_data was not really useful, and it definitely was not
> used with EGL-based windows.
>
> This also fixes a semantic mistake, where struct shm_surface_data was
> put into cairo_surface_t private, but got out as struct
On Mon, Nov 19, 2012 at 03:32:47PM +0200, Pekka Paalanen wrote:
> I do not think these are meant to be called by the applications
> directly. Applications certainly do not have to call them.
These all look good, thanks.
Kristian
> Signed-off-by: Pekka Paalanen
> ---
> clients/window.c |4 +
On Mon, Nov 19, 2012 at 03:29:09PM +0200, Pekka Paalanen wrote:
> Change simple-shm to properly process the wl_buffer.release event, and
> not reuse a buffer until it is released by the server, as specified in
> the protocol.
>
> In case the server has not released the buffer, but signals that it
On Mon, Nov 19, 2012 at 12:10:09PM -0700, Scott Moreau wrote:
> On Mon, Nov 19, 2012 at 11:36 AM, Bill Spitzak wrote:
>
> > Scott Moreau wrote:
> >
> > Because resize-from-center depends on knowing what edge was actually
> >> clicked on, setting both left and right bits simultaneously means that
On Mon, Nov 19, 2012 at 11:00:28AM -0700, Scott Moreau wrote:
> If simple-egl is toggled fullscreen, the opqaue region is set for the surface
> but never removed after exiting fullscreen. This patch resets the opaque
> region
> to 0 if the surface is not fullscreen and -o was not passed. This fixe
On Mon, Nov 19, 2012 at 9:05 PM, Bill Spitzak wrote:
>
>
> John Kåre Alsaker wrote:
>>
>> On Mon, Nov 19, 2012 at 8:32 PM, Bill Spitzak wrote:
>>>
>>> Can somebody explain why compiling weston with the switch
>>> "--with-cairo-glesv2" would perhaps fix the weston clients (I am not at
>>> my
>>> m
It's vital to set SubstructureNotifyMask bit on WM root window and make sure
the X server gets it before any other client is created.
Signed-off-by: Tiago Vignatti
---
src/xwayland/window-manager.c |1 +
1 file changed, 1 insertion(+)
diff --git a/src/xwayland/window-manager.c b/src/xwaylan
From: Daniel Stone
To avoid deadlocks where the X server is blocked on a roundtrip for
information from the compositor, and the compositor is blocked waiting
for connection information from the X server in window manager init,
wait for a signal from the X server saying that it's now waiting for
c
From: Daniel Stone
Signed-off-by: Daniel Stone
Signed-off-by: Tiago Vignatti
---
hw/xfree86/xwayland/xserver.xml|4 +-
hw/xfree86/xwayland/xwayland-cursor.c | 40 ++
hw/xfree86/xwayland/xwayland-drm.c | 40 ++
hw/xfree86/xwayland/xwayland-input.c | 26 +
John Kåre Alsaker wrote:
On Mon, Nov 19, 2012 at 8:32 PM, Bill Spitzak wrote:
Can somebody explain why compiling weston with the switch
"--with-cairo-glesv2" would perhaps fix the weston clients (I am not at my
machine to try this so I don't know if it does). Doesn't that switch *make*
it use
On Mon, Nov 19, 2012 at 8:32 PM, Bill Spitzak wrote:
> Can somebody explain why compiling weston with the switch
> "--with-cairo-glesv2" would perhaps fix the weston clients (I am not at my
> machine to try this so I don't know if it does). Doesn't that switch *make*
> it use EGL rather than havin
Can somebody explain why compiling weston with the switch
"--with-cairo-glesv2" would perhaps fix the weston clients (I am not at
my machine to try this so I don't know if it does). Doesn't that switch
*make* it use EGL rather than having cairo write to the image buffer?
Bill Spitzak wrote:
S
Scott Moreau wrote:
I believe all open drivers should work with drm at this point. There was
a nouveau kernel module bug that was recently fixed. The report can be
found here https://bugs.freedesktop.org/show_bug.cgi?id=54576
Nouveau has a bug that makes x11-compositor very very slow (event-r
On Mon, Nov 19, 2012 at 12:00 PM, Bill Spitzak wrote:
> Pekka Paalanen wrote:
>
> There have been complaints, that current Mesa does not work for
>> software rendering in the Wayland stack, but I don't really know
>> about that. It seems to be an uninteresting topic for Wayland devs
>> (me inclu
On Mon, Nov 19, 2012 at 11:36 AM, Bill Spitzak wrote:
> Scott Moreau wrote:
>
> Because resize-from-center depends on knowing what edge was actually
>> clicked on, setting both left and right bits simultaneously means that both
>> left and right cases will be hit, and whichever sets the offset l
Pekka Paalanen wrote:
There have been complaints, that current Mesa does not work for
software rendering in the Wayland stack, but I don't really know
about that. It seems to be an uninteresting topic for Wayland devs
(me included).
It does sound like https://bugs.freedesktop.org/show_bug.cgi?
Scott Moreau wrote:
Because resize-from-center depends on knowing what edge was actually
clicked on, setting both left and right bits simultaneously means that
both left and right cases will be hit, and whichever sets the offset
last, wins.
You should be able to tell "which" edge by what sid
If simple-egl is toggled fullscreen, the opqaue region is set for the surface
but never removed after exiting fullscreen. This patch resets the opaque region
to 0 if the surface is not fullscreen and -o was not passed. This fixes the
problem introduced sometime since d7f282b84e, when this was last
Listen for wl_buffer.release events in the shm path, and if a previously
posted buffer is still held by the server, allocate another one. The
maximum of two should be enough, since there is no point for a server to
hold more than one buffer at a time.
Buffer allocation happens as needed instead of
After the toysurface rewrite, windows do not have a valid Cairo surface
outside their repaint cycle, so tooltips are not getting their size
right.
Create a dummy Cairo surface only for querying text extents, so we do
not rely on any window surfaces of parent windows or otherwise.
Signed-off-by: P
Signed-off-by: Pekka Paalanen
---
clients/window.c | 43 ---
1 files changed, 24 insertions(+), 19 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index a8c3e3a..a15ac2a 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -494,6 +494,9
Implement shm_surface as a sub-class of toysurface, and unify the
toysurface call sites removing most buffer type specific branching.
Do not destroy and create a surface, if the size does not change.
The resizing optimization of shm surfaces is retained, but the pool is
moved from struct window t
We need more structure to the way we handle the backing storage in
toytoolkit, to make it possible to double-buffer the shm case properly.
The existing buffer handling is very complex with the three
different cases:
- EGLSurface backed Cairo surface with a window associated
- wl_shm backed Cairo su
Nothing uses it to create EGL-surfaces outside of window.c. This makes
refactoring the EGL-based code easier, since we do not need to support
EGL-based Cairo surfaces without an associated struct window.
Signed-off-by: Pekka Paalanen
---
clients/window.c | 20 +---
1 files chan
On Mon, Nov 19, 2012 at 9:21 AM, Pekka Paalanen wrote:
> On Sat, 17 Nov 2012 03:23:54 +0100
> John Kåre Alsaker wrote:
>
>> This adds support for desktop OpenGL which can be enabled by with
>> ./configure --enable-opengl.
>>
>> Most of the differences in API between OpenGL and OpenGL ES is hidden
On 11/19/2012 11:55 AM, Pekka Paalanen wrote:
On Mon, 19 Nov 2012 10:32:59 -0200
Tiago Vignatti wrote:
It provides a simple HTML solution extracted from DocBook. Also now XSLTPROC
is a strong requirement for building all the documentation (which is fair,
because is used for building both man-p
On Mon, Nov 19, 2012 at 9:46 AM, Pekka Paalanen wrote:
> On Sat, 17 Nov 2012 03:23:54 +0100
> John Kåre Alsaker wrote:
>
>> This adds support for desktop OpenGL which can be enabled by with
>> ./configure --enable-opengl.
>>
>> Most of the differences in API between OpenGL and OpenGL ES is hidden
On Mon, Nov 19, 2012 at 9:52 AM, Pekka Paalanen wrote:
> On Sat, 17 Nov 2012 03:23:57 +0100
> John Kåre Alsaker wrote:
>
>> This makes compositing gamma correct by assuming all input surfaces are in
>> the sRGB color space. It can be enabled by setting color-managed to true
>> in the compositor s
On Mon, 19 Nov 2012 10:32:59 -0200
Tiago Vignatti wrote:
> It provides a simple HTML solution extracted from DocBook. Also now XSLTPROC
> is a strong requirement for building all the documentation (which is fair,
> because is used for building both man-pages and the Wayland Manual).
>
> Signed-o
cairo_surface_t objects have a private set, either struct
shm_surface_data, or struct egl_window_surface_data. Use separate
private keys for each type to avoid mismatch.
This makes display_get_buffer_for_surface() safe, in that it won't
return garbage for an EGL-based cairo surface.
Signed-off-by
Struct surface_data was not really useful, and it definitely was not
used with EGL-based windows.
This also fixes a semantic mistake, where struct shm_surface_data was
put into cairo_surface_t private, but got out as struct surface_data
instead. Due to struct layout, however, this did not cause a
Leftovers from
commit f02a649a3ce5735f5a20103fe6f1002b3a421501
Author: Kristian Høgsberg
Date: Mon Mar 12 01:05:25 2012 -0400
Consolidate image loading code and move to shared/
Signed-off-by: Pekka Paalanen
---
clients/window.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-
Not called from any client.
Signed-off-by: Pekka Paalanen
---
clients/window.c |2 +-
clients/window.h |3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index f15e8c1..d82640a 100644
--- a/clients/window.c
+++ b/clients/window.c
@@
I do not think these are meant to be called by the applications
directly. Applications certainly do not have to call them.
Signed-off-by: Pekka Paalanen
---
clients/window.c |4 ++--
clients/window.h |6 --
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/clients/window
Change simple-shm to properly process the wl_buffer.release event, and
not reuse a buffer until it is released by the server, as specified in
the protocol.
In case the server has not released the buffer, but signals that it has
been shown (frame callback), allocate a second buffer. Simple-shm will
On 11/17/2012 12:42 PM, Scott Moreau wrote:
If simple-egl is toggled fullscreen, the opqaue region is set for the surface
but never removed after exiting fullscreen. This patch resets the opaque region
to 0 if the surface is not fullscreen and -o was not passed. This fixes the
problem introduced
Signed-off-by: Tiago Vignatti
---
- this patch wasn't present on v1 but fix one concern raised up by Pekka on
the mailing list.
doc/Wayland/doxygen-to-docbook.xsl |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/Wayland/doxygen-to-docbook.xsl
b/doc/Wayland/doxyg
It provides a simple HTML solution extracted from DocBook. Also now XSLTPROC
is a strong requirement for building all the documentation (which is fair,
because is used for building both man-pages and the Wayland Manual).
Signed-off-by: Tiago Vignatti
---
- changes since v1: now it uses a URL in t
Previously, Publican was auto-generating a file with it and systems that don't
have such tool can't benefit from it. This patch adds our own copy of Legal
Notice.
Signed-off-by: Tiago Vignatti
---
- no changes since v1
doc/Wayland/en_US/Book_Info.xml | 11 ++-
1 file changed, 10 inser
This patch enables the docbook XML documentation to be built even in the
absence of the Publican tool. Though, when lacking Publican, no pdf/html/etc
conversion from XML is performed yet.
Signed-off-by: Tiago Vignatti
---
- no changes since v1
doc/Wayland/Makefile.am | 43
On Sat, 17 Nov 2012 03:23:57 +0100
John Kåre Alsaker wrote:
> This makes compositing gamma correct by assuming all input surfaces are in
> the sRGB color space. It can be enabled by setting color-managed to true
> in the compositor section of weston.ini.
>
> It's implemented by converting from s
On Sat, 17 Nov 2012 03:23:54 +0100
John Kåre Alsaker wrote:
> This adds support for desktop OpenGL which can be enabled by with
> ./configure --enable-opengl.
>
> Most of the differences in API between OpenGL and OpenGL ES is hidden by
> the new gl_renderer fields.
>
> It also accesses GLES2 ex
On Sat, 17 Nov 2012 03:23:55 +0100
John Kåre Alsaker wrote:
> A more vectorized version of the YUV shader, may or may not be faster.
>
> It's also untested...
Hi John,
I would not do this, until you have some performance numbers, or Mesa's
GLSL compiler output showing it indeed is an improveme
On Sat, 17 Nov 2012 03:23:54 +0100
John Kåre Alsaker wrote:
> This adds support for desktop OpenGL which can be enabled by with
> ./configure --enable-opengl.
>
> Most of the differences in API between OpenGL and OpenGL ES is hidden by
> the new gl_renderer fields.
>
> It also accesses GLES2 ex
54 matches
Mail list logo