Re: multiple wl surfaces commit in one client

2020-11-07 Thread zou lan
wrote: > > > > > Hi, > > > On Friday, November 6, 2020 3:14 AM, zou lan nancy.lan@gmail.com > wrote: > > > > > > > Hi Simon & pekka > > > > Thank you for your reply! > > > > > > > > > > The OS could pre-empt

Re: multiple wl surfaces commit in one client

2020-11-05 Thread zou lan
Hi Simon & pekka Thank you for your reply! >>The OS could pre-empt the client after >>the first wl_surface_commit is flushed on the wire and before the >>second one is. I want to ask if after first wl_surface_commit, but I don't call wl_display_flush/wl_display_dispatch, is the first

multiple wl surfaces commit in one client

2020-11-04 Thread zou lan
Hi pekka I want to ask if in one client have created many wl surfaces, and commit all of them to weston in one frame, could weston guarantee to handle these surface update commands in one repaint? The sample code may like this: redraw() { wl_surface_commit(surface1); wl_surface_commit(surface2);

hotplug in weston

2020-07-31 Thread zou lan
Hi all, I want to ask if hotplug is fully supported in weston 8.0? I see some related hotplug changes in drm-backend and compositor, but how to handle windows if there is application running on that output plugged out? Is desktop shell or ivi-shell support hotplug? Thank you! Best regards Nancy

Re: can subsurface and shell surface be used together to manage surfaces

2020-05-15 Thread zou lan
Daniel Stone 于2020年4月29日周三 下午5:11写道: > Hi, > > On Mon, 27 Apr 2020 at 10:02, Pekka Paalanen wrote: > > On Mon, 27 Apr 2020 15:07:20 +0800 zou lan > wrote: > > > I read some documents about chrome OS run Android Apks such as > > > > https://qiangbo-workspace.

Re: can subsurface and shell surface be used together to manage surfaces

2020-04-27 Thread zou lan
Hi pekka > >>Another compositor? Do you mean another client? > Another compositor means compositor such as HWC or netsed compositor. > > >>What are you trying to do? > > >>Do you have some sort of middle-man compositor as a third player here? > > >>I don't understand at all. > I read some

Re: can subsurface and shell surface be used together to manage surfaces

2020-04-12 Thread zou lan
e registered with one given > role. ) > > -Matt > > On Fri, Apr 10, 2020 at 5:43 AM zou lan wrote: > >> Hi pekka & all >> >> I want to use subsurface to manage the initial position of each surface >> on screen, then I want to create shell surface for each

can subsurface and shell surface be used together to manage surfaces

2020-04-10 Thread zou lan
Hi pekka & all I want to use subsurface to manage the initial position of each surface on screen, then I want to create shell surface for each wl surface to manage them seperately, such as response touch event, ivi-shell can modify the z-order of each surface and move each ivi surface to

Re: universal planes in drm backend

2019-09-19 Thread zou lan
:01 +1200 > > > Scott Anderson scott.ander...@collabora.com wrote: > > > > > > > On 17/09/19 7:38 pm, zou lan wrote: > > > > > > > > > Hi Daniel & all > > > > > I find the function drm_output_prepare_overlay_view() o

Re: universal planes in drm backend

2019-09-17 Thread zou lan
treat as overlay plane. Thank you! Best regards Nancy Scott Anderson 于2019年9月17日周二 下午3:50写道: > On 17/09/19 7:38 pm, zou lan wrote: > > Hi Daniel & all > > > > I find the function drm_output_prepare_overlay_view() only use the plane > > type of WDRM_PLANE_TY

universal planes in drm backend

2019-09-17 Thread zou lan
Hi Daniel & all I find the function drm_output_prepare_overlay_view() only use the plane type of WDRM_PLANE_TYPE_OVERLAY. it could be a waste for some planes of type WDRM_PLANE_TYPE_PRIMARY if the universal planes is enable. For example, the kernel define 6 crtcs, and each crtc will have one

Re: Independent clone mode

