Okay thanks for the input.  I sorted it out, and it's working great.

My learning - Simply implement a frame callback for each sub surface and
base surface, empty or otherwise.  No need for any other commit calls.

What is the recommended solution for counting frame rate with sub
surfaces?  Does the base surface ever get occluded?

Thanks,
Joel

On Wed, Nov 2, 2022 at 2:04 AM Pekka Paalanen <ppaala...@gmail.com> wrote:

> On Tue, 1 Nov 2022 20:08:10 -0700
> Joel Winarske <joel.winar...@gmail.com> wrote:
>
> > Thanks for the clarification.  Much appreciated.
> >
> > I'm interested in implementing a sub-surface example.  Is a MR/PR of
> > interest?
>
> To which repository, and what do you want to demonstrate with it?
>
> E.g.
>
> https://gitlab.freedesktop.org/wayland/weston/-/blob/main/clients/subsurfaces.c
> exists already.
>
> Wayland repository can take documentation explaining all that better,
> but I'm not sure examples are in scope there. Maybe wayland-utils could
> have test programs better than weston repository, but I don't know
> about examples. Maybe others have ideas?
>
> Unless for special reasons, one should use a ready-made toolkit instead
> of programming apps directly for Wayland anyway.
>
>
> Thanks,
> pq
>

Reply via email to