8#ifndef skgpu_graphite_ProxyCache_DEFINED
9#define skgpu_graphite_ProxyCache_DEFINED
40 std::string_view label);
55 std::string_view label = {});
59#if defined(GRAPHITE_TEST_UTILS)
60 int numCached()
const;
62 void forceProcessInvalidKeyMsgs();
63 void forceFreeUniquelyHeld();
64 void forcePurgeProxiesNotUsedSince(skgpu::StdSteadyClock::time_point purgeTime);
70 void processInvalidKeyMsgs();
71 void freeUniquelyHeld();
72 void purgeProxiesNotUsedSince(
const skgpu::StdSteadyClock::time_point* purgeTime);
73 struct UniqueKeyHash {
int find(T *array, int N, T item)
SkBitmap(*)(BitmapGeneratorContext) BitmapGeneratorFn
sk_sp< TextureProxy > findOrCreateCachedProxy(Recorder *, const SkBitmap &, std::string_view label)
ProxyCache(uint32_t recorderID)
const void * BitmapGeneratorContext