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

Unified Diff: cc/picture.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/layer_tree_settings.cc ('k') | cc/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture.h
diff --git a/cc/picture.h b/cc/picture.h
index 361578cf56711a28b4693769a71592cc2fa90aa3..4672c367cc5f3163e3f14e1fb8f85cdd567c6744 100644
--- a/cc/picture.h
+++ b/cc/picture.h
@@ -39,9 +39,8 @@ public:
// Has Record() been called yet?
bool HasRecording() const { return picture_.get(); }
- // Raster this Picture's layer_rect into the given canvas.
- // Assumes contentsScale have already been applied.
- void Raster(SkCanvas* canvas);
+ // Apply this contents scale and raster the content rect into the canvas.
+ void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale);
void GatherPixelRefs(const gfx::Rect& rect,
std::list<skia::LazyPixelRef*>&);
« no previous file with comments | « cc/layer_tree_settings.cc ('k') | cc/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698