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

Unified Diff: cc/layers/texture_layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 | « cc/layers/surface_layer_unittest.cc ('k') | 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 00c9e7452ad59941195a3a4526879b303162ae36..c4b1efa0de1a69ca00c53a375a8f7b9ba9146ed3 100644
--- a/cc/layers/texture_layer.h
+++ b/cc/layers/texture_layer.h
@@ -86,6 +86,7 @@ class CC_EXPORT TextureLayer : public Layer {
// Used when mailbox names are specified instead of texture IDs.
static scoped_refptr<TextureLayer> CreateForMailbox(
+ const LayerSettings& settings,
TextureLayerClient* client);
// Resets the client, which also resets the texture.
@@ -147,7 +148,7 @@ class CC_EXPORT TextureLayer : public Layer {
SimpleEnclosedRegion VisibleContentOpaqueRegion() const override;
protected:
- explicit TextureLayer(TextureLayerClient* client);
+ TextureLayer(const LayerSettings& settings, TextureLayerClient* client);
~TextureLayer() override;
bool HasDrawableContent() const override;
« no previous file with comments | « cc/layers/surface_layer_unittest.cc ('k') | cc/layers/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698