Flutter Engine
The Flutter Engine
|
#include <GrOnFlushResourceProvider.h>
Public Member Functions | |
virtual | ~GrOnFlushCallbackObject () |
virtual bool | preFlush (GrOnFlushResourceProvider *)=0 |
virtual void | postFlush (skgpu::AtlasToken startTokenForNextFlush) |
virtual bool | retainOnFreeGpuResources () |
Definition at line 23 of file GrOnFlushResourceProvider.h.
|
inlinevirtual |
Definition at line 25 of file GrOnFlushResourceProvider.h.
|
inlinevirtual |
Called once flushing is complete. startTokenForNextFlush can be used to track resources used in the current flush.
Reimplemented in skgpu::ganesh::SmallPathAtlasMgr, GrAtlasManager, and LazyProxyTest.
Definition at line 39 of file GrOnFlushResourceProvider.h.
|
pure virtual |
Implemented in skgpu::ganesh::SmallPathAtlasMgr, GrAtlasManager, and LazyProxyTest.
|
inlinevirtual |
Tells the callback owner to hold onto this object when freeing GPU resources.
Reimplemented in skgpu::ganesh::SmallPathAtlasMgr, and GrAtlasManager.
Definition at line 44 of file GrOnFlushResourceProvider.h.