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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 2027073002: cc : Use transform node data to determine which transform wins at commit (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 | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 48bb194e7c267b897dff9c0ac05d3ffed8d73717..7c97b75baf85a02df710bc71e41f434befa1c0f1 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -164,6 +164,7 @@ class CC_EXPORT LayerTreeImpl {
void RemoveFromElementMap(LayerImpl* layer);
void AddToOpacityAnimationsMap(int id, float opacity);
+ void AddToTransformAnimationsMap(int id, gfx::Transform transform);
ElementLayers GetMutableLayers(uint64_t element_id);
int source_frame_number() const { return source_frame_number_; }
@@ -519,6 +520,7 @@ class CC_EXPORT LayerTreeImpl {
std::unordered_map<uint64_t, ElementLayers> element_layers_map_;
std::unordered_map<int, float> opacity_animations_map_;
+ std::unordered_map<int, gfx::Transform> transform_animations_map_;
// Maps from clip layer ids to scroll layer ids. Note that this only includes
// the subset of clip layers that act as scrolling containers. (This is
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698