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

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
-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; Jason Ekstrand (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 3:41 PM To: Wang, Quanxian Cc: Hardening (rdp.eff...@gmail.com); Bryce W. Harrington (b.harring...@samsung.com); wayland-devel@lists.freedesktop.org; Jason Ekstrand (ja

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

2014-05-07 Thread Wang, Quanxian
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 have the choice 'A must not change' or 'A must change'. But for C-B

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); Fu, Michael; Hardening

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

2014-05-06 Thread Wang, Quanxian
. -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...@samsung.com); wayland-devel

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

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 ppaala

[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: [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

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 quanxian.w...@intel.com --- module/Makefile.am|3 + module/wrandr/Makefile.am | 32 ++

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 match

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 V2 0/8] Add weston randr protocol

2014-04-02 Thread Wang, Quanxian
. [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 a xml with your request and send it to display

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:13 +0800 Quanxian Wang

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 On Thu, 27 Mar 2014 08:31:34

RE: weston: weston randr protocol for testing and configuration

2014-03-26 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@lists.freedesktop.org Subject: Re

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: weston randr protocol for testing

RE: weston: weston randr protocol for testing and configuration

2014-03-26 Thread Wang, Quanxian
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 reality, it is barely possible. Width and height could be easily same, not easy for refresh at the same time. Currently in xrandr

RE: weston: weston randr protocol for testing and configuration

2014-03-22 Thread Wang, Quanxian
: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 quanxian.w...@intel.com wrote: Objective: With discussion in mail list, currently we have an agreement

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 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 On Mon, Mar 17, 2014 at 11

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 quanxian.w

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 On Wed, Mar 19, 2014 at 01

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, 2014 8:55 AM

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 quanxian.w

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: [PATCH 1/6] Add weston randr

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 quanxian.w

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 On Fri, 14 Mar 2014 12

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: [PATCH 1/6] Add weston randr

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] 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 Fri, Mar 14, 2014 at 09:16:25AM

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 On Fri, Mar 14, 2014 at 10:27

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 Subject: Re: [PATCH] Bug fix client apps

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: [PATCH] Bug fix client apps

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.freedesktop.org Subject: Re

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 2014 08:23:45 + Wang, Quanxian

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 2014 10:58:00 + Wang, Quanxian

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 be like that 1293 output-output = 1294

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

2014-03-09 Thread Wang, Quanxian
-randr apps or wl_output interface. I don't think that allowing to set only announced modes is a good idea. The RDP compositor is a good example where you can't know the supported modes (as nearly all modes can be supported). IIRC depending on the drivers, drm can also set arbitrary modes. [Wang

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

2014-03-06 Thread Wang, Quanxian
-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.freedesktop.org; Jason Ekstrand; Zhang, Xiong Y Subject: Re

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 16:25:42 +0800 Quanxian Wang

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 because of background should overwrite

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

2014-03-06 Thread Wang, Quanxian
. It 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 because of output change 1

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

2014-03-06 Thread Wang, Quanxian
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 To: wayland-devel@lists.freedesktop.org

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, Wang

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

2014-03-05 Thread Wang, Quanxian
not 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

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

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

2014-03-05 Thread Wang, Quanxian
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. Without compositor, randr could

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 ppaala...@gmail.commailto:ppaala...@gmail.com wrote: On Wed, 5 Mar 2014 09:24:34 + Wang, Quanxian quanxian.w...@intel.commailto:quanxian.w...@intel.com wrote: Hi, Jasper Jason

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

2014-03-04 Thread Wang, Quanxian
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 + Wang, Quanxian quanxian.w

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
; 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't choose

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-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 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 + Wang, Quanxian

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 + Wang, Quanxian

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

2014-02-27 Thread Wang, Quanxian
year ago: http://lists.freedesktop.org/archives/wayland-devel/2013-March/007872.html. The scope was smaller (targeting essentially mode resolution) but it was working. At the time there were no real enthusiasm, some people were even against. Perhaps some have changed their mind since. [Wang

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 have

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

2014-02-26 Thread Wang, Quanxian
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 protocol Quanxian, I haven't looked

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.freedesktop.org

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

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 create pixmap or pixmap surface

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

2013-02-07 Thread Wang, Quanxian
. Sorry my title and description make you confused, I change it to 'how to create pixmap or pixmap surface in wayland'. Thanks Regards Quanxian Wang -Original Message- From: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Thursday, February 07, 2013 6:05 PM To: Wang, Quanxian Cc

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 replace X operations with Wayland

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

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 issue when calculate msecs

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

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

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

[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

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

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 when weston start On Tue

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

2012-07-30 Thread Wang, Quanxian
. 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, Quanxian Cc: wayland-devel

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 weston restart On Thu, Jul

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

bug fix inactive encoder when weston restart

2012-07-26 Thread Wang, Quanxian
. 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 quanxian.w...@intel.com Date: Thu Jul 19 19:11:04 2012 +0800 User sends SIGKILL