Hi On Wed, Jun 5, 2024 at 11:36 AM Gerd Hoffmann <kra...@redhat.com> wrote: > > On Tue, Jun 04, 2024 at 10:27:18AM GMT, Marc-André Lureau wrote: > > Hi > > > > > + if (is_buffer_shared(surface)) { > > > > Perhaps the suggestion to rename the function (in the following patch) > > should instead be surface_is_allocated() ? that would match the actual > > flag check. But callers would have to ! the result. Wdyt? > > surface_is_shadow() ? Comes closer to the typical naming in computer > graphics.
If the underlying flag is renamed too, that's ok to me.