Flutter Engine
The Flutter Engine
|
#include <UploadTask.h>
Public Member Functions | |
~ImageUploadContext () override | |
bool | needsUpload (Context *) override |
bool | uploadSubmitted () override |
Public Member Functions inherited from skgpu::graphite::ConditionalUploadContext | |
virtual | ~ConditionalUploadContext () |
virtual bool | needsUpload (Context *)=0 |
virtual bool | uploadSubmitted () |
ImageUploadContext is an implementation of ConditionalUploadContext that returns true on the first call to needsUpload() and then returns false on subsequent calls. This is used to upload an image once and then avoid redundant uploads after that.
Definition at line 55 of file UploadTask.h.
|
inlineoverride |
Definition at line 57 of file UploadTask.h.
|
inlineoverridevirtual |
Implements skgpu::graphite::ConditionalUploadContext.
Definition at line 60 of file UploadTask.h.
|
inlineoverridevirtual |
Reimplemented from skgpu::graphite::ConditionalUploadContext.
Definition at line 63 of file UploadTask.h.