Re: [PATCH weston 2/4] gles2: update texture only if needed

2012-11-08 Thread Pekka Paalanen
On Thu, 8 Nov 2012 19:20:56 +0100 Samuel Rødal wrote: > On 11/07/2012 03:19 PM, Pekka Paalanen wrote: > > On Wed, 7 Nov 2012 13:27:50 + > > Sundararaj Prabhu-B36876 wrote: > > > >> Wondering whether the extension EGL_KHR_image_pixmap can be used instead > >> of glTex(Sub)Image2D. > >> This

Re: [PATCH 00/15] Hardware keyboard input for input methods

2012-11-08 Thread Kristian Høgsberg
On Mon, Nov 05, 2012 at 03:26:38AM +0100, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Hardware keyboard input allows input methods to grab the keyboard > and process hardware key events to generate text events (with > pre-edit) over the same text_model interface we use for the virtual

Re: [PATCH 06/15] text: Start input method from configuration

2012-11-08 Thread Kristian Høgsberg
On Mon, Nov 05, 2012 at 03:26:44AM +0100, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Start the input method specified in the weston.ini configuration file. > > Signed-off-by: Jan Arne Petersen > --- > src/compositor.c | 2 +- > src/compositor.h | 4 +-- > src/text-backend.c |

Re: [PATCH weston 0/4] Weston for Raspberry Pi

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 12:25:11PM +0200, Pekka Paalanen wrote: > Hi, > > this patch series adds Raspberry Pi support to Weston. It is based on > top of Daniel's xwayland series, which has a couple of fixes I need. > I have a branch ready at > http://cgit.collabora.com/git/user/pq/wayland-demos.gi

Re: [PATCH weston 00/11] XWayland update for 1.0

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:34PM +1100, Daniel Stone wrote: > Hi all, > Here's the somewhat-delayed XWayland update for 1.0. With this and my > updated X server, I've been able to run XWayland just fine under Weston > from current git master. > > The X server tree is at: > git://git.colla

Re: [PATCH weston 1/3] compositor: Add debug key bindings infrastructure

2012-11-08 Thread Kristian Høgsberg
On Thu, Nov 08, 2012 at 05:20:45PM +0200, Ander Conselvan de Oliveira wrote: > Add the concept of debug key bindings, that are bindings that activate > debug features in the compositor. The bindings are added to a list in > the compositor, but the triggering them is left to the shell. > > On the s

Re: [PATCH weston 2/4] gles2: update texture only if needed

2012-11-08 Thread Samuel Rødal
On 11/07/2012 03:19 PM, Pekka Paalanen wrote: On Wed, 7 Nov 2012 13:27:50 + Sundararaj Prabhu-B36876 wrote: Wondering whether the extension EGL_KHR_image_pixmap can be used instead of glTex(Sub)Image2D. This would reduce much of the CPU copying. Do you see any problems? Hi, do you mean

Re: [PATCH weston 2/4] gles2: update texture only if needed

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 12:25:13PM +0200, Pekka Paalanen wrote: > When a surface is on a non-primary plane (overlay), we do not need to > keep the GL texture up-to-date, since we are not using it. Avoid calling > glTex(Sub)Image2D in that case, and accumulate the texture damage > separately. > > T

Re: [PATCH weston 03/11] Prepare smoke for multitouch support

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:37PM +1100, Daniel Stone wrote: > Split motion tracking out into separate handlers so we can have one per > touch. Not sure about this one... doesn't this recompute the entire thing once per touch point? Shouldn't we just inject some randomness per touch point (like

Re: [PATCH weston 10/11] Reset pending surface delta x and y on commit

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:44PM +1100, Daniel Stone wrote: > The following sequence: > wl_surface::attach(s, b, 1, 2) > wl_surface::commit(s) > wl_surface::commit(s) > would actually result in the surface getting moved by (2,4) as the > pending attach delta wasn't reset on comm

Re: [PATCH weston 09/11] Clip surface damage to the surface area

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:43PM +1100, Daniel Stone wrote: > Otherwise glTexSubImage2D will reject our co-ordinates as being out of > bounds. > > Signed-off-by: Daniel Stone > --- > src/compositor.c |5 + > 1 file changed, 5 insertions(+) > > diff --git a/src/compositor.c b/src/compo

Re: [PATCH weston 08/11] SHM: Don't flush damage when there is none

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:42PM +1100, Daniel Stone wrote: > Every single frame, we were calling the flush_damage handler in the > renderer. For GLES2 with subimage, this wasn't too bad as we'd never > call glTexSubImage2D, but without it, we'd upload the entire frame > through glTexImage2D eve

Re: [PATCH weston 05/11] Clients: Don't set the cursor when we have no pointer

2012-11-08 Thread Kristian Høgsberg
On Wed, Nov 07, 2012 at 05:51:39PM +1100, Daniel Stone wrote: > Avoids a segfault whenever we get a key event, and try to set the > cursor, dereferencing a NULL input->pointer. Looks good, and I picked it up for 1.0 as well. Kristian > Signed-off-by: Daniel Stone > --- > clients/window.c |

Re: [PATCH] Add version info to the shared libs

2012-11-08 Thread Kristian Høgsberg
On Tue, Nov 06, 2012 at 03:57:47PM -0800, Mikko Levonmaa wrote: > Adds the wayland version information to the shared libraries. > libwayland-server.so.0.0.0 -> libwayland-server.so.1.0.0 The libtool versioning is different from the pacakge version number. See: http://www.gnu.org/software/libtool/

Re: [PATCH weston] compisitor-x11: Handle --fullscreen better.

2012-11-08 Thread Kristian Høgsberg
On Sun, Nov 04, 2012 at 01:01:22PM -0700, Scott Moreau wrote: > The --fullscreen option effectively does nothing if --width and --height > aren't > manually set to the size of the screen. This handles the size setting and > limits > the output count to one, for fullscreen. There's a fullscreen p

[PATCH weston 3/3] shell: Remove the old repaint debug mode

2012-11-08 Thread Ander Conselvan de Oliveira
This was obsoleted by fan repaint debug. --- src/shell.c | 42 -- 1 file changed, 42 deletions(-) diff --git a/src/shell.c b/src/shell.c index 15c18ea..7d9f415 100644 --- a/src/shell.c +++ b/src/shell.c @@ -135,7 +135,6 @@ struct desktop_shell {

[PATCH weston 2/3] gles2: Add a debug binding for highlighting shaded content

2012-11-08 Thread Ander Conselvan de Oliveira
Pressing mode-shift-space s will cause the fragment shaders to be recompiled, adding a green tint to all composited content. --- src/compositor.h |2 + src/gles2-renderer.c | 156 -- 2 files changed, 116 insertions(+), 42 deletions(-) diff

[PATCH weston 1/3] compositor: Add debug key bindings infrastructure

2012-11-08 Thread Ander Conselvan de Oliveira
Add the concept of debug key bindings, that are bindings that activate debug features in the compositor. The bindings are added to a list in the compositor, but the triggering them is left to the shell. On the shell side, a global debug key binding is added. When the user presses mod-shift-space,