Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GrOnFlushCallbackObject Class Referenceabstract

#include <GrOnFlushResourceProvider.h>

Inheritance diagram for GrOnFlushCallbackObject:
GrAtlasManager LazyProxyTest skgpu::ganesh::AtlasPathRenderer skgpu::ganesh::SmallPathAtlasMgr

Public Member Functions

virtual ~GrOnFlushCallbackObject ()
 
virtual bool preFlush (GrOnFlushResourceProvider *)=0
 
virtual void postFlush (skgpu::AtlasToken startTokenForNextFlush)
 
virtual bool retainOnFreeGpuResources ()
 

Detailed Description

Definition at line 23 of file GrOnFlushResourceProvider.h.

Constructor & Destructor Documentation

◆ ~GrOnFlushCallbackObject()

virtual GrOnFlushCallbackObject::~GrOnFlushCallbackObject ( )
inlinevirtual

Definition at line 25 of file GrOnFlushResourceProvider.h.

25{}

Member Function Documentation

◆ postFlush()

virtual void GrOnFlushCallbackObject::postFlush ( skgpu::AtlasToken  startTokenForNextFlush)
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.

39{}

◆ preFlush()

virtual bool GrOnFlushCallbackObject::preFlush ( GrOnFlushResourceProvider )
pure virtual

◆ retainOnFreeGpuResources()

virtual bool GrOnFlushCallbackObject::retainOnFreeGpuResources ( )
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.

44{ return false; }

The documentation for this class was generated from the following file: