summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 00:26:01 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 00:26:01 +0000
commite8e4ae23db9a412373f1dd998de11b7b1c98110c (patch)
treeab62a3c23d332ae66d14edad153af3e564606cf1 /webkit/plugins/ppapi/ppapi_plugin_instance.cc
parent1a0b11ca1aed069ce1695b8a05d11712efdf731c (diff)
downloadchromium_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.cc')
-rw-r--r--webkit/plugins/ppapi/ppapi_plugin_instance.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index a46d4d2..33fe94e 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -2106,6 +2106,10 @@ WebKit::WebGraphicsContext3D* PluginInstance::Context3d() {
return bound_graphics_3d_->platform_context()->GetParentContext();
}
+bool PluginInstance::PrepareTextureMailbox(cc::TextureMailbox* mailbox) {
+ return false;
+}
+
void PluginInstance::NumberOfFindResultsChanged(PP_Instance instance,
int32_t total,
PP_Bool final_result) {