aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 18:33:25 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 18:33:25 +0000
commit5301070de894dbfa4772cf01e111450102837803 (patch)
tree9e3df07fc84f93ee41e3c7d5e19bc648a6f96be0 /dm
parentaca1c01f3b39a8159a0ca10ba740d9995027317b (diff)
DM: don't run rtree when kSkipTiled is set.
Follow up to http://crrev.com/165723009, which changed this in GM. Tested: out/Debug/dm BUG=skia: R=scroggo@google.com, senorblanco@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/175283002 git-svn-id: http://skia.googlecode.com/svn/trunk@13537 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'dm')
-rw-r--r--dm/DMReplayTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DMReplayTask.cpp b/dm/DMReplayTask.cpp
index 3b47962a20..763684a087 100644
--- a/dm/DMReplayTask.cpp
+++ b/dm/DMReplayTask.cpp
@@ -41,7 +41,7 @@ bool ReplayTask::shouldSkip() const {
}
if (FLAGS_rtree && fUseRTree) {
- return false;
+ return fGM->getFlags() & skiagm::GM::kSkipTiled_Flag;
}
if (FLAGS_replay && !fUseRTree) {
return false;