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

Unified Diff: cc/picture.cc

Issue 11553033: cc: Disable use of Skia r-tree for impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | 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 9ff58454889c5d237690cdd84552677adf8df938..3a921bbce409ffaf019a66c00e649c433e03885f 100644
--- a/cc/picture.cc
+++ b/cc/picture.cc
@@ -46,10 +46,11 @@ void Picture::Record(ContentLayerClient* painter,
DCHECK(!picture_);
picture_ = skia::AdoptRef(new SkPicture);
+ // TODO(enne): Use SkPicture::kOptimizeForClippedPlayback_RecordingFlag
+ // once http://code.google.com/p/skia/issues/detail?id=1014 is fixed.
SkCanvas* canvas = picture_->beginRecording(
layer_rect_.width(),
- layer_rect_.height(),
- SkPicture::kOptimizeForClippedPlayback_RecordingFlag);
+ layer_rect_.height());
canvas->save();
canvas->translate(SkFloatToScalar(-layer_rect_.x()),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698