Flutter Engine
The Flutter Engine
|
#include <AtlasTypes.h>
Public Member Functions | |
AtlasToken | nextFlushToken () const |
AtlasToken | nextDrawToken () const |
Friends | |
class | ::GrOpFlushState |
class | ::TestingUploadTarget |
class | skgpu::graphite::RecorderPriv |
The TokenTracker encapsulates the incrementing and distribution of AtlasTokens.
Definition at line 201 of file AtlasTypes.h.
|
inline |
Gets the next draw token. This can be used to record that the next draw issued will use a resource (e.g. texture) while preparing that draw. Not used by Graphite.
Definition at line 214 of file AtlasTypes.h.
|
inline |
Gets the token one beyond the last token that has been flushed, either in GrDrawingManager::flush() or Device::flushPendingWorkToRecorder()
Definition at line 207 of file AtlasTypes.h.
|
friend |
Definition at line 218 of file AtlasTypes.h.
|
friend |
Definition at line 219 of file AtlasTypes.h.
|
friend |
Definition at line 220 of file AtlasTypes.h.