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

Unified Diff: cc/texture_layer.h

Issue 12374028: Allow WebExternalTextureLayerClient to work with mailboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/texture_layer.cc » ('j') | cc/texture_layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_layer.h
diff --git a/cc/texture_layer.h b/cc/texture_layer.h
index f85edb6138e199e4be9c596caa0e6c3c7891063e..686c29be4774fbbcb385d2840daa24ce230f0db6 100644
--- a/cc/texture_layer.h
+++ b/cc/texture_layer.h
@@ -24,10 +24,8 @@ class CC_EXPORT TextureLayer : public Layer {
// If this texture layer requires special preparation logic for each frame
// driven by the compositor, pass in a non-nil client. Pass in a nil client
// pointer if texture updates are driven by an external process.
- static scoped_refptr<TextureLayer> Create(TextureLayerClient* client);
-
- // Used when mailbox names are specified instead of texture IDs.
- static scoped_refptr<TextureLayer> CreateForMailbox();
+ static scoped_refptr<TextureLayer> Create(TextureLayerClient* client,
+ bool usesMailbox);
piman 2013/03/14 19:54:58 nit: uses_mailbox, we're in chrome style now.
alexst (slow to review) 2013/03/14 20:37:06 Done.
void ClearClient() { client_ = NULL; }
« no previous file with comments | « no previous file | cc/texture_layer.cc » ('j') | cc/texture_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698