166089e4ec4f1702caf2154780471417872862148caryclark@google.com/* 266089e4ec4f1702caf2154780471417872862148caryclark@google.com * Copyright 2012 Google Inc. 366089e4ec4f1702caf2154780471417872862148caryclark@google.com * 466089e4ec4f1702caf2154780471417872862148caryclark@google.com * Use of this source code is governed by a BSD-style license that can be 566089e4ec4f1702caf2154780471417872862148caryclark@google.com * found in the LICENSE file. 666089e4ec4f1702caf2154780471417872862148caryclark@google.com */ 766089e4ec4f1702caf2154780471417872862148caryclark@google.com 866089e4ec4f1702caf2154780471417872862148caryclark@google.com#include "PathOpsExtendedTest.h" 966089e4ec4f1702caf2154780471417872862148caryclark@google.com#include "PathOpsThreadedCommon.h" 10406654be7a930b484159f5bca107d3b11d8a9edemtklein#include "SkTaskGroup.h" 1166089e4ec4f1702caf2154780471417872862148caryclark@google.com 1266089e4ec4f1702caf2154780471417872862148caryclark@google.comPathOpsThreadedTestRunner::~PathOpsThreadedTestRunner() { 1366089e4ec4f1702caf2154780471417872862148caryclark@google.com for (int index = 0; index < fRunnables.count(); index++) { 1466089e4ec4f1702caf2154780471417872862148caryclark@google.com SkDELETE(fRunnables[index]); 1566089e4ec4f1702caf2154780471417872862148caryclark@google.com } 1666089e4ec4f1702caf2154780471417872862148caryclark@google.com} 1766089e4ec4f1702caf2154780471417872862148caryclark@google.com 1866089e4ec4f1702caf2154780471417872862148caryclark@google.comvoid PathOpsThreadedTestRunner::render() { 19406654be7a930b484159f5bca107d3b11d8a9edemtklein SkTaskGroup tg; 2066089e4ec4f1702caf2154780471417872862148caryclark@google.com for (int index = 0; index < fRunnables.count(); ++ index) { 21406654be7a930b484159f5bca107d3b11d8a9edemtklein tg.add(fRunnables[index]); 2266089e4ec4f1702caf2154780471417872862148caryclark@google.com } 2366089e4ec4f1702caf2154780471417872862148caryclark@google.com} 24