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

Unified Diff: cc/resources/picture_pile.h

Issue 657913002: cc: Correct expansion of invalidation for tiles outside of interest rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « no previous file | cc/resources/picture_pile.cc » ('j') | cc/resources/picture_pile.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_pile.h
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
index 0e8dca68b198b7f9cdef39d3e73059818fb995fc..539584322c0f48527fdaf9d8701ae5a26c1e96bf 100644
--- a/cc/resources/picture_pile.h
+++ b/cc/resources/picture_pile.h
@@ -51,6 +51,8 @@ class CC_EXPORT PicturePile : public PicturePileBase {
is_suitable_for_gpu_rasterization_ = false;
}
+ void SetPixelRecordDistanceForTesting(int d) { pixel_record_distance_ = d; }
+
protected:
virtual ~PicturePile();
@@ -60,6 +62,7 @@ class CC_EXPORT PicturePile : public PicturePileBase {
void DetermineIfSolidColor();
bool is_suitable_for_gpu_rasterization_;
+ int pixel_record_distance_;
DISALLOW_COPY_AND_ASSIGN(PicturePile);
};
« no previous file with comments | « no previous file | cc/resources/picture_pile.cc » ('j') | cc/resources/picture_pile.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698