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

Unified Diff: cc/picture.h

Issue 12096098: [cc] Add stub for IsCheapInRect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | cc/picture.cc » ('j') | cc/picture.cc » ('J')
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 a6ed4497aa40f1a0dedef90ae60fa2ae14a6c96c..81db3ebd9bc39f7fcfafd5b6fc1e96e26851710c 100644
--- a/cc/picture.h
+++ b/cc/picture.h
@@ -42,6 +42,8 @@ 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);
+ void WillRasterTakeLessThanOneMillisecond(const gfx::Rect& layer_rect);
+
void GatherPixelRefs(
const gfx::Rect& layer_rect,
std::list<skia::LazyPixelRef*>& pixel_ref_list);
« no previous file with comments | « no previous file | cc/picture.cc » ('j') | cc/picture.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698