8#ifndef skgpu_graphite_GlobalCache_DEFINED
9#define skgpu_graphite_GlobalCache_DEFINED
22class GraphicsPipeline;
24class ShaderCodeDictionary;
53#if defined(GRAPHITE_TEST_UTILS)
54 int numGraphicsPipelines()
const SK_EXCLUDES(fSpinLock);
55 void resetGraphicsPipelines()
SK_EXCLUDES(fSpinLock);
56 void forEachGraphicsPipeline(
81 mutable SkSpinlock fSpinLock;
sk_sp< ComputePipeline > addComputePipeline(const UniqueKey &, sk_sp< ComputePipeline >) SK_EXCLUDES(fSpinLock)
sk_sp< ComputePipeline > findComputePipeline(const UniqueKey &) SK_EXCLUDES(fSpinLock)
void addStaticResource(sk_sp< Resource >) SK_EXCLUDES(fSpinLock)
sk_sp< GraphicsPipeline > addGraphicsPipeline(const UniqueKey &, sk_sp< GraphicsPipeline >) SK_EXCLUDES(fSpinLock)
sk_sp< GraphicsPipeline > findGraphicsPipeline(const UniqueKey &) SK_EXCLUDES(fSpinLock)
Dart_NativeFunction function