When weston opens a device, why does it use two file descriptors?

2014-07-03 Thread Wang, Quanxian
Hi, When I start weston in drm backend, I have found weston opens the every device with two fds. I am a little confused by that. For example, for keyboard device /dev/input/event5, in device_added, it will open the device. Found it returns fd 34, however fd 35 is also used by this operation(fro

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-09 Thread Wang, Quanxian
Hi, Pq Thanks for your comment and idea. I list several cases for discussion. Case 1: Original: ├── │ B │ └── Action: Move A leftof B ├───┼───┤ │ A │ B │ └───┴───┘ As you said, B must not change, A will have negative coordinates. That is fine. Case 2: Original: ├───┼───┤ │ C │ D │E └───┴──

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-07 Thread Wang, Quanxian
n stays at 0,0. In Weston, window positions are > stored in global coordinates, and to keep windows that were on output A, > still on output A, the position of A must not change. [Wang, Quanxian] This case is a special case, from it, you could not find the principle. Because in this case, you h

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-07 Thread Wang, Quanxian
> -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Wednesday, May 7, 2014 3:41 PM > To: Wang, Quanxian > Cc: Hardening (rdp.eff...@gmail.com); Bryce W. Harrington > (b.harring...@samsung.com); wayland-devel@lists.freedesktop.org; Ja

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-07 Thread Wang, Quanxian
> -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Wednesday, May 7, 2014 2:17 PM > To: Wang, Quanxian > Cc: Hardening (rdp.eff...@gmail.com); Bryce W. Harrington > (b.harring...@samsung.com); wayland-devel@lists.freedesktop.org; Ja

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-06 Thread Wang, Quanxian
o one file. > -Original Message- > From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] > On Behalf Of Pekka Paalanen > Sent: Tuesday, May 6, 2014 5:16 PM > To: Wang, Quanxian > Cc: Hardening (rdp.eff...@gmail.com); Bryce W. Harrington > (b.harring

RE: [Weston] More discussion about weston output relative motion algorithm

2014-05-06 Thread Wang, Quanxian
> -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Tuesday, May 6, 2014 2:36 PM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org; Jason Ekstrand > (ja...@jlekstrand.net); Bryce W. Harrington (b.harring...@samsung.com); > F

RE: help: is there any way to use integer 64 type in protocol?

2014-04-21 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Monday, April 21, 2014 10:29 PM To: Wang, Quanxian Cc: Pekka Paalanen; wayland-devel@lists.freedesktop.org Subject: Re: help: is there any way to use integer 64 type in protocol? On Sun, Apr 20, 2014 at 8:36 PM, Wang, Quanxian

RE: help: is there any way to use integer 64 type in protocol?

2014-04-20 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Monday, April 21, 2014 6:32 AM To: Pekka Paalanen Cc: Wang, Quanxian; wayland-devel@lists.freedesktop.org Subject: Re: help: is there any way to use integer 64 type in protocol? On Sun, Apr 20, 2014 at 1:17 PM, Pekka Paalanen

help: is there any way to use integer 64 type in protocol?

2014-04-20 Thread Wang, Quanxian
Hi, Is there any way to use type of integer 64bit in protocol? Currently I found I could not use 64bit. Any suggestion for that? Only below basic data types are supported in wayland. 254 union wl_argument { 255 int32_t i; /**< signed integer */ 256 uint32_t u; /**< unsigned inte

RE: [Weston] More discussion about weston output relative motion algorithm

2014-04-15 Thread Wang, Quanxian
clone link for that in output structure. The algorithm will be updated with minimal. But it will be easy and based on clone mode design. Thanks Regards Quanxian Wang From: Wang, Quanxian Sent: Wednesday, April 16, 2014 11:26 AM To: wayland-devel@lists.freedesktop.org Cc: Wang, Quanxian

[Weston] More discussion about weston output relative motion algorithm

2014-04-15 Thread Wang, Quanxian
Hi, All Relative motion of output is needed in Weston compositor or others. For example, plugin a monitor, you want move it above or leftof or rightof or below others. More details about this motion algorithm will be shown in the email. Before that, I mention one point, I don't refer any code

RE: [PATCH V3 4/7] Add new mode function in drm backend

2014-04-13 Thread Wang, Quanxian
Sorry to be later. Thanks for your comment. On Wed, 2014-04-09 at 08:36 +0200, Hardening wrote: > Le 08/04/2014 07:03, Quanxian Wang a écrit : > > provide drm_output_new_mode interface to create new mode from > > outsite instead of only from edid or configure. > > > > Signed-off-by: Quanxian Wang

Re: [PATCH V3 0/7] Add weston randr protocol

2014-04-13 Thread Wang, Quanxian
Sorry to be later. Thanks for your comment. On Wed, 2014-04-09 at 08:44 +0200, Hardening wrote: > Le 08/04/2014 07:03, Quanxian Wang a écrit : > > Important Changes compared with V2: > > > > 1) Provide 2 methods to mode match for mode setting and mode delete. > > a) Exact mode number matc

Re: [PATCH V3 5/7] weston:Add the weston randr protocol implementation

2014-04-13 Thread Wang, Quanxian
Sorry to be later. Thanks for your comment. On Wed, 2014-04-09 at 09:59 +0200, Hardening wrote: > Le 08/04/2014 07:03, Quanxian Wang a écrit : > > Signed-off-by: Quanxian Wang > > --- > > module/Makefile.am|3 + > > module/wrandr/Makefile.am | 32 ++ > > module/wrandr/wrandr.c

RE: [PATCH V2 0/8] Add weston randr protocol

2014-04-02 Thread Wang, Quanxian
ter stabilization across the development community. [Wang, Quanxian] I am very interested with these words. What is a proper structure? Is it a whole layout or a xml stature to contain all configuration request? I found you like xml to store all requests. When you want to configure, just generate

RE: [PATCH V2 1/8] wesston: Add weston randr protocol

2014-03-30 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Friday, March 28, 2014 11:00 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH V2 1/8] wesston: Add weston randr protocol > >On Mon, 24 Mar 2014 19:39

RE: weston: weston randr protocol for testing and configuration

2014-03-27 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Thursday, March 27, 2014 9:06 PM >To: Jasper St. Pierre >Cc: Wang, Quanxian; wayland-devel@lists.freedesktop.org >Subject: Re: weston: weston randr protocol for testing and configuration >

RE: weston: weston randr protocol for testing and configuration

2014-03-27 Thread Wang, Quanxian
Note: Take user as developer or admin for weston randr discussion (in the following discussion, I always think user as developer or admin). >-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Thursday, March 27, 2014 6:35 PM >To: Wang, Quanxian

RE: weston: weston randr protocol for testing and configuration

2014-03-26 Thread Wang, Quanxian
t was much more complicated than that, but this is the point in simple >terms. > >So we need something else here to identify a mode. > >Check what kind of protocol GNOME uses, and how current RandR protocol works. [Wang, Quanxian] Hi, Pq Your understanding are right in theory. But in r

RE: weston: weston randr protocol for testing and configuration

2014-03-26 Thread Wang, Quanxian
Thanks, Pq >-Original Message- >From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On >Behalf Of Pekka Paalanen >Sent: Wednesday, March 26, 2014 3:54 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: weston: west

RE: weston: weston randr protocol for testing and configuration

2014-03-25 Thread Wang, Quanxian
Hi, Pq In weston randr v2, I don't include the following question. I am still in confused. Sorry about that. >-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Saturday, March 22, 2014 8:20 PM >To: Wang, Quanxian >Cc: wayland-devel@l

RE: weston: weston randr protocol for testing and configuration

2014-03-22 Thread Wang, Quanxian
March 22, 2014 8:20 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: weston: weston randr protocol for testing and configuration > >Hi > >On Fri, 14 Mar 2014 11:18:48 +0800 >Quanxian Wang wrote: > >> Objective: >> With discussion in

RE: [PATCH 0/3] Add wl_output name event

2014-03-19 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Thursday, March 20, 2014 1:02 AM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Bryce Harrington Subject: Re: [PATCH 0/3] Add wl_output name event Quaxian, I looked over the latest versions, and I think they all look good now

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-18 Thread Wang, Quanxian
From: Wang, Quanxian Sent: Wednesday, March 19, 2014 10:03 AM To: 'Jason Ekstrand' Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org Subject: RE: [PATCH 2/3] weston:Add wl_output name event From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Wednesday, March 19, 20

RE: [PATCH 1/3] wayland: Add wl_output name event

2014-03-18 Thread Wang, Quanxian
>-Original Message- >From: Bryce W. Harrington [mailto:b.harring...@samsung.com] >Sent: Wednesday, March 19, 2014 10:01 AM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org; ja...@jlekstrand.net >Subject: Re: [PATCH 1/3] wayland: Add wl_output name event

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-18 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Wednesday, March 19, 2014 8:55 AM To: Wang, Quanxian Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org Subject: RE: [PATCH 2/3] weston:Add wl_output name event On Mar 16, 2014 5:30 AM, "Wang, Quanxian" mailto:

RE: [PATCH 1/3] wayland: Add wl_output name event

2014-03-18 Thread Wang, Quanxian
>-Original Message- >From: Bryce W. Harrington [mailto:b.harring...@samsung.com] >Sent: Wednesday, March 19, 2014 3:09 AM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org; ja...@jlekstrand.net >Subject: Re: [PATCH 1/3] wayland: Add wl_output name event >

RE: [PATCH 1/6] Add weston randr protocol

2014-03-16 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Friday, March 14, 2014 6:29 PM >To: Wang, Quanxian >Cc: Jasper St. Pierre; Hardening; wayland-devel@lists.freedesktop.org; Zhang, >Xiong Y; Matthias Clasen; Jason Ekstrand >Subject: Re: [

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-16 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Saturday, March 15, 2014 9:10 PM To: Wang, Quanxian Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org Subject: RE: [PATCH 2/3] weston:Add wl_output name event On Mar 15, 2014 4:57 AM, "Wang, Quanxian" mailto:

RE: [PATCH] weston:Send done event with version 2 of wl_output

2014-03-15 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Friday, March 14, 2014 10:58 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org; b.harring...@samsung.com >Subject: Re: [PATCH] weston:Send done event with version 2 of wl_output

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-15 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Saturday, March 15, 2014 3:54 AM To: Wang, Quanxian Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org Subject: Re: [PATCH 2/3] weston:Add wl_output name event On Mar 13, 2014 9:12 PM, "Quanxian Wang" mailto:

RE: [PATCH 1/6] Add weston randr protocol

2014-03-14 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Friday, March 14, 2014 4:13 PM >To: Wang, Quanxian >Cc: Jasper St. Pierre; Hardening; wayland-devel@lists.freedesktop.org; Zhang, >Xiong Y; Matthias Clasen; Jason Ekstrand >Subject: Re: [

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-13 Thread Wang, Quanxian
>-Original Message- >From: Bryce W. Harrington [mailto:b.harring...@samsung.com] >Sent: Friday, March 14, 2014 10:44 AM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org; ppaala...@gmail.com >Subject: Re: [PATCH 2/3] weston:Add wl_output name event > >

RE: [PATCH] weston: Send done event with version 2 of wl_output

2014-03-13 Thread Wang, Quanxian
>-Original Message- >From: Bryce W. Harrington [mailto:b.harring...@samsung.com] >Sent: Friday, March 14, 2014 10:19 AM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] weston: Send done event with version 2 of wl_output > >On Fr

RE: [PATCH 1/6] Add weston randr protocol

2014-03-13 Thread Wang, Quanxian
From: magc...@gmail.com [mailto:magc...@gmail.com] On Behalf Of Jasper St. Pierre Sent: Monday, March 10, 2014 10:42 AM To: Wang, Quanxian Cc: Hardening; wayland-devel@lists.freedesktop.org; Zhang, Xiong Y; Pekka Paalanen; Matthias Clasen; Jason Ekstrand Subject: Re: [PATCH 1/6] Add weston

RE: [PATCH] Bug fix client apps because of output change

2014-03-11 Thread Wang, Quanxian
>-Original Message- >From: wayland-devel-boun...@lists.freedesktop.org >[mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka >Paalanen >Sent: Tuesday, March 11, 2014 4:26 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subj

RE: [PATCH] Bug fix client apps because of output change

2014-03-10 Thread Wang, Quanxian
Thanks. Quanxian >> >binds with version 2 regardless of what the compositor advertised. >> > >> >You can compare to the "desktop_shell" global handling which seems >> >correct. >> [Wang, Quanxian] I will check and update that. The change will b

RE: [PATCH] Bug fix client apps because of output change

2014-03-10 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Monday, March 10, 2014 7:05 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] Bug fix client apps because of output change > >On Mon, 10 Mar 20

RE: [PATCH] Bug fix client apps because of output change

2014-03-10 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Monday, March 10, 2014 5:58 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] Bug fix client apps because of output change > >On Mon, 10 Mar 20

RE: [PATCH] Bug fix client apps because of output change

2014-03-10 Thread Wang, Quanxian
Thanks Pq. Comments below. >-Original Message- >From: wayland-devel-boun...@lists.freedesktop.org >[mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka >Paalanen >Sent: Monday, March 10, 2014 3:47 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.fre

RE: [PATCH] Bug fix client apps because of output change

2014-03-10 Thread Wang, Quanxian
>-Original Message- >From: wayland-devel-boun...@lists.freedesktop.org >[mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka >Paalanen >Sent: Monday, March 10, 2014 3:47 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re

RE: [PATCH 1/6] Add weston randr protocol

2014-03-09 Thread Wang, Quanxian
gt;IIRC depending on the drivers, drm can also set arbitrary modes. [Wang, Quanxian] so, let user set the mode without limitation? Not sure if we should support that. Any comment for this requirement? > > >Regards > >-- >David FORT >website: http://www.hardening-consulting.com/ _

RE: [PATCH 1/6] Add weston randr protocol

2014-03-06 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Friday, March 07, 2014 11:21 AM To: Wang, Quanxian Cc: Hardening; Matthias Clasen; wayland-devel@lists.freedesktop.org; Jasper St. Pierre; Pekka Paalanen Subject: RE: [PATCH 1/6] Add weston randr protocol On Mar 6, 2014 3:05 AM, "

RE: [PATCH] Bug fix client apps because of output change

2014-03-06 Thread Wang, Quanxian
t use another patch which only comment min_allocation of background for testing. This caused the bug I mentioned. Just use previous patch is fine. Thanks Regards Quanxian Wang >-Original Message- >From: Wang, Quanxian >Sent: Friday, March 07, 2014 10:44 AM >

RE: [PATCH] Bug fix client apps because of output change

2014-03-06 Thread Wang, Quanxian
will have some issue. Sorry about that. Regards Quanxian Wang >-Original Message- >From: Wang, Quanxian >Sent: Thursday, March 06, 2014 6:31 PM >To: wayland-devel@lists.freedesktop.org >Cc: ppaala...@gmail.com; Wang, Quanxian >Subject: [PATCH] Bug fix client apps becaus

RE: [PATCH] Bug fix client apps because of output change

2014-03-06 Thread Wang, Quanxian
Hi, Pq >> >>Is there a reason why the background window does not need the >>min_allocation changed? >[Wang, Quanxian] With testing, this doesn't make error. Let me double check >that. [Wang, Quanxian] According to the logic, we need set the min_allocation

RE: [PATCH] Bug fix client apps because of output change

2014-03-06 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Thursday, March 06, 2014 4:42 PM >To: Wang, Quanxian >Cc: wayland-devel@lists.freedesktop.org >Subject: Re: [PATCH] Bug fix client apps because of output change > >On Thu, 6 Mar 2014

RE: [PATCH 1/6] Add weston randr protocol

2014-03-06 Thread Wang, Quanxian
t;From: wayland-devel-boun...@lists.freedesktop.org >[mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka >Paalanen >Sent: Thursday, March 06, 2014 4:25 PM >To: Wang, Quanxian >Cc: Hardening; Jasper St. Pierre; Matthias Clasen; >wayland-devel@lists.freedesk

RE: [PATCH 1/6] Add weston randr protocol

2014-03-05 Thread Wang, Quanxian
; Wang, Quanxian Subject: Re: [PATCH 1/6] Add weston randr protocol On Mar 5, 2014 4:27 AM, "Pekka Paalanen" mailto:ppaala...@gmail.com>> wrote: > > On Wed, 5 Mar 2014 09:24:34 + > "Wang, Quanxian" mailto:quanxian.w...@intel.com>> > wrote:

RE: [PATCH 1/6] Add weston randr protocol

2014-03-05 Thread Wang, Quanxian
happy with something that works for your specific use case only? [Wang Quanxian]not happy, really not happy. I like what I do is helpful for everyone. - Do you want to establish a universal standard, i.e. get this into Wayland core? If so, why? [Wang Quanxian] No, it lives with compositor.

RE: [PATCH 1/6] Add weston randr protocol

2014-03-05 Thread Wang, Quanxian
>-Original Message- >From: Pekka Paalanen [mailto:ppaala...@gmail.com] >Sent: Wednesday, March 05, 2014 6:04 PM >To: Wang, Quanxian >Cc: Jasper St. Pierre; Jason Ekstrand; Hardening; Matthias Clasen; >wayland-devel@lists.freedesktop.org; Zhang, Xiong Y >Subject

RE: [PATCH 1/6] Add weston randr protocol

2014-03-05 Thread Wang, Quanxian
even knowing why everything suddenly went ugly. [Wang, Quanxian] For this, if you think it is disaster because of mode setting. It is a pity. If the apps designer is careful, layout should be consistent with width or height of output. In my testing for randr protocol, I found window is designed to

RE: [PATCH 1/6] Add weston randr protocol

2014-03-04 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Wednesday, March 05, 2014 11:56 AM To: Wang, Quanxian Cc: Hardening; Matthias Clasen; wayland-devel@lists.freedesktop.org; Zhang, Xiong Y; Pekka Paalanen; Jasper St. Pierre Subject: RE: [PATCH 1/6] Add weston randr protocol Quanxian, I

RE: [PATCH 1/6] Add weston randr protocol

2014-03-04 Thread Wang, Quanxian
; Wang, Quanxian Subject: Re: [PATCH 1/6] Add weston randr protocol I'd also say that in the automotive case, you *don't* want arbitrary modesetting. The user of the infotainment system in your Land Rover will not want to change the display resolution from 800x600 to 1024x768; she won

RE: [PATCH 1/6] Add weston randr protocol

2014-03-04 Thread Wang, Quanxian
From: wayland-devel-boun...@lists.freedesktop.org [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Jasper St. Pierre Sent: Wednesday, March 05, 2014 10:53 AM To: Wang, Quanxian Cc: Hardening; Matthias Clasen; wayland-devel@lists.freedesktop.org; Pekka Paalanen; Jason Ekstrand

RE: [PATCH 1/6] Add weston randr protocol

2014-03-04 Thread Wang, Quanxian
ce,1, action); wl_randr_send_action_done(randr_resource, 1<mailto:ppaala...@gmail.com] Sent: Thursday, February 27, 2014 5:45 PM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 1/6] Add weston randr protocol On Thu, 27 Feb 2014 09:15:55 + "Wa

RE: [PATCH 0/6] Add weston randr protocol

2014-02-27 Thread Wang, Quanxian
s some have changed their mind since. [Wang, Quanxian] Got it, Thanks. Ahaha. Seems we really need the access control mechanism to make it happen. After all, it should be a good tool from my viewpoint. Regards. -- David FORT website: http://www.hardening-consulting.com/ _

RE: [PATCH 1/6] Add weston randr protocol

2014-02-27 Thread Wang, Quanxian
-Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Thursday, February 27, 2014 5:45 PM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 1/6] Add weston randr protocol On Thu, 27 Feb 2014 09:15:55 + "

RE: [PATCH 1/6] Add weston randr protocol

2014-02-27 Thread Wang, Quanxian
-Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Thursday, February 27, 2014 4:36 PM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 1/6] Add weston randr protocol On Thu, 27 Feb 2014 08:06:23 + "

RE: [PATCH 1/6] Add weston randr protocol

2014-02-27 Thread Wang, Quanxian
-Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Thursday, February 27, 2014 3:28 PM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 1/6] Add weston randr protocol On Thu, 27 Feb 2014 11:28:00 +0800 Quanxian Wang

RE: [PATCH 0/6] Add weston randr protocol

2014-02-26 Thread Wang, Quanxian
Thanks Pq and Jason's comment. Regards Quanxian Wang -Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Thursday, February 27, 2014 3:08 PM To: Wang, Quanxian Cc: Jason Ekstrand; Kristensen, Kristian H; Zhang, Xiong Y; wayland-devel@lists.freedeskto

RE: [PATCH 0/6] Add weston randr protocol

2014-02-26 Thread Wang, Quanxian
At least it should be in display server level. Thanks Regards Quanxian Wang From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Thursday, February 27, 2014 11:29 AM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 0/6] Add weston randr prot

RE: [PATCH 0/6] Add weston randr protocol

2014-02-26 Thread Wang, Quanxian
From: Jason Ekstrand [mailto:ja...@jlekstrand.net] Sent: Thursday, February 27, 2014 11:29 AM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org; Zhang, Xiong Y Subject: Re: [PATCH 0/6] Add weston randr protocol Quanxian, I haven't looked through the code line-by-line, but I do h

RE: Is there any way to let compositor set the data in client space and then return back to client?

2014-02-09 Thread Wang, Quanxian
From: magc...@gmail.com [mailto:magc...@gmail.com] On Behalf Of Jasper St. Pierre Sent: Monday, February 10, 2014 10:00 AM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org Subject: Re: Is there any way to let compositor set the data in client space and then return back to client

RE: Is there any way to let compositor set the data in client space and then return back to client?

2014-02-09 Thread Wang, Quanxian
Thanks pq. It is helpful for me. I will have a try with your idea. :) -Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Saturday, February 08, 2014 5:56 PM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org Subject: Re: Is there any way to let compositor

RE: Is there any way to let compositor set the data in client space and then return back to client?

2014-02-09 Thread Wang, Quanxian
From: magc...@gmail.com [mailto:magc...@gmail.com] On Behalf Of Jasper St. Pierre Sent: Sunday, February 09, 2014 12:23 AM To: Wang, Quanxian Cc: wayland-devel@lists.freedesktop.org Subject: Re: Is there any way to let compositor set the data in client space and then return back to client

Is there any way to let compositor set the data in client space and then return back to client?

2014-02-08 Thread Wang, Quanxian
Hi, All I want to allocate some space in client, and let compositor set some data in this space and then return back to client. It seems like user data mechanism. Any way to implement that? Thanks Regards Quanxian Wang ___ wayland-devel mailing li

RE: how to run subsurface-test?

2013-06-24 Thread Wang, Quanxian
Thanks for your information. -Original Message- From: wayland-devel-bounces+quanxian.wang=intel@lists.freedesktop.org [mailto:wayland-devel-bounces+quanxian.wang=intel@lists.freedesktop.org] On Behalf Of Pekka Paalanen Sent: Monday, June 24, 2013 6:01 PM To: Wang, Quanxian Cc

RE: How to create pixmap or pixmap surface in wayland?

2013-02-10 Thread Wang, Quanxian
Pq, thanks so much. It is very nice to get great suggestion. > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Friday, February 08, 2013 6:34 PM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: How to creat

RE: How to create pixmap or pixmap surface in wayland?

2013-02-07 Thread Wang, Quanxian
:ppaala...@gmail.com] > Sent: Thursday, February 07, 2013 6:05 PM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: How to enable Wayland when original software support X? > > On Thu, 7 Feb 2013 03:30:48 + > "Wang, Quanxian" wrote: > &g

RE: How to enable Wayland when original software support X?

2013-02-06 Thread Wang, Quanxian
Thanks pq. > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Wednesday, February 06, 2013 7:34 PM > To: Wang, Quanxian > Subject: Re: How to enable Wayland when original software support X? > > > > I don't really see the &q

How to enable Wayland when original software support X?

2013-02-05 Thread Wang, Quanxian
Hi, All I like to get some comment from you. I am planning to enable wayland webgl support in webkit-efl. Basically they support X. With the update, I will not change the original mechanism and just translate X operation to wayland operation. I think more and more developers will come across s

RE: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Wang, Quanxian
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Thursday, September 06, 2012 10:31 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org; Guo, Chaohong; Bradford, Robert > Subject: Re: [PATCH] compositor: fix overflow is

RE: [PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-05 Thread Wang, Quanxian
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Thursday, September 06, 2012 3:28 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org; Guo, Chaohong; Bradford, Robert > Subject: Re: [PATCH] compositor: fix overflow is

[PATCH] compositor: fix overflow issue when calculate msecs of vblank

2012-09-04 Thread Wang, Quanxian
>From "Quanxian Wang" mailto:quanxian.w...@intel.com>> commit f7b156cef1ed8081df6f25cc0e66c8d7fbf414fc Author: Wang Quanxian Date: Wed Sep 5 11:30:38 2012 +0800 Change int to long to avoid the overflow when calculation vblank msecs secs and nsecs are from vblank e

RE: [PATCH] Do not set dpms to standby which cause system could not be resotred when system is locked at the second time.

2012-08-29 Thread Wang, Quanxian
This patch is invalid. It is special platform issue. sorry From: wayland-devel-bounces+quanxian.wang=intel@lists.freedesktop.org [mailto:wayland-devel-bounces+quanxian.wang=intel@lists.freedesktop.org] On Behalf Of Wang, Quanxian Sent: Friday, August 24, 2012 7:00 PM To: wayland-devel

RE: [PATCH] Do not set dpms to standby which cause system could not be resotred when system is locked at the second time.

2012-08-24 Thread Wang, Quanxian
Could not resotred the system. Sorry _ From: Wang, Quanxian Sent: Friday, August 24, 2012 6:57 PM To: wayland-devel@lists.freedesktop.org Cc: Wang, Quanxian Subject: [PATCH] Do not set dpms to standby which cause system could be

[PATCH] Do not set dpms to standby which cause system could be resotred when system is locked at the second time.

2012-08-24 Thread Wang, Quanxian
Reproduce this: 1) Weston -i1 and after 1 second, the system go into idle and wait a little while, go to lock status 2) Press key and the screen is fine 3) After 1 second, system go to idle and wait a little while, go to lock status again 4) Whatever you press any key or mouse

RE: mode issue about no EDID and first mode when weston start

2012-07-31 Thread Wang, Quanxian
Got it. Thanks Quanxian Wang > -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Wednesday, August 01, 2012 7:52 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: mode issue about no EDID and first mode

RE: bug fix inactive encoder when weston restart

2012-07-30 Thread Wang, Quanxian
Thanks for your review and your changes. > -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Tuesday, July 31, 2012 6:15 AM > To: Wang, Quanxian > Cc: wayland-devel@lists.freedesktop.org > Subject: Re: bug fix inactive encoder when west

RE: mode issue about no EDID and first mode when weston start

2012-07-30 Thread Wang, Quanxian
ilable. In this case, I use the first mode we get from KMS as the default mode for connector. If not, we will still core dump weston. > -Original Message- > From: Kristian Høgsberg [mailto:hoegsb...@gmail.com] > Sent: Tuesday, July 31, 2012 5:15 AM > To: Wang, Quanxi

bug fix inactive encoder when weston restart

2012-07-26 Thread Wang, Quanxian
tor in KMS. This patch will ignore the active encode checking, weston has the ability to re-initialize encoder and reattached it into connector. === commit 7f991195c20d9dd57e14faf88cd36db0c77df424 Author: Wang Quanxian Date: Thu Jul 19 19:11:04 2012 +0800 User sends SIGKILL to weston, KMS wil

mode issue about no EDID and first mode when weston start

2012-07-26 Thread Wang, Quanxian
restart, there exists a case, no active mode is set to connector. We provide the first mode gotten from KMS as default mode for connector. We got weston core dump when weston start because drm will add null mode when cases above happen. commit 1a87302f288497ed8bbef3677286e27bb6931f72 Author: Wang