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

Unified Diff: dm/DMUtil.cpp

Issue 51243003: DM: add --rtree. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: epoger Created 7 years, 2 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 | « dm/DMUtil.h ('k') | dm/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMUtil.cpp
diff --git a/dm/DMUtil.cpp b/dm/DMUtil.cpp
index a227ca85841afe9e9c69352cb5dac205359a7e40..d5214849e6f4e72fea0cbd4ae3e975d9d1d52d98 100644
--- a/dm/DMUtil.cpp
+++ b/dm/DMUtil.cpp
@@ -23,10 +23,10 @@ bool MeetsExpectations(const skiagm::Expectations& expectations, const SkBitmap
return expectations.match(digest);
}
-void RecordPicture(skiagm::GM* gm, SkPicture* picture) {
+void RecordPicture(skiagm::GM* gm, SkPicture* picture, uint32_t recordFlags) {
SkCanvas* canvas = picture->beginRecording(SkScalarCeilToInt(gm->width()),
SkScalarCeilToInt(gm->height()),
- 0 /*flags*/);
+ recordFlags);
canvas->concat(gm->getInitialTransform());
gm->draw(canvas);
canvas->flush();
« no previous file with comments | « dm/DMUtil.h ('k') | dm/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698