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

Unified Diff: cc/picture_pile.h

Issue 11678003: cc: Fix low-res impl-side painting artifacts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \okayguy{0.0625*f*} Created 7 years, 11 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/picture_layer_impl.cc ('k') | cc/picture_pile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile.h
diff --git a/cc/picture_pile.h b/cc/picture_pile.h
index 11bfdfe6ee7d124fd75934354b6a22e63627c305..851f87c7d397b197362f06e492decca56e40f44b 100644
--- a/cc/picture_pile.h
+++ b/cc/picture_pile.h
@@ -29,6 +29,8 @@ public:
void Resize(gfx::Size);
gfx::Size size() const { return size_; }
+ void SetMinContentsScale(float min_contents_scale);
+
// Re-record parts of the picture that are invalid.
// Invalidations are in layer space.
void Update(
@@ -48,6 +50,8 @@ private:
typedef std::list<scoped_refptr<Picture> > Pile;
Pile pile_;
gfx::Size size_;
+ float min_contents_scale_;
+ int buffer_pixels_;
DISALLOW_COPY_AND_ASSIGN(PicturePile);
};
« no previous file with comments | « cc/picture_layer_impl.cc ('k') | cc/picture_pile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698