blob: 5e3861cde3bd2b076518d275aa9805519d6ad7b7 [file] [log] [blame]
/*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_graphite_PrecompileInternal_DEFINED
#define skgpu_graphite_PrecompileInternal_DEFINED
#include "include/gpu/graphite/GraphiteTypes.h"
namespace skgpu::graphite {
enum class Coverage;
class Context;
class KeyContext;
class PaintOptions;
struct RenderPassDesc;
// Create the Pipelines specified by the paint options by combining the shading portion w/ the
// specified 'drawTypes' and RenderPassDesc.
void PrecompileCombinations(Context*,
const PaintOptions&,
const KeyContext&,
DrawTypeFlags,
bool withPrimitiveBlender,
Coverage,
const RenderPassDesc&);
} // namespace skgpu::graphite
#endif // skgpu_graphite_PrecompileInternal_DEFINED