8#ifndef skgpu_graphite_precompile_PrecompileBaseComplete_DEFINED
9#define skgpu_graphite_precompile_PrecompileBaseComplete_DEFINED
22 if (desiredOption < (option ? option->numCombinations() : 1)) {
23 return { option, desiredOption };
25 desiredOption -= option ? option->numCombinations() : 1;
27 return {
nullptr, 0 };
38 option->priv().addToKey(keyContext,
builder, gatherer, childOptions);
static void AddToKey(const KeyContext &, PaintParamsKeyBuilder *, PipelineDataGatherer *, SkSpan< const sk_sp< T > > options, int desiredOption)
static std::pair< sk_sp< T >, int > SelectOption(SkSpan< const sk_sp< T > > options, int desiredOption)