Jonas Ådahl f44238a72f MetaWaylandSurface: Keep an extra buffer use count for role-less surfaces
Whether a surface needs to keep the committed wl_buffer un-released
depends on what role the surface gets assigned to. For example a cursor
role may need an unreleased shm buffer in order to create a hw cursor from
it.

In order to support this, keep a separate reference and use count to
the buffer on behalf of the in the future assigned role, and release
those references after the surface was assigned a role. A role that
needs its own references and use counts, must in its assign function
make sure to add those.

https://bugzilla.gnome.org/show_bug.cgi?id=762828
2016-03-29 18:26:10 +08:00
2015-11-09 10:25:40 -05:00
2015-07-06 00:52:18 -07:00
2016-03-27 07:25:53 +07:00
2014-03-18 20:37:35 -04:00
2016-03-21 14:58:09 -07:00
2016-03-22 18:17:09 +01:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2016-03-22 18:17:09 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%