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

Unified Diff: cc/picture.h

Issue 12194015: cc: Rasterize cheap tiles immediately (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Trace event for cheap rasters that weren't. Created 7 years, 10 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
Index: cc/picture.h
diff --git a/cc/picture.h b/cc/picture.h
index 44abb9a1793eb6cd14dc41f2ee5b5157c9a25888..33a5d2b51b9c96d338650df6bcf499c570614167 100644
--- a/cc/picture.h
+++ b/cc/picture.h
@@ -42,7 +42,7 @@ class CC_EXPORT Picture
// Apply this contents scale and raster the content rect into the canvas.
void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale);
- bool IsCheapInRect(const gfx::Rect& layer_rect);
+ bool IsCheapInRect(const gfx::Rect& layer_rect) const;
void GatherPixelRefs(
const gfx::Rect& layer_rect,

Powered by Google App Engine
This is Rietveld 408576698