One question on wayland desing on buffer

2019-09-01 Thread HalleyZhao
Hi experts:  wayland designs a light-weight server, usually client manages 
buffer by themselves. It gives client more flexibility, migration 
rendering/composition between different server, subsurface to keep layout while 
keeping view hiarchy.  however, there is something not convenient for wayland 
server. take android surfaceflinger as counterpart, surfaceflinger manages the 
buffer/layer of surface, then any client (owns the BufferQueue client proxy) 
can update the surface directly. that is, mediaserver in android can 
enqueueBuffer to update the surface directly. in wayland world, a mediaserver 
has to pass the buffer (handle) to app/UI process, then the surface is updated 
in app process.  Is my above understanding correct? 


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: Anyway to update `xkb_keymap` after `wl_display_run` ?

2019-09-01 Thread Daniel Stone
Hi Sichem,

On Sat, 31 Aug 2019 at 03:01, Sichem Zhou  wrote:
> I hope to make a follow up to this thread. I made a change and submitted to 
> MR but it seemed to gain little interest so I am trying my luck here.
>
> My problem is that I need to change `xkb_keymap` in the Weston run time, 
> though it is certainly do able though weston_seat_update_keymap, but I found 
> it is cleaner to do it through the exposed API 
> `weston_compositor_set_xkb_rule_names`. So I modified it a little bit to call 
> `weston_seat_update_keymap` internally. My test indicates it seemed to work 
> well so I hope it's a valid change to be merged. Or if there is any problems 
> I hope to have some feedbacks.

I did see the MR you posted on Monday, but have not had the time to
comment on it until today. Usually if a couple of days passes it does
not mean that no-one cares or is interested, just that our review time
is limited. (Especially since you did actually get some review on the
MR ...)

Cheers,
Daniel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel