From d6bab0238655dbab24dfe92bd0b16b464310a8c7 Mon Sep 17 00:00:00 2001 From: "rmistry@google.com" Date: Mon, 2 Dec 2013 13:50:38 +0000 Subject: Reverting r12427 git-svn-id: http://skia.googlecode.com/svn/trunk@12428 2bbb7eff-a529-9590-31e7-b0007b416f81 --- dm/DMGpuTask.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'dm/DMGpuTask.cpp') diff --git a/dm/DMGpuTask.cpp b/dm/DMGpuTask.cpp index 4d99356237..d4c4254c62 100644 --- a/dm/DMGpuTask.cpp +++ b/dm/DMGpuTask.cpp @@ -1,6 +1,6 @@ #include "DMGpuTask.h" -#include "DMComparisonTask.h" +#include "DMChecksumTask.h" #include "DMUtil.h" #include "DMWriteTask.h" #include "SkCommandLineFlags.h" @@ -60,9 +60,7 @@ void GpuTask::draw() { gr->printCacheStats(); #endif - // We offload checksum comparison to the main CPU threadpool. - // This cuts run time by about 30%. - this->spawnChild(SkNEW_ARGS(ComparisonTask, (*this, fExpectations, bitmap))); + this->spawnChild(SkNEW_ARGS(ChecksumTask, (*this, fExpectations, bitmap))); this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap))); } -- cgit v1.2.3