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

Unified Diff: cc/layers/layer.h

Issue 2451273003: cc : Snap texture layers to pixel boundary (Closed)
Patch Set: Created 4 years, 2 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/layer.cc » ('j') | cc/trees/layer_tree_host_common_unittest.cc » ('J')
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 5f98c71f480001db300392e3eb4bc8a572ad95c8..dd0464e4f79872b96d577d79fa02e425e7b34ddc 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -337,6 +337,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void SetLayerClient(LayerClient* client) { inputs_.client = client; }
+ virtual bool IsSnapped();
+
virtual void PushPropertiesTo(LayerImpl* layer);
// Sets the type proto::LayerType that should be used for serialization
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | cc/trees/layer_tree_host_common_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698