5#ifndef FLUTTER_RUNTIME_SKIA_CONCURRENT_EXECUTOR_H_
6#define FLUTTER_RUNTIME_SKIA_CONCURRENT_EXECUTOR_H_
8#include "flutter/fml/closure.h"
9#include "flutter/fml/macros.h"
An interface used by Skia to schedule work on engine managed threads (usually workers in a concurrent...
std::function< void(fml::closure work)> OnWorkCallback
void add(fml::closure work) override
SkiaConcurrentExecutor(const OnWorkCallback &on_work)
Create a new instance of the executor.
~SkiaConcurrentExecutor() override
Dart_NativeFunction function
std::function< void()> closure