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

Unified Diff: cc/layers/layer.h

Issue 2828353003: Determine mask UVs based on texture size (Closed)
Patch Set: Add tolerance to filter_effects.html Created 3 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
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 58dde9c4577aa05aca94dd2f73aab70af8e0f7d7..b499d6125f4d33206fa4c474cd0b449d5ac9870e 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -115,6 +115,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void SetMasksToBounds(bool masks_to_bounds);
bool masks_to_bounds() const { return inputs_.masks_to_bounds; }
+ // Note that the mask layer is not scaled to fill the layer being masked.
void SetMaskLayer(Layer* mask_layer);
Layer* mask_layer() { return inputs_.mask_layer.get(); }
const Layer* mask_layer() const { return inputs_.mask_layer.get(); }
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698