This patch implements the necessary plumbing to allow WebExternalTextureLayerClient...
commite8e4ae23db9a412373f1dd998de11b7b1c98110c
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 12 Apr 2013 00:26:01 +0000 (12 00:26 +0000)
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 12 Apr 2013 00:26:01 +0000 (12 00:26 +0000)
treeab62a3c23d332ae66d14edad153af3e564606cf1
parent1a0b11ca1aed069ce1695b8a05d11712efdf731c
This patch implements the necessary plumbing to allow WebExternalTextureLayerClient to be used with texture mailboxes, which allows WebGL and Canvas2D to work with ubercompositor.

CC part of this patch requests the client to prepare a mailbox instead of a texture. Compositor bindings handle interaction with Blink as well as callbacks associated with mailboxes being released.

BUG=179371

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193807 0039d316-1c4b-4281-b951-d872f2087c98
14 files changed:
cc/layers/texture_layer.cc
cc/layers/texture_layer.h
cc/layers/texture_layer_client.h
cc/layers/texture_layer_unittest.cc
content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
ui/compositor/layer.cc
ui/compositor/layer.h
webkit/compositor_bindings/compositor_bindings.gyp
webkit/compositor_bindings/web_compositor_support_impl.cc
webkit/compositor_bindings/web_compositor_support_impl.h
webkit/compositor_bindings/web_external_texture_layer_impl.cc
webkit/compositor_bindings/web_external_texture_layer_impl.h
webkit/plugins/ppapi/ppapi_plugin_instance.cc
webkit/plugins/ppapi/ppapi_plugin_instance.h