diff options
author | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 00:26:01 +0000 |
---|---|---|
committer | alexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 00:26:01 +0000 |
commit | e8e4ae23db9a412373f1dd998de11b7b1c98110c (patch) | |
tree | ab62a3c23d332ae66d14edad153af3e564606cf1 /webkit/plugins/ppapi/ppapi_plugin_instance.h | |
parent | 1a0b11ca1aed069ce1695b8a05d11712efdf731c (diff) | |
download | chromium_src-e8e4ae23db9a412373f1dd998de11b7b1c98110c.zip chromium_src-e8e4ae23db9a412373f1dd998de11b7b1c98110c.tar.gz chromium_src-e8e4ae23db9a412373f1dd998de11b7b1c98110c.tar.bz2 |
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
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_plugin_instance.h')
-rw-r--r-- | webkit/plugins/ppapi/ppapi_plugin_instance.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h index b6456ba..7bfcfba 100644 --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h @@ -465,6 +465,7 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance : // TextureLayerClient implementation. virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; + virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE; // Reset this instance as proxied. Assigns the instance a new module, resets // cached interfaces to point to the out-of-process proxy and re-sends |