2019-07-31 Thread zou lan
t; > > On Thu, 25 Jul 2019 13:00:55 +1200 > > > > Barry Song <21cn...@gmail.com> wrote: > > > > > > > > > Pekka Paalanen 于2019年7月24日周三 下午8:10写道: > > > > > > > > > > > > On Wed, 24 Jul 2019 13:22:43 +0800 > > > &g

Independent clone mode

2019-07-23 Thread zou lan
Hi pekka I see the clone mode is supported from this commit message. https://patchwork.freedesktop.org/patch/227970/ I also see the message "Independent CRTC clone mode cannot be supported until output layout logic is moved from libweston into the frontend and libweston's damage tracking issues

Re: question about drm backend

2018-11-23 Thread zou lan
if the timer event can't be triggered immediately. If the outputs' refresh rate is not the same, is there any problem to repaint multi outputs together? Thank you! Best Regards Nancy Pekka Paalanen 于2018年11月23日周五 下午6:00写道: > On Fri, 23 Nov 2018 16:22:56 +0800 > zou lan wrote: > >

Re: question about drm backend

2018-11-23 Thread zou lan
weston architecture? Thank you! Best Regards Nancy Pekka Paalanen 于2018年11月20日周二 下午10:43写道: > On Tue, 20 Nov 2018 20:32:53 +0800 > zou lan wrote: > > > Hi pekka > > > > Thank you so much to explain the drm backend details. I ask these because > > some company may i

Re: question about drm backend

2018-11-20 Thread zou lan
800 > zou lan wrote: > > > Hi pekka > > > > Thank you for your reply. I have other questions about drm backend. > > I find weston 5.0 modify so much about drm backend and the interfaces of > > compositor communicate with drm backend. > > Is there any d

Re: question about drm backend

2018-11-20 Thread zou lan
? Is weston_output not enough? why not let drm backend to judge whether to do repaint/repaint_flush/repaint_cancel to keep libweston separate from drm backend? Thank you! Best Regards Nancy Pekka Paalanen 于2018年11月14日周三 下午11:34写道: > On Wed, 14 Nov 2018 23:00:21 +0800 > zou lan wrote: &g

question about xdg shell version

2018-11-14 Thread zou lan
Hi pekka & all I find weston support many xdg shell versions in different weston versions, as far as I know, applications only use the genernal xdg shell interfaces to create a window, for example, waylandsink. If the weston upgrade, should the applications modify its xdg shell interface or are

calculate subsurface's bounding box

2018-08-30 Thread zou lan
Hi pekka & all I find function weston_view_update_transform_enable() function will calculate view's bounding box, but after that function, weston_view_update_transform will update subsurface's scissor region by parent surface's region, the code is in weston_view_transfer_scissor(). But the sub

Re: how to handle the last_error of wl_display

2018-06-20 Thread zou lan
fer release event if there is no free buffer. But if display->last_error happen, the wl_display_dispatch_queue() fail too. Does the application use the wl_display_flush() right? Thank you! Best Regards Nancy 2018-06-14 18:33 GMT+08:00 Pekka Paalanen : > On Thu, 14 Jun 2018 16:59:35 +0800

how to handle the last_error of wl_display

2018-06-14 Thread zou lan
Dear pekka & All: I find a wayland application report error about allocate memory fail. I check the code, after request to weston to allocate dma buffer, it call wl_display_roundtrip(). But this function return very fast, it doesn't block until the create events back. I suspect the

Re: unique id for wayland objects

2018-05-30 Thread zou lan
ms. Why there is delay? Best Regards Nancy 2018-05-31 0:12 GMT+08:00 Michel Dänzer : > On 2018-05-30 02:48 PM, Pekka Paalanen wrote: > > On Wed, 30 May 2018 18:33:40 +0800 > > zou lan wrote: > > > >> Hi pekka > >> > >> I'm not familiar with kernel.

Re: unique id for wayland objects

