85 std::unique_ptr<Recording> snap();
103#ifdef SK_BUILD_FOR_ANDROID
106 bool isProtectedContent,
108 bool fromAndroidWindow =
false)
const;
174 void freeGpuResources();
181 void performDeferredCleanup(std::chrono::milliseconds msNotUsed);
187 size_t currentBudgetedBytes()
const;
192 size_t maxBudgetedBytes()
const;
211 SingleOwner* singleOwner()
const {
return &fSingleOwner; }
232 void deregisterDevice(
const Device*);
235 std::unique_ptr<ResourceProvider> fResourceProvider;
236 std::unique_ptr<RuntimeEffectDictionary> fRuntimeEffectDict;
239 std::unique_ptr<TaskList> fRootTaskList;
240 std::unique_ptr<UniformDataCache> fUniformDataCache;
241 std::unique_ptr<TextureDataCache> fTextureDataCache;
242 std::unique_ptr<DrawBufferManager> fDrawBufferManager;
243 std::unique_ptr<UploadBufferManager> fUploadBufferManager;
250 int fFlushingDevicesIndex = -1;
253 uint32_t fNextRecordingID = 1;
254 std::unique_ptr<AtlasProvider> fAtlasProvider;
255 std::unique_ptr<TokenTracker> fTokenTracker;
256 std::unique_ptr<sktext::gpu::StrikeCache> fStrikeCache;
257 std::unique_ptr<sktext::gpu::TextBlobRedrawCoordinator> fTextBlobCache;
266 std::unique_ptr<SkCanvas> fTargetProxyCanvas;
267 std::unique_ptr<Recording::LazyProxyData> fTargetProxyData;
271#if defined(GRAPHITE_TEST_UTILS)
FlPixelBufferTexturePrivate * priv