Flutter Engine
The Flutter Engine
|
#include <GrDeferredUpload.h>
Public Member Functions | |
virtual | ~GrDeferredUploadTarget () |
virtual const skgpu::TokenTracker * | tokenTracker ()=0 |
virtual skgpu::AtlasToken | addInlineUpload (GrDeferredTextureUploadFn &&)=0 |
virtual skgpu::AtlasToken | addASAPUpload (GrDeferredTextureUploadFn &&upload)=0 |
An interface for scheduling deferred uploads. It accepts asap and deferred inline uploads.
Definition at line 56 of file GrDeferredUpload.h.
|
inlinevirtual |
Definition at line 58 of file GrDeferredUpload.h.
|
pure virtual |
Returns the token of the draw that this upload will occur before. Since ASAP uploads are done first during a flush, this will be the first token since the most recent flush.
Implemented in GrOpFlushState, and TestingUploadTarget.
|
pure virtual |
Returns the token of the draw that this upload will occur before.
Implemented in GrOpFlushState, and TestingUploadTarget.
|
pure virtual |
Implemented in GrOpFlushState, and TestingUploadTarget.