2018-05-30 Thread zou lan
Regards Nancy 2018-05-24 15:42 GMT+08:00 Pekka Paalanen : > On Thu, 24 May 2018 15:26:23 +0800 > zou lan wrote: > > > Hi pekka > > > > >>are the c2p numbers from weston-presentation-shm demo? > > yes. I use this demo. My clock is CLOCK_MONOTONIC. > >

Re: unique id for wayland objects

2018-05-24 Thread zou lan
buging it. Best Regards Nancy 2018-05-22 15:51 GMT+08:00 Pekka Paalanen <ppaala...@gmail.com>: > On Mon, 21 May 2018 23:06:12 +0800 > zou lan <nancy.lan@gmail.com> wrote: > > > Hi pekka > > > > I debug the presentation time recently. I have c

Re: unique id for wayland objects

2018-05-21 Thread zou lan
Pekka Paalanen <ppaala...@gmail.com>: > On Thu, 10 May 2018 12:53:49 +0800 > zou lan <nancy.lan@gmail.com> wrote: > > > Hi pekka > > > > I test presentation on my side. The presentation results is not accurate > > because our pageflip eve

Re: unique id for wayland objects

2018-05-09 Thread zou lan
event. Does this get the right c2p time? Thank you. Best Regards Nancy 2018-05-02 18:17 GMT+08:00 zou lan <nancy.lan@gmail.com>: > Hi pekka > > Thank you for your clearly analysis. I understand the presentation > protocol is enough for the requirement now. >

Re: unique id for wayland objects

2018-05-02 Thread zou lan
the presentation first. Thank you! Best Regards Nancy 2018-05-02 16:59 GMT+08:00 Pekka Paalanen <ppaala...@gmail.com>: > On Wed, 2 May 2018 16:33:43 +0800 > zou lan <nancy.lan@gmail.com> wrote: > > > Add to wayland mail list. > > > > Hi pekka &

Fwd: unique id for wayland objects

2018-05-02 Thread zou lan
and used again. By the way, could add a event to wl_buffer's protocol achieve the requirement? Thank you. Best Regards Nancy -- Forwarded message -- From: Pekka Paalanen <ppaala...@gmail.com> Date: 2018-05-02 15:48 GMT+08:00 Subject: Re: unique id for wayland objects To: z

unique id for wayland objects

2018-04-27 Thread zou lan
Hi Pekka & all I want to ask is there a method to mark the wl_buffer between client and server. . I try to use the id of wl_object, but it's not unique between different clients. Do you have some suggestions? Best Regards Nancy ___ wayland-devel

Re: [PATCH weston v2] ivi-shell: Damage view below after unmapping

