Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1468)

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 1912833002: Pepper takes ownership of a mailbox before passing it to the texture layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index da461798a5502d85b77b040a6e0bbc80c3ec0cb0..5c9b3236c03bd50a061248caac49773eaf0b6947 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -201,6 +201,10 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
// rendering up to an offscreen SwapBuffers are visible.
void CommitBackingTexture();
+ // Takes ownership of the front buffer of |bound_graphics_3d_| and passes it
+ // to |texture_layer_|.
+ void PassTextureFromGraphics3DToTextureLayer();
+
// Called when the out-of-process plugin implementing this instance crashed.
void InstanceCrashed();

Powered by Google App Engine
This is Rietveld 408576698