Mailbox support for texture layers.
commitde44a15528ee0c0e85ef1f822f072ee99de64c0c
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Jan 2013 15:28:46 +0000 (8 15:28 +0000)
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Jan 2013 15:28:46 +0000 (8 15:28 +0000)
tree0f1a725fa28776d259948bdc604d027d94bdf704
parent754ea8b7d01365edefd3a06a293879739011679e
Mailbox support for texture layers.

A callback object is passed along with the mailbox name to the layer. This callback is triggered with a sync point to signal when the mailbox is no longer in use by the compositor.

TextureLayerImpl packages a mailbox up as a resource on willDraw
and releases it when a new mailbox is ready for consumption or when the layer is destroyed.

BUG=123444

Review URL: https://chromiumcodereview.appspot.com/11638028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175529 0039d316-1c4b-4281-b951-d872f2087c98
cc/resource_provider.cc
cc/resource_provider.h
cc/texture_layer.cc
cc/texture_layer.h
cc/texture_layer_impl.cc
cc/texture_layer_impl.h
cc/texture_layer_unittest.cc