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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 664803003: Update from chromium a8e7c94b1b79a0948d05a1fcfff53391d22ce37a (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « cc/resources/picture_layer_tiling_unittest.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile_impl.h
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index a9bef0c740f5c59acb64f2792355522ef01cc6c8..243601eafe07ba29ab135a859893cddc91fcaede 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -58,6 +58,13 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
skia::RefPtr<SkPicture> GetFlattenedPicture();
+ bool likely_to_be_used_for_transform_animation() const {
+ return likely_to_be_used_for_transform_animation_;
+ }
+ void set_likely_to_be_used_for_transform_animation() {
+ likely_to_be_used_for_transform_animation_ = true;
+ }
+
struct CC_EXPORT Analysis {
Analysis();
~Analysis();
@@ -124,6 +131,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
RenderingStatsInstrumentation* rendering_stats_instrumentation,
bool is_analysis) const;
+ bool likely_to_be_used_for_transform_animation_;
+
DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
};
« no previous file with comments | « cc/resources/picture_layer_tiling_unittest.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698