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 wl_surface_

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
Thank you! Best Regards Nancy 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 > > > &

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
to be 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

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 different

Re: universal planes in drm backend

2019-09-19 Thread zou lan
19:50: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_vie

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_TYPE_O

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 pri

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
rger than 1ms 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

Re: question about drm backend

2018-11-23 Thread zou lan
5.0 or latest 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 c

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 th

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 vie

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 display->last_

Re: unique id for wayland objects

2018-05-30 Thread zou lan
wer than 1ms. 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 famili

Re: unique id for wayland objects

2018-05-30 Thread zou lan
hank you. Best 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_MONOT

Re: unique id for wayland objects

2018-05-24 Thread zou lan
mp. I am still debuging it. Best Regards Nancy 2018-05-22 15:51 GMT+08:00 Pekka Paalanen : > On Mon, 21 May 2018 23:06:12 +0800 > zou lan wrote: > > > Hi pekka > > > > I debug the presentation time recently. I have checked each user call > > drmAtomicCommit get

Re: unique id for wayland objects

2018-05-21 Thread zou lan
23:17 GMT+08:00 Pekka Paalanen : > On Thu, 10 May 2018 12:53:49 +0800 > zou lan wrote: > > > Hi pekka > > > > I test presentation on my side. The presentation results is not accurate > > because our pageflip event send last frame's timestamp every time. So >

Re: unique id for wayland objects

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

Re: unique id for wayland objects

2018-05-02 Thread zou lan
presentation first. Thank you! Best Regards Nancy 2018-05-02 16:59 GMT+08:00 Pekka Paalanen : > On Wed, 2 May 2018 16:33:43 +0800 > zou lan wrote: > > > Add to wayland mail list. > > > > Hi pekka > > > > I used to consider the time line and presentation

Fwd: unique id for wayland objects

2018-05-02 Thread zou lan
isplay 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 Date: 2018-05-02 15:48 GMT+08:00 Subject: Re: unique id for wayland objects To: zou lan On Wed

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 mailin

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

2018-04-10 Thread zou lan
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 [mailto:nancy.lan@gmail.com] > *Se

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

2018-04-09 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 Paalanen

Re: wl_list_remove(&view->link) point to invalid address

2018-04-03 Thread zou lan
ems? Especially in ivi shell, I find 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 : > On Thu, 29 Mar 2018 11:01:47 +0800 > zou lan wrote: > > > Hi Pekka & al

wl_list_remove(&view->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(&view->link). The view is black view. Then I debug code, find t

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 win

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 weston_outpu

Re: black surface in desktop shell fullscreen mode

2015-11-25 Thread zou lan
2015-11-20 17:31 GMT+08:00 zou lan : > 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? > > Actually I ask for instructio

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
et 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 : > On Fri, 20 Nov 2015 10:52:54 +0800 > zou lan

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 : > On Tue, 1

Re: black surface in desktop shell fullscreen mode

2015-10-08 Thread zou lan
ode? I know it can work in normal mode. Or Does it expects a black screen in fullscreen mode? The app developpers like use this function to swich multi apps. Thank you. Best Regards Nancy 2015-10-08 16:33 GMT+08:00 Giulio Camuffo : > 2015-10-08 9:59 GMT+03:00 Pekka Paalanen : > > On

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 window

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

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 : > Hi Nancy, > > On 30 September 2015 at 08:56, zou lan wrote: > > I use the player in qtmultimedia examples. But our video

Re: random window positon with desktop shell

2015-09-30 Thread zou lan
Hi Giulio I use the player in qtmultimedia examples. But our video team modify the code xvimagesink to v4L2sink. They say we can't support xvimagesink. My Qt version is 5.4.1 now. Best Regards Nancy 2015-09-30 15:36 GMT+08:00 Giulio Camuffo : > 2015-09-30 10:33 GMT+03:00 zou lan : &g

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 th