Re: [PATCH] compositor: Fix compilation without xserver launcher

2012-03-07 Thread Juan Zhao
On 03/08/2012 02:42 AM, Benjamin Franzke wrote: --- src/compositor.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0e33971..96e7fe7 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2561,8 +2561,10 @@ int main(int

Re: [RFC] compositor: Simple key repeat implementation.

2012-03-07 Thread Scott Moreau
On Wed, Mar 7, 2012 at 3:27 PM, Daniel Stone wrote: > Hi, > > On 7 March 2012 22:21, Scott Moreau wrote: > > There's nothing fancy about this, we just set a timer and simulate > > events using states 2 and 3 for repeat-up and repeat-down events. > > Did you think about just using a single event,

Re: [RFC] compositor: Simple key repeat implementation.

2012-03-07 Thread Daniel Stone
Hi, On 7 March 2012 22:21, Scott Moreau wrote: > There's nothing fancy about this, we just set a timer and simulate > events using states 2 and 3 for repeat-up and repeat-down events. Did you think about just using a single event, rather than the separate repeat press/release events? If nothing

[RFC] compositor: Simple key repeat implementation.

2012-03-07 Thread Scott Moreau
There's nothing fancy about this, we just set a timer and simulate events using states 2 and 3 for repeat-up and repeat-down events. --- src/compositor.c | 72 ++ src/compositor.h |5 +++ 2 files changed, 77 insertions(+), 0 deletions(-) d

Patch for compositor-drm.c

2012-03-07 Thread Christopher Michael
Hi All, Attached is a patch which fixes some cleanup issues for the drm-based compositor. Basically, if we fail to allocate space for the crtcs in the compositor, then we need to free the drm mode resources before exiting the create_outputs function. We should also free these resources (in the

[PATCH] compositor: Fix compilation without xserver launcher

2012-03-07 Thread Benjamin Franzke
--- src/compositor.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0e33971..96e7fe7 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2561,8 +2561,10 @@ int main(int argc, char *argv[]) ec->option_idle_time = op

Re: Upside down and backwards

2012-03-07 Thread Mandeep Singh Baines
Kristian Høgsberg (hoegsb...@gmail.com) wrote: > On Mon, Mar 5, 2012 at 2:42 AM, Pekka Paalanen wrote: > > On Sun, 4 Mar 2012 20:37:48 -0800 > > Mandeep Singh Baines wrote: > > > >> Hi, > >> > >> I have recently started playing around with EGL_PLATFORM=drm. Using > >> eglkms.c and compositor-drm.

Re: Upside down and backwards

2012-03-07 Thread Kristian Høgsberg
On Mon, Mar 5, 2012 at 2:42 AM, Pekka Paalanen wrote: > On Sun, 4 Mar 2012 20:37:48 -0800 > Mandeep Singh Baines wrote: > >> Hi, >> >> I have recently started playing around with EGL_PLATFORM=drm. Using >> eglkms.c and compositor-drm.c as examples, I've been able to port some >> simple EGL/GLESv2

Re: [PATCH 3/3] shell: Implement "driver" method of fullsceen.

2012-03-07 Thread Pekka Paalanen
On Wed, 7 Mar 2012 17:01:27 +0800 zhiwen...@linux.intel.com wrote: > From: Alex Wu > > Using the switch_mode hook to change the display mode. > --- > src/shell.c | 34 +- > 1 files changed, 33 insertions(+), 1 deletions(-) > > diff --git a/src/shell.c b/src/s

Re: [PATCH 2/3] compositor-drm: Add switch_mode support.

2012-03-07 Thread David Herrmann
Hi On Wed, Mar 7, 2012 at 10:01 AM, wrote: > From: Alex Wu > > Implement switch_mode hook for drm back end. > --- >  src/compositor-drm.c |  143 > +- >  1 files changed, 142 insertions(+), 1 deletions(-) > > diff --git a/src/compositor-drm.c b/sr

[PATCH 3/3] shell: Implement "driver" method of fullsceen.

2012-03-07 Thread zhiwen . wu
From: Alex Wu Using the switch_mode hook to change the display mode. --- src/shell.c | 34 +- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/src/shell.c b/src/shell.c index 5d2c239..c8cb41e 100644 --- a/src/shell.c +++ b/src/shell.c @@ -121,6 +1

[PATCH 2/3] compositor-drm: Add switch_mode support.

2012-03-07 Thread zhiwen . wu
From: Alex Wu Implement switch_mode hook for drm back end. --- src/compositor-drm.c | 143 +- 1 files changed, 142 insertions(+), 1 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 1b0a9b9..e9583fe 100644 --- a/src/comp

[PATCH 1/3] compositor: Add an switch_mode hook to the output

2012-03-07 Thread zhiwen . wu
From: Alex Wu This allow each output back end to switch the display mode. It is useful to some applications (e.g. fullscreen game, xbmc) --- src/compositor-drm.c |1 + src/compositor-openwfd.c |1 + src/compositor-wayland.c |1 + src/compositor-x11.c |1 + src/compositor.

[PATCH 0/3] Add supporting for driver method of fullscreen

2012-03-07 Thread zhiwen . wu
This patch series implement the "driver" method of fullscreen for drm backend. The following changes since commit 60c4954b8a0667ad5e5f65110d0342b171f3a2a2: shell: Put popups and transients on top of their parent are available in the git repository at: g...@gitorious.org:wayland-for-krh/westo