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

Unified Diff: cc/layers/texture_layer.h

Issue 1964793002: Revert of [Reland 1] 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, 7 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
« no previous file with comments | « no previous file | cc/layers/texture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer.h
diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h
index 2d5b6bbb4af18f460491a450b0d5c6edabc89bc8..4fa239f83afc4e750ec95259f301fbb81fcf4aa8 100644
--- a/cc/layers/texture_layer.h
+++ b/cc/layers/texture_layer.h
@@ -133,6 +133,12 @@
const TextureMailbox& mailbox,
std::unique_ptr<SingleReleaseCallback> release_callback);
+ // Use this for special cases where the same texture is used to back the
+ // TextureLayer across all frames.
+ // WARNING: DON'T ACTUALLY USE THIS WHAT YOU ARE DOING IS WRONG.
+ // TODO(danakj): Remove this when pepper doesn't need it. crbug.com/350204
+ void SetTextureMailboxWithoutReleaseCallback(const TextureMailbox& mailbox);
+
void SetNeedsDisplayRect(const gfx::Rect& dirty_rect) override;
void SetLayerTreeHost(LayerTreeHost* layer_tree_host) override;
« no previous file with comments | « no previous file | cc/layers/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698