2018-04-10 Thread zou lan
sking if it is possible to move weston_view_damage_below() to > commit_screen_list ? or are you asking why we are calling it ? > > > > Best regards > > *Emre Ucan* > Engineering Software Base (ADITG/ESB) > > Tel. +49 5121 49 6937 > > *From:* zou lan [mailt

Re: [PATCH weston v2] ivi-shell: Damage view below after unmapping

2018-04-10 Thread zou lan
Hi Emre I have a question about this change: Is the commit_screen_list function not enough to handle the layer/surface's visibility? Why need to handle visibility in commit_changes? They are called ivi_layout_commit_changes together. Best Regards Nancy 2017-02-07 21:04 GMT+08:00 Pekka

Re: wl_list_remove(>link) point to invalid address

2018-04-03 Thread zou lan
the crash exist in many scenarios. How would weston to resolve the potential risks? Thank you. Best Regards Nancy 2018-04-03 20:28 GMT+08:00 Pekka Paalanen <ppaala...@gmail.com>: > On Thu, 29 Mar 2018 11:01:47 +0800 > zou lan <nancy.lan@gmail.com> wrote: > > > Hi

wl_list_remove(>link) point to invalid address

2018-03-28 Thread zou lan
Hi Pekka & all When I run some full screen applications under desktop shell, then kill some applications randomly, I find crashes maybe happened sometimes. Crash call stack: weston_view_destroy-->weston_view_unmap-->wl_list_reomve(>link). The view is black view. Then I debug code, find that

touch drag and drop

2016-03-19 Thread zou lan
Hi all I find a issue in touch drag and drop caused by function data_device_end_drag_grab. when data_device_end_drag_grab call weston_view_unmap and weston_view_destroy, if the view->surface is commited but not repaint, the callback in view->surface's callbacklist will not sent done. The drag

weston flip a null frame first before start launcher

2015-12-17 Thread zou lan
Hi pekka & others I find weston flip a null frame before start the launcher weston-desktop-shell. So there is always a black surface flash before the launcher. That doesn't have the relationship with the animation mode. I think it's caused by the code weston_output_init which call the

Re: black surface in desktop shell fullscreen mode

2015-11-25 Thread zou lan
-11-20 17:31 GMT+08:00 zou lan <nancy.lan@gmail.com>: > Hi pekka > > >Or are you asking for instructions on how to fix the alleged Weston > >desktop-shell bug where the black surface is not removed when attaching > >a NULL wl_buffer to the wl_surface? >

check layer orders

2015-11-25 Thread zou lan
Dear all: Is there any command to print the desktop shell layer orders? Thank you. Best Regards Nancy ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: black surface in desktop shell fullscreen mode

2015-11-20 Thread zou lan
I met some problems of the black screen if I just hide the surface. I want to implement the function like "background" or "home", just hide the UI. Thank you. Best Regards Nancy 2015-11-20 16:03 GMT+08:00 Pekka Paalanen <ppaala...@gmail.com>: > On Fri, 20 Nov 2015 1

Re: black surface in desktop shell fullscreen mode

2015-11-19 Thread zou lan
Hi Pekka How to not use the black surface behind the fullscreen surface? I want to have a try for the special needs to switch the apps. I can't use the minimize because it can't restore to its original shape. Thank you. Best Regards Nancy 2015-10-13 18:31 GMT+08:00 Pekka Paalanen

Re: black surface in desktop shell fullscreen mode

2015-10-09 Thread zou lan
0 Pekka Paalanen <ppaala...@gmail.com>: > > On Thu, 8 Oct 2015 11:12:42 +0800 > > zou lan <nancy.lan@gmail.com> wrote: > > > >> >>If a client really wants to use the transparency, and does not want > >> opaque black bars, it can be the client

Re: black surface in desktop shell fullscreen mode

2015-10-07 Thread zou lan
>>If a client really wants to use the transparency, and does not want opaque black bars, it can be the client's responsibility to produce a buffer that can fill the screen. This is what the client wants to. The Qt app call "hide" function just wants to implement a function like minimize the

Re: random window positon with desktop shell

2015-09-30 Thread zou lan
Hi all I ask this because I run a qt media player on platform wayland, I find it shows video contents in anothor hardware layer through V4L2 interface, but the UI is in fb layer by wayland path. So V4L2 interfaces need to know the UI window start position. But wayland don't have protocol to get

Re: random window positon with desktop shell

2015-09-30 Thread zou lan
33 GMT+03:00 zou lan <nancy.lan@gmail.com>: > > Hi all > > > > I ask this because I run a qt media player on platform wayland, I find it > > shows video contents in anothor hardware layer through V4L2 interface, > but > > the UI is in fb layer by wayland pa

Re: random window positon with desktop shell

2015-09-30 Thread zou lan
Hi Daniel I agree with you. Maybe waylandsink can resolve this problem. But we need update Qt too. Thank you. 2015-09-30 16:01 GMT+08:00 Daniel Stone <dan...@fooishbar.org>: > Hi Nancy, > > On 30 September 2015 at 08:56, zou lan <nancy.lan@gmail.com> wrote:

black surface in desktop shell fullscreen mode

2015-09-30 Thread zou lan
Hi all As I known, when a window is fullscreen, desktop shell will create a black surface after it. If the window is transparent later, it shows a black screen. But the app developers maybe except it to be hide. Just take QWindow function hide for example, app1 start app2, then app2 call hide,