Re: [PATCH v6 12/12] Rename gles2-renderer to gl-renderer.

2012-11-13 Thread Kristian Høgsberg
On Tue, Nov 13, 2012 at 07:10:29PM +0100, John Kåre Alsaker wrote: > --- > src/compositor-android.c | 18 ++--- > src/compositor-drm.c | 20 +++--- > src/compositor-rpi.c | 24 +++ > src/compositor-wayland.c | 22 +++--- > src/compositor-x11.c | 14 ++-- > src/gl-renderer.h

Re: 1.0 Branch created

2012-11-13 Thread Tiago Vignatti
Hi, On 10/30/2012 04:51 PM, Kristian Høgsberg wrote: > > The master branch continues to be for 1.0.x releases, as we focus on > improving documentation and fixing bugs a little longer. On 11/09/2012 01:37 PM, Kristian Høgsberg wrote: As for 1.0.1, I'm looking at Nov 19th and as a good date to

Re: [PATCH v6 01/12] Move weston_output EGL state into gles2-renderer.

2012-11-13 Thread Kristian Høgsberg
On Tue, Nov 13, 2012 at 07:10:18PM +0100, John Kåre Alsaker wrote: > This introduces callbacks for output creation and destruction for the > gles2-renderer. This enables the gles2-renderer to have per-output state. EGL > surface creation is now done by the output_create callback and the EGL > su

[PATCH wayland 5/7] doc: Change chapter title to a more descriptive one

2012-11-13 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- doc/Wayland/en_US/Protocol.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Wayland/en_US/Protocol.xml b/doc/Wayland/en_US/Protocol.xml index b5cd7a1..ec6a0a1 100644 --- a/doc/Wayland/en_US/Protocol.xml +++ b/doc/Wayland/en_US/Protoc

[PATCH wayland 7/7] doc: Capitalize all Wayland occurrences

2012-11-13 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- doc/Wayland/en_US/Architecture.xml | 10 +- doc/Wayland/en_US/Book_Info.xml|2 +- doc/Wayland/en_US/Compositors.xml | 12 ++-- doc/Wayland/en_US/Protocol.xml |8 doc/man/wl_display_connect.xml |8 5 f

[PATCH wayland 6/7] doc: Improve "Library" chapter, moving "Types of Compositor" as its section

2012-11-13 Thread Tiago Vignatti
It was added a "Server API" section and "Types of Compositor" was moved there also. I hope this gives a better structure for the documentation. Signed-off-by: Tiago Vignatti --- doc/Wayland/en_US/Compositors.xml | 25 +++-- doc/Wayland/en_US/Library.xml | 27 +

[PATCH wayland 4/7] doc: Rename Overview.xml to Introduction.xml

2012-11-13 Thread Tiago Vignatti
Rename Overview.xml to Introduction.xml, reflecting the previous commit. Organize also Wayland.xml order of the includes. Signed-off-by: Tiago Vignatti --- doc/Wayland/Makefile.am|8 +-- doc/Wayland/en_US/Introduction.xml | 116 doc/Wayland/e

[PATCH wayland 2/7] doc: Set book edition number to the "1"

2012-11-13 Thread Tiago Vignatti
"1" sounds better when we mention about the "first" edition or say the "publishing" edition. If needed, we might want to increase the edition numbers automatically later, for instance based on the micro version of the protocol or something like that. Signed-off-by: Tiago Vignatti --- doc/Waylan

[PATCH wayland 3/7] doc: Improve the first chapter text and definitions

2012-11-13 Thread Tiago Vignatti
In the beginning of the chapter, it was defined what is the so called "X" thing and was removed the "Wayland" and "Weston" definitions cause we're defining later at 1.2 anyway. "Introduction", "Motivation" and "Compositing manager as the display server" names sound better a bit than "Overview", "R

[PATCH wayland 1/7] doc: Add a Foreword and a Preface

2012-11-13 Thread Tiago Vignatti
In particular, the preface defines the scope of this document we're building -- is the definition there enough with respect to what we want with this? Signed-off-by: Tiago Vignatti --- doc/Wayland/Makefile.am|2 ++ doc/Wayland/en_US/Foreword.xml | 29 +

Re: [PATCH] Add libudev-dev to the required dependencies on Raspberry Pi

2012-11-13 Thread Kristian Høgsberg
On Mon, Nov 12, 2012 at 09:43:09AM +0200, Pekka Paalanen wrote: > On Sat, 10 Nov 2012 07:05:09 -0800 > Zan Dobersek wrote: > > > The libudev-dev package is required to build Weston when using > > the Raspbian distribution on the Raspberry Pi. > > --- > > raspberrypi.html |2 +- > > 1 file ch

Re: [PATCH wayland-web 2/2] Building rpi: improve troubleshooting

2012-11-13 Thread Kristian Høgsberg
On Tue, Nov 13, 2012 at 10:29:14AM +0200, Pekka Paalanen wrote: > Make proper sections, clarify, and add a build error. These two and the other wayland-web patch applied. Kristian > Signed-off-by: Pekka Paalanen > --- > raspberrypi.html | 28 > 1 files changed, 2

Re: [PATCH weston] Fix a typo.

2012-11-13 Thread Kristian Høgsberg
On Sun, Nov 11, 2012 at 12:29:01AM -0800, Dima Ryazanov wrote: Oh wow, nice typo. Thanks, fix committed. Kristian > --- > src/evdev-touchpad.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/evdev-touchpad.c b/src/evdev-touchpad.c > index 6a3217b..73c04eb 100644

Re: [PATCH wayland 1/5] doc: Insert \brief doxygen command

2012-11-13 Thread Kristian Høgsberg
On Mon, Nov 12, 2012 at 04:12:24PM -0200, Tiago Vignatti wrote: > On 11/12/2012 01:33 PM, Ran Benita wrote: > >On Mon, Nov 12, 2012 at 10:32:14AM -0200, Tiago Vignatti wrote: > >>Signed-off-by: Tiago Vignatti > > > >Might be easier to just set JAVADOC_AUTOBRIED = YES in the doxygen file? > >Typing

[PATCH v6 12/12] Rename gles2-renderer to gl-renderer.

2012-11-13 Thread John Kåre Alsaker
--- src/compositor-android.c | 18 ++--- src/compositor-drm.c | 20 +++--- src/compositor-rpi.c | 24 +++ src/compositor-wayland.c | 22 +++--- src/compositor-x11.c | 14 ++-- src/gl-renderer.h| 18 ++--- src/gles2-renderer.c | 171 +++-

[PATCH v6 11/12] Move EGL and GL includes to a gles2-renderer header.

2012-11-13 Thread John Kåre Alsaker
--- src/Makefile.am | 1 + src/compositor-android.c | 2 +- src/compositor-drm.c | 1 + src/compositor-rpi.c | 1 + src/compositor-wayland.c | 4 +--- src/compositor-x11.c | 4 +--- src/compositor.h | 27 --- src/gl-renderer.h| 46

[PATCH v6 10/12] Move weston_compositor GL and EGL state into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
--- src/compositor.h | 14 --- src/gles2-renderer.c | 67 ++-- 2 files changed, 39 insertions(+), 42 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index a398a74..2f701c5 100644 --- a/src/compositor.h +++ b/src/compositor.

[PATCH v6 09/12] Move weston_surface GL and EGL state into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
--- src/compositor.c | 2 -- src/compositor.h | 6 src/gles2-renderer.c | 87 +--- 3 files changed, 48 insertions(+), 47 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index bd95e8c..587fded 100644 --- a/src/compositor.

[PATCH v6 08/12] Moved shader state into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
--- src/compositor.h | 18 src/gles2-renderer.c | 116 +++ 2 files changed, 71 insertions(+), 63 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index f66e58d..32a78f5 100644 --- a/src/compositor.h +++ b/src/compositor.h

[PATCH v6 07/12] gles2-renderer: Renaming some functions.

2012-11-13 Thread John Kåre Alsaker
--- src/gles2-renderer.c | 53 ++-- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/src/gles2-renderer.c b/src/gles2-renderer.c index a02cdac..20a34b3 100644 --- a/src/gles2-renderer.c +++ b/src/gles2-renderer.c @@ -642,7 +642,7 @@ us

[PATCH v6 06/12] compositor: Move surface color state to gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
This moves the surface color state into gles2-renderer. To do this it adds two new weston_renderer functions. create_surface to be able to create per-surface renderer state, and surface_set_color to set the color of a surface and changes it to a color surface. --- src/compositor.c | 11

[PATCH v6 05/12] screenshooter: Use the renderer function for reading out pixels

2012-11-13 Thread John Kåre Alsaker
This also changes the compositor's read_format to a pixman format. --- src/compositor.h | 2 +- src/gles2-renderer.c | 4 ++-- src/screenshooter.c | 27 +++ 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index e2d

[PATCH v6 04/12] compositor: Add a renderer function to read out pixels

2012-11-13 Thread John Kåre Alsaker
--- src/compositor.h | 4 src/gles2-renderer.c | 63 src/noop-renderer.c | 10 + 3 files changed, 68 insertions(+), 9 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index e4ba19c..e2dbd0d 100644 --- a/src/compo

[PATCH v6 03/12] Move compositor-wayland border drawing into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
--- src/compositor-wayland.c | 160 +++- src/compositor.h | 3 + src/gles2-renderer.c | 169 +++ 3 files changed, 180 insertions(+), 152 deletions(-) diff --git a/src/compositor-wayland.c b/src/compo

[PATCH v6 02/12] Move EGLConfig, EGLContext and EGLDisplay fields into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
This moves the EGLConfig, EGLContext and EGLDisplay fields into gles2-renderer. It also moves EGLDisplay creation and EGLConfig selection into gles2-renderer. --- src/compositor-android.c | 150 +++ src/compositor-drm.c | 39 ++--- src/compositor-rpi.c

[PATCH v6 01/12] Move weston_output EGL state into gles2-renderer.

2012-11-13 Thread John Kåre Alsaker
This introduces callbacks for output creation and destruction for the gles2-renderer. This enables the gles2-renderer to have per-output state. EGL surface creation is now done by the output_create callback and the EGL surface is stored in the new per-output gles2-renderer state. On the first o

[PATCH wayland-web 2/2] Building rpi: improve troubleshooting

2012-11-13 Thread Pekka Paalanen
Make proper sections, clarify, and add a build error. Signed-off-by: Pekka Paalanen --- raspberrypi.html | 28 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/raspberrypi.html b/raspberrypi.html index 5e8885c..5e04762 100644 --- a/raspberrypi.html +

[PATCH wayland-web 1/2] Building rpi: remove the dummy wayland-egl.pc

2012-11-13 Thread Pekka Paalanen
It's probably more clear to not provide wayland-egl.pc at all, since it would be a complete lie. No EGL Wayland client can work. This requires also --disable-wayland-compositor, but the Wayland backend is an EGL Wayland client, so it cannot work anyway. Reduces the build time a bit, too. Signed-o