nested: Add the buffer reference semantics from Weston
authorNeil Roberts <neil@linux.intel.com>
Sun, 8 Sep 2013 17:49:15 +0000 (18:49 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Dec 2013 00:34:07 +0000 (16:34 -0800)
commit6bf23879e98c4bd8e30c28f3a5cd610ceb958da6
tree74a53b1f43aed968d23a30aa991053f4b2bea8d9
parent8fbe3a68d4dbe17d1dea3c2f61f1cbddce6f8858
nested: Add the buffer reference semantics from Weston

This copies the buffer reference busy count implementation from Weston
to the nested compositor example and adds an internal nested_buffer
struct that we could eventually use to attach data. This will be
useful to adapt the example to use subsurfaces so that we can attach
our compositor-side buffer to the resource.
clients/nested.c