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

Unified Diff: cc/picture.cc

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 | « cc/picture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture.cc
diff --git a/cc/picture.cc b/cc/picture.cc
index c850fd8e3e954c7f75068a7e383c557c1dbf092b..83d3b48cea4401d35f739abb66d1a2ba204856c6 100644
--- a/cc/picture.cc
+++ b/cc/picture.cc
@@ -92,6 +92,10 @@ void Picture::Record(ContentLayerClient* painter,
opaque_rect_ = gfx::ToEnclosedRect(opaque_layer_rect);
}
+void Picture::IsCheapInRect(gfx::Rect contents, float contents_scale) {
enne (OOO) 2013/01/31 21:34:37 Did you mean to add this too?
+ return false;
+}
+
void Picture::Raster(
SkCanvas* canvas,
gfx::Rect content_rect,
@@ -108,6 +112,10 @@ void Picture::Raster(
canvas->restore();
}
+void Picture::WillRasterTakeLessThanOneMillisecond(const gfx::Rect& layer_rect) {
enne (OOO) 2013/01/31 21:34:37 This is an awfully specific name. Is EstimatedRas
+ return false;
+}
+
void Picture::GatherPixelRefs(const gfx::Rect& layer_rect,
std::list<skia::LazyPixelRef*>& pixel_ref_list) {
DCHECK(picture_);
« no previous file with comments | « cc/picture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698