/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/core/SkTaskGroup.h" #include "include/core/SkExecutor.h" #include <type_traits> #include <utility> SkTaskGroup::SkTaskGroup(SkExecutor& executor) : … { … } void SkTaskGroup::add(std::function<void(void)> fn) { … } void SkTaskGroup::batch(int N, std::function<void(int)> fn) { … } bool SkTaskGroup::done() const { … } void SkTaskGroup::wait() { … } SkTaskGroup::Enabler::Enabler(int threads) { … }