Skip to content
  • Jonas Ådahl's avatar
    wayland: Move buffer use count to MetaWaylandSurface · 10a01148
    Jonas Ådahl authored
    Each wl_surface.commit with a newly attached buffer should result in
    one wl_buffer.release for the attached buffer. For example attaching
    the same buffer to two different surfaces must always result in two
    wl_buffer.release events being emitted by the server. The client is
    responsible for counting the wl_buffer.release events and be sure to
    have received as many release events as it has attached and committed
    the buffer, before reusing it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762828
    10